gnu: python-rdflib: Use PYPI-URI.

* gnu/packages/rdf.scm (python-rdflib)[source]: Use PYPI-URI.
[arguments]: Use INVOKE in commented build phase.
This commit is contained in:
Ricardo Wurmus 2019-01-25 13:36:14 +01:00
parent 48b11025b7
commit 4255818d1c
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -304,13 +304,10 @@ (define-public python-rdflib
(source (source
(origin (origin
(method url-fetch) (method url-fetch)
(uri (string-append (uri (pypi-uri "rdflib" version))
"https://pypi.python.org/packages/source/r/rdflib/rdflib-"
version
".tar.gz"))
(sha256 (sha256
(base32 (base32
"0398c714znnhaa2x7v51b269hk20iz073knq2mvmqp2ma92z27fs")))) "0398c714znnhaa2x7v51b269hk20iz073knq2mvmqp2ma92z27fs"))))
(build-system python-build-system) (build-system python-build-system)
(arguments (arguments
'(;; FIXME: Three test failures. Should be fixed next release. '(;; FIXME: Three test failures. Should be fixed next release.
@ -321,7 +318,7 @@ (define-public python-rdflib
;; (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"))))))) ;; (invoke "nosetests" "--where=./build/src"))))))
(native-inputs (native-inputs
`(("python-nose" ,python-nose))) `(("python-nose" ,python-nose)))
(propagated-inputs (propagated-inputs
@ -329,13 +326,12 @@ (define-public python-rdflib
("python-isodate" ,python-isodate) ("python-isodate" ,python-isodate)
("python-pyparsing" ,python-pyparsing))) ("python-pyparsing" ,python-pyparsing)))
(home-page "https://github.com/RDFLib/rdflib") (home-page "https://github.com/RDFLib/rdflib")
(synopsis (synopsis "Python RDF library")
"Python RDF library")
(description (description
"RDFLib is a Python library for working with RDF, a simple yet "RDFLib is a Python library for working with RDF, a simple yet
powerful language for representing information.") powerful language for representing information.")
(license (non-copyleft "file://LICENSE" (license (non-copyleft "file://LICENSE"
"See LICENSE in the distribution.")))) "See LICENSE in the distribution."))))
(define-public python2-rdflib (define-public python2-rdflib
(package-with-python2 python-rdflib)) (package-with-python2 python-rdflib))