mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Update python-rdflib to 7.0.0.
* gnu/packages/rdf.scm: Add updated recipe for python-rdflib; Keep python-rdflib-6 for compatibility. * gnu/packages/python-xyz.scm: Build python-prov with python-rdflib-6 because rdflib-7 is not supported. * gnu/packages/bioinformatics.scm: Build cwltool with python-rdflib-6 because it fails to build with rdflib-7. Change-Id: Ibc40c16ede20e69e702915488d6b2f0a7e70b868
This commit is contained in:
parent
2bd04883ed
commit
d057d59170
3 changed files with 45 additions and 2 deletions
|
@ -5786,7 +5786,7 @@ documents.")
|
||||||
python-prov
|
python-prov
|
||||||
python-pydot
|
python-pydot
|
||||||
python-psutil
|
python-psutil
|
||||||
python-rdflib
|
python-rdflib-6
|
||||||
python-requests
|
python-requests
|
||||||
python-ruamel.yaml
|
python-ruamel.yaml
|
||||||
python-schema-salad
|
python-schema-salad
|
||||||
|
|
|
@ -25010,7 +25010,7 @@ manipulation, or @code{stdout}.")
|
||||||
(("\\.serialize\\(format=\"nt\"\\)")
|
(("\\.serialize\\(format=\"nt\"\\)")
|
||||||
".serialize(format=\"nt\", encoding=\"utf-8\")")))))))
|
".serialize(format=\"nt\", encoding=\"utf-8\")")))))))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list python-dateutil python-lxml python-networkx python-rdflib))
|
(list python-dateutil python-lxml python-networkx python-rdflib-6))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list graphviz python-pydot))
|
(list graphviz python-pydot))
|
||||||
(home-page "https://github.com/trungdong/prov")
|
(home-page "https://github.com/trungdong/prov")
|
||||||
|
|
|
@ -328,6 +328,49 @@ ideal (e.g. in LV2 implementations or embedded applications).")
|
||||||
(license license:isc)))
|
(license license:isc)))
|
||||||
|
|
||||||
(define-public python-rdflib
|
(define-public python-rdflib
|
||||||
|
(package
|
||||||
|
(name "python-rdflib")
|
||||||
|
(version "7.0.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (pypi-uri "rdflib" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1blmx4v003afr3l9qg84ymj0sldcbsr2dzdgq6w5k022d62yp5cr"))))
|
||||||
|
(build-system pyproject-build-system)
|
||||||
|
(arguments
|
||||||
|
'(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'adjust-tests
|
||||||
|
(lambda _
|
||||||
|
(for-each delete-file
|
||||||
|
'(;; The tests in this file miss a test fixture.
|
||||||
|
;; fixture 'no_cover' not found
|
||||||
|
"test/test_misc/test_plugins.py"
|
||||||
|
;; These tests need internet access.
|
||||||
|
"test/jsonld/test_onedotone.py"
|
||||||
|
"test/test_examples.py"
|
||||||
|
"test/test_extras/test_infixowl/test_basic.py"
|
||||||
|
"test/test_extras/test_infixowl/test_context.py"
|
||||||
|
"test/test_sparql/test_service.py"))))
|
||||||
|
(replace 'check
|
||||||
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
|
(when tests?
|
||||||
|
(invoke "pytest" "-vv" "test/")))))))
|
||||||
|
(native-inputs
|
||||||
|
(list python-pytest python-poetry-core))
|
||||||
|
(propagated-inputs
|
||||||
|
(list python-html5lib python-isodate python-pyparsing))
|
||||||
|
(home-page "https://github.com/RDFLib/rdflib")
|
||||||
|
(synopsis "Python RDF library")
|
||||||
|
(description
|
||||||
|
"RDFLib is a Python library for working with RDF, a simple yet
|
||||||
|
powerful language for representing information.")
|
||||||
|
(license (license:non-copyleft "file://LICENSE"
|
||||||
|
"See LICENSE in the distribution."))))
|
||||||
|
|
||||||
|
(define-public python-rdflib-6
|
||||||
(package
|
(package
|
||||||
(name "python-rdflib")
|
(name "python-rdflib")
|
||||||
(version "6.1.1")
|
(version "6.1.1")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue