me
/
guix
Archived
1
0
Fork 0

gnu: python-rdflib: Update to 4.2.2.

* gnu/packages/rdf.scm (python-rdflib): Update to 4.2.2.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Pjotr Prins 2018-12-18 11:16:52 +00:00 committed by Ludovic Courtès
parent bdc61ff97d
commit aba368192a
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 7 deletions

View File

@ -299,7 +299,7 @@ ideal (e.g. in LV2 implementations or embedded applications).")
(define-public python-rdflib (define-public python-rdflib
(package (package
(name "python-rdflib") (name "python-rdflib")
(version "4.1.2") (version "4.2.2")
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
@ -307,15 +307,12 @@ ideal (e.g. in LV2 implementations or embedded applications).")
"https://pypi.python.org/packages/source/r/rdflib/rdflib-" "https://pypi.python.org/packages/source/r/rdflib/rdflib-"
version version
".tar.gz")) ".tar.gz"))
(patches
;; The patch has no effect under Python 3.
(search-patches "python2-rdflib-drop-sparqlwrapper.patch"))
(sha256 (sha256
(base32 (base32
"0kvaf332cqbi47rqzlpdx4mbkvw12mkrzkj8n9l19wk713d4py9w")))) "0398c714znnhaa2x7v51b269hk20iz073knq2mvmqp2ma92z27fs"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(;; FIXME: Three test failures. Try uncommenting the below next update. '(;; FIXME: Three test failures. Should be fixed next release.
#:tests? #f)) #:tests? #f))
;; #:phases ;; #:phases
;; (modify-phases %standard-phases ;; (modify-phases %standard-phases
@ -323,7 +320,7 @@ ideal (e.g. in LV2 implementations or embedded applications).")
;; (lambda _ ;; (lambda _
;; ;; Run tests from the build directory so python3 only ;; ;; Run tests from the build directory so python3 only
;; ;; sees the installed 2to3 version. ;; ;; sees the installed 2to3 version.
;; (zero? (system* "nosetests" "--where=./build/src"))))) ;; (zero? (system* "nosetests" "--where=./build/src")))))))
(native-inputs (native-inputs
`(("python-nose" ,python-nose))) `(("python-nose" ,python-nose)))
(propagated-inputs (propagated-inputs