all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#33789] [PATCH] gnu: python-rdflib: Update to 4.2.2.
@ 2018-12-18 12:02 Pjotr Prins
  2018-12-18 15:04 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Pjotr Prins @ 2018-12-18 12:02 UTC (permalink / raw)
  To: 33789; +Cc: Pjotr Prins

From: Pjotr Prins <pjotr.public01@thebird.nl>

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

diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index 22ea21dd9..720c50362 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)
@@ -308,14 +308,15 @@ ideal (e.g. in LV2 implementations or embedded applications).")
               version
               ".tar.gz"))
         (patches
-          ;; The patch has no effect under Python 3.
+          ;; The patch has no effect under Python 3. Note the
+          ;; dependency has been removed on trunk
           (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 +324,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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#33789] [PATCH] gnu: python-rdflib: Update to 4.2.2.
  2018-12-18 12:02 [bug#33789] [PATCH] gnu: python-rdflib: Update to 4.2.2 Pjotr Prins
@ 2018-12-18 15:04 ` Ludovic Courtès
  2018-12-18 15:31   ` Pjotr Prins
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2018-12-18 15:04 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: Pjotr Prins, 33789

Hi Pjotr,

Pjotr Prins <pjotr.public12@thebird.nl> skribis:

> From: Pjotr Prins <pjotr.public01@thebird.nl>
>
> * gnu/packages/rdf.scm (python-rdflib): Update to 4.2.2.

Looks like the patch that appears in the ‘origin’ no longer applies:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build python{,2}-rdflib --substitute-urls=https://berlin.guixsd.org --no-build-hook
building /gnu/store/813y7l90ys3wslqnm6rkdp6y38isikfy-python2-isodate-0.5.4.drv...

[…]

patching file setup.py
Hunk #1 FAILED at 52.
1 out of 1 hunk FAILED -- saving rejects to file setup.py.rej

[…]

builder for `/gnu/store/5p5zibpvahw5ps45zw1115ir063kqhxp-rdflib-4.2.2.tar.xz.drv' failed with exit code 1
build of /gnu/store/5p5zibpvahw5ps45zw1115ir063kqhxp-rdflib-4.2.2.tar.xz.drv failed
--8<---------------cut here---------------end--------------->8---

Could you send an updated patch?

Thank you!

Ludo’.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#33789] [PATCH] gnu: python-rdflib: Update to 4.2.2.
  2018-12-18 15:04 ` Ludovic Courtès
@ 2018-12-18 15:31   ` Pjotr Prins
  2018-12-19 17:00     ` Pjotr Prins
  2018-12-21 16:48     ` bug#33789: " Ludovic Courtès
  0 siblings, 2 replies; 5+ messages in thread
From: Pjotr Prins @ 2018-12-18 15:31 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: Pjotr Prins, 33789

[-- Attachment #1: Type: text/plain, Size: 201 bytes --]

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.


[-- Attachment #2: 0001-gnu-python-rdflib-Update-to-4.2.2.patch --]
[-- Type: text/x-diff, Size: 2057 bytes --]

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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#33789] [PATCH] gnu: python-rdflib: Update to 4.2.2.
  2018-12-18 15:31   ` Pjotr Prins
@ 2018-12-19 17:00     ` Pjotr Prins
  2018-12-21 16:48     ` bug#33789: " Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Pjotr Prins @ 2018-12-19 17:00 UTC (permalink / raw)
  To: 33789


I have tested python-rdflib and python2-rdflib with above patch. Should
be OK.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#33789: [PATCH] gnu: python-rdflib: Update to 4.2.2.
  2018-12-18 15:31   ` Pjotr Prins
  2018-12-19 17:00     ` Pjotr Prins
@ 2018-12-21 16:48     ` Ludovic Courtès
  1 sibling, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2018-12-21 16:48 UTC (permalink / raw)
  To: Pjotr Prins; +Cc: 33789-done, Pjotr Prins

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'.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-12-21 16:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-18 12:02 [bug#33789] [PATCH] gnu: python-rdflib: Update to 4.2.2 Pjotr Prins
2018-12-18 15:04 ` Ludovic Courtès
2018-12-18 15:31   ` Pjotr Prins
2018-12-19 17:00     ` Pjotr Prins
2018-12-21 16:48     ` bug#33789: " Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.