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,10 +304,7 @@ ideal (e.g. in LV2 implementations or embedded applications).")
(source
(origin
(method url-fetch)
(uri (string-append
"https://pypi.python.org/packages/source/r/rdflib/rdflib-"
version
".tar.gz"))
(uri (pypi-uri "rdflib" version))
(sha256
(base32
"0398c714znnhaa2x7v51b269hk20iz073knq2mvmqp2ma92z27fs"))))
@ -321,7 +318,7 @@ ideal (e.g. in LV2 implementations or embedded applications).")
;; (lambda _
;; ;; Run tests from the build directory so python3 only
;; ;; sees the installed 2to3 version.
;; (zero? (system* "nosetests" "--where=./build/src")))))))
;; (invoke "nosetests" "--where=./build/src"))))))
(native-inputs
`(("python-nose" ,python-nose)))
(propagated-inputs
@ -329,8 +326,7 @@ ideal (e.g. in LV2 implementations or embedded applications).")
("python-isodate" ,python-isodate)
("python-pyparsing" ,python-pyparsing)))
(home-page "https://github.com/RDFLib/rdflib")
(synopsis
"Python RDF library")
(synopsis "Python RDF library")
(description
"RDFLib is a Python library for working with RDF, a simple yet
powerful language for representing information.")