mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: python-prov: Use python-rdflib@6.
* gnu/packages/python-xyz.scm (python-prov)[arguments]: Add fix-rdflib-6-compatibility phase. [propagated-inputs]: Replace python-rdflib-5 with python-rdflib. Change-Id: I07de032e1b5e9b6e045904e3f6880b1acc6a9075 Signed-off-by: Arun Isaac <arunisaac@systemreboot.net>
This commit is contained in:
parent
e85fbe1097
commit
b7ecce89bd
1 changed files with 11 additions and 1 deletions
|
@ -23984,8 +23984,18 @@ (define-public python-prov
|
|||
(base32
|
||||
"1vi2fj31vygfcqrkimdmk52q2ldw08g9fn4v4zlgdfgcjlhqyhxn"))))
|
||||
(build-system python-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-rdflib-6-compatibility
|
||||
(lambda _
|
||||
;; See https://github.com/trungdong/prov/issues/151
|
||||
(substitute* "src/prov/tests/test_rdf.py"
|
||||
(("\\.serialize\\(format=\"nt\"\\)")
|
||||
".serialize(format=\"nt\", encoding=\"utf-8\")")))))))
|
||||
(propagated-inputs
|
||||
(list python-dateutil python-lxml python-networkx python-rdflib-5))
|
||||
(list python-dateutil python-lxml python-networkx python-rdflib))
|
||||
(native-inputs
|
||||
(list graphviz python-pydot))
|
||||
(home-page "https://github.com/trungdong/prov")
|
||||
|
|
Loading…
Reference in a new issue