guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/14: gnu: python-rdflib: Use PYPI-URI.


From: guix-commits
Subject: 07/14: gnu: python-rdflib: Use PYPI-URI.
Date: Fri, 25 Jan 2019 08:02:34 -0500 (EST)

rekado pushed a commit to branch master
in repository guix.

commit 4255818d1c3993988b3351d57db6e057a867f549
Author: Ricardo Wurmus <address@hidden>
Date:   Fri Jan 25 13:36:14 2019 +0100

    gnu: python-rdflib: Use PYPI-URI.
    
    * gnu/packages/rdf.scm (python-rdflib)[source]: Use PYPI-URI.
    [arguments]: Use INVOKE in commented build phase.
---
 gnu/packages/rdf.scm | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index 7fd893c..4a3efd8 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -304,13 +304,10 @@ 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"))))
+         (base32
+          "0398c714znnhaa2x7v51b269hk20iz073knq2mvmqp2ma92z27fs"))))
     (build-system python-build-system)
     (arguments
      '(;; FIXME: Three test failures. Should be fixed next release.
@@ -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,13 +326,12 @@ 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.")
     (license (non-copyleft "file://LICENSE"
-                        "See LICENSE in the distribution."))))
+                           "See LICENSE in the distribution."))))
 
 (define-public python2-rdflib
   (package-with-python2 python-rdflib))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]