gnu: python-trytond-party: Update to 5.6.0.
* gnu/packages/tryton.scm (python-trytond-party): Update to 5.6.0. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>master
parent
106dd72bc5
commit
cb4ebb7f04
|
@ -169,35 +169,47 @@ and security.")
|
||||||
(define-public python-trytond-party
|
(define-public python-trytond-party
|
||||||
(package
|
(package
|
||||||
(name "python-trytond-party")
|
(name "python-trytond-party")
|
||||||
(version "4.6.0")
|
(version "5.6.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "trytond_party" version))
|
(uri (pypi-uri "trytond_party" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0wh7g1g67g4vwxm797ra6fkfvmd3w77vl7nxj76y856cy217gbzp"))))
|
||||||
"0fbf4kxywiglcdsx9ppjg7nxw87915mb6bpn1jn652gk949rdww5"))))
|
|
||||||
(build-system python-build-system)
|
(build-system python-build-system)
|
||||||
;; XXX The tests seem to require Proteus. But Proteus tests seem to
|
|
||||||
;; require trytond-party.
|
|
||||||
(arguments
|
(arguments
|
||||||
'(#:tests? #f))
|
`(#:phases
|
||||||
(propagated-inputs
|
(modify-phases %standard-phases
|
||||||
`(("python-trytond" ,python-trytond)
|
(replace 'check
|
||||||
("python-trytond-country" ,python-trytond-country)
|
(let ((runtest
|
||||||
("python-stdnum" ,python-stdnum)
|
(string-append
|
||||||
("python-sql" ,python-sql)
|
(assoc-ref %build-inputs "python-trytond")
|
||||||
("python-wrapt" ,python-wrapt)
|
"/lib/python"
|
||||||
("python-werkzeug" ,python-werkzeug)
|
,(version-major+minor (package-version python))
|
||||||
("python-polib" ,python-polib)
|
"/site-packages/trytond/tests/run-tests.py")))
|
||||||
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
|
(add-installed-pythonpath inputs outputs)
|
||||||
|
;; Doctest 'scenario_party_phone_number.rst' fails.
|
||||||
|
(invoke "python" runtest "-m" "party" "--no-doctest")))))))
|
||||||
|
(native-inputs
|
||||||
|
`(("python" ,python-minimal-wrapper)
|
||||||
("python-dateutil" ,python-dateutil)
|
("python-dateutil" ,python-dateutil)
|
||||||
("python-genshi" ,python-genshi)
|
("python-genshi" ,python-genshi)
|
||||||
("python-relatorio" ,python-relatorio)
|
("python-lxml" ,python-lxml)
|
||||||
("python-magic" ,python-magic)
|
("python-magic" ,python-magic)
|
||||||
("python-phonenumbers" ,python-phonenumbers)))
|
("python-passlib" ,python-passlib)
|
||||||
(home-page "http://www.tryton.org/")
|
("python-polib" ,python-polib)
|
||||||
(synopsis
|
("python-proteus" ,python-proteus)
|
||||||
"Tryton module for parties and addresses")
|
("python-relatorio" ,python-relatorio)
|
||||||
|
("python-werkzeug" ,python-werkzeug)
|
||||||
|
("python-wrapt" ,python-wrapt)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("python-sql" ,python-sql)
|
||||||
|
("python-stnum" ,python-stdnum)
|
||||||
|
("python-trytond" ,python-trytond)
|
||||||
|
("python-trytond-country" ,python-trytond-country)))
|
||||||
|
(home-page "https://www.tryton.org/")
|
||||||
|
(synopsis "Tryton module for parties and addresses")
|
||||||
(description
|
(description
|
||||||
"This package provides a Tryton module for (counter)parties and
|
"This package provides a Tryton module for (counter)parties and
|
||||||
addresses.")
|
addresses.")
|
||||||
|
|
Reference in New Issue