[bug#33789] gnu: python-rdflib: Update to 4.2.2.

Message ID 20181218153139.zvomyke5tnlqzzoa@thebird.nl
State Accepted
Headers show
Series [bug#33789] gnu: python-rdflib: Update to 4.2.2. | expand

Checks

Context Check Description
cbaines/applying patch fail Apply failed

Commit Message

Pjotr Prins Dec. 18, 2018, 3:31 p.m. UTC
On Tue, Dec 18, 2018 at 04:04:06PM +0100, Ludovic Courtès wrote:
> Looks like the patch that appears in the ‘origin’ no longer applies:

My bad. I am building on different machines...

Attached.

Comments

Pjotr Prins Dec. 19, 2018, 5 p.m. UTC | #1
I have tested python-rdflib and python2-rdflib with above patch. Should
be OK.
Ludovic Courtès Dec. 21, 2018, 4:48 p.m. UTC | #2
Pjotr Prins <pjotr.public12@thebird.nl> skribis:

>>From 35f5245e7519952c1cdb9561bf00c40482d01ad5 Mon Sep 17 00:00:00 2001
> From: Pjotr Prins <pjotr.public01@thebird.nl>
> Date: Tue, 18 Dec 2018 11:16:52 +0000
> Subject: [PATCH] gnu: python-rdflib: Update to 4.2.2.
>
> * gnu/packages/rdf.scm (python-rdflib): Update to 4.2.2.

Applied, thanks!

Ludo'.

Patch

From 35f5245e7519952c1cdb9561bf00c40482d01ad5 Mon Sep 17 00:00:00 2001
From: Pjotr Prins <pjotr.public01@thebird.nl>
Date: Tue, 18 Dec 2018 11:16:52 +0000
Subject: [PATCH] gnu: python-rdflib: Update to 4.2.2.

* gnu/packages/rdf.scm (python-rdflib): Update to 4.2.2.
---
 gnu/packages/rdf.scm | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index 22ea21dd9..1c045b6ec 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -299,7 +299,7 @@  ideal (e.g. in LV2 implementations or embedded applications).")
 (define-public python-rdflib
   (package
     (name "python-rdflib")
-    (version "4.1.2")
+    (version "4.2.2")
     (source
       (origin
         (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-"
               version
               ".tar.gz"))
-        (patches
-          ;; The patch has no effect under Python 3.
-          (search-patches "python2-rdflib-drop-sparqlwrapper.patch"))
         (sha256
           (base32
-            "0kvaf332cqbi47rqzlpdx4mbkvw12mkrzkj8n9l19wk713d4py9w"))))
+            "0398c714znnhaa2x7v51b269hk20iz073knq2mvmqp2ma92z27fs"))))
     (build-system python-build-system)
     (arguments
-     '(;; FIXME: Three test failures. Try uncommenting the below next update.
+     '(;; FIXME: Three test failures. Should be fixed next release.
        #:tests? #f))
        ;; #:phases
        ;; (modify-phases %standard-phases
@@ -323,7 +320,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")))))
+       ;;       (zero? (system* "nosetests" "--where=./build/src")))))))
     (native-inputs
      `(("python-nose" ,python-nose)))
     (propagated-inputs
-- 
2.13.3