mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: python-rdflib: Update to 7.1.1.
* gnu/packages/rdf.scm (python-rdflib): Update to 7.1.1. [arguments]: Use #:test-flags; remove custom build phases. [native-inputs]: Add python-pytest-cov. [propagated-inputs]: Add python-lxml, python-networkx, and python-orjson; remove python-html5lib. Change-Id: If1a10cb359be8e838963edf72c7d1a5ee08b396a
This commit is contained in:
parent
15c657f80a
commit
f98d43fdf7
1 changed files with 13 additions and 22 deletions
|
@ -330,38 +330,29 @@ (define-public sord
|
|||
(define-public python-rdflib
|
||||
(package
|
||||
(name "python-rdflib")
|
||||
(version "7.0.0")
|
||||
(version "7.1.1")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "rdflib" version))
|
||||
(sha256
|
||||
(base32
|
||||
"1blmx4v003afr3l9qg84ymj0sldcbsr2dzdgq6w5k022d62yp5cr"))))
|
||||
"0glin9v600gmaa0pm8f742ja390ncr7xi0x95j05hiansdmyhk8n"))))
|
||||
(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/")))))))
|
||||
(list
|
||||
#:test-flags
|
||||
'(list "-m" "not webtest"
|
||||
;; These two tests attempt to use "pip install"
|
||||
"-k" "not test_sparqleval and not test_parser")))
|
||||
(native-inputs
|
||||
(list python-pytest python-poetry-core))
|
||||
(list python-pytest python-pytest-cov python-poetry-core))
|
||||
(propagated-inputs
|
||||
(list python-html5lib python-isodate python-pyparsing))
|
||||
(list python-isodate
|
||||
python-lxml
|
||||
python-networkx
|
||||
python-orjson
|
||||
python-pyparsing))
|
||||
(home-page "https://github.com/RDFLib/rdflib")
|
||||
(synopsis "Python RDF library")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue