guix-commits
[Top][All Lists]
Advanced

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

82/187: gnu: python-rdflib-6: Accept newer isodate.


From: guix-commits
Subject: 82/187: gnu: python-rdflib-6: Accept newer isodate.
Date: Wed, 8 Jan 2025 10:15:49 -0500 (EST)

rekado pushed a commit to branch python-team
in repository guix.

commit 5826fa7c17e24d5242e8cbf1a09c03c3a143ca0b
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Dec 27 22:19:06 2024 +0100

    gnu: python-rdflib-6: Accept newer isodate.
    
    * gnu/packages/rdf.scm (python-rdflib-6)[arguments]: Add phase 
'compatibility.
    
    Change-Id: I4b4c880b169c6606707c1e973af9488c07d18992
---
 gnu/packages/rdf.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rdf.scm b/gnu/packages/rdf.scm
index c446b099ea..58a485553e 100644
--- a/gnu/packages/rdf.scm
+++ b/gnu/packages/rdf.scm
@@ -390,7 +390,16 @@ powerful language for representing information.")
              "--ignore=rdflib/__init__.py"
              "--ignore=test/test_misc/test_parse_file_guess_format.py"
              ;; Exceeds maximum recursion depth
-             "-k" "not test_literal_addsub")))
+             "-k" "not test_literal_addsub")
+      #:phases
+      '(modify-phases %standard-phases
+         (add-after 'unpack 'compatibility
+           (lambda _
+             (substitute* "pyproject.toml"
+               (("^isodate = .*") "isodate = \">0.6.0\"\n"))
+             (substitute* "PKG-INFO"
+               (("^Requires-Dist: isodate .*")
+                "Requires-Dist: isodate (>=0.6.0)\n")))))))
     (native-inputs
      (list python-poetry-core python-pytest python-pytest-cov))
     (propagated-inputs



reply via email to

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