gnu: python-trytond-country: Update to 5.6.0.
* gnu/packages/tryton.scm (python-trytond-country): Update to 5.6.0. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>master
parent
a5bdb72d69
commit
106dd72bc5
|
@ -34,6 +34,7 @@
|
||||||
#:use-module (gnu packages xml)
|
#:use-module (gnu packages xml)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
#:use-module (guix utils)
|
||||||
#:use-module (guix build-system python))
|
#:use-module (guix build-system python))
|
||||||
|
|
||||||
(define-public python-trytond
|
(define-public python-trytond
|
||||||
|
@ -120,37 +121,50 @@ and security.")
|
||||||
|
|
||||||
(define-public python-trytond-country
|
(define-public python-trytond-country
|
||||||
(package
|
(package
|
||||||
(name "python-trytond-country")
|
(name "python-trytond-country")
|
||||||
(version "4.6.0")
|
(version "5.6.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "trytond_country" version))
|
(uri (pypi-uri "trytond_country" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32 "0k1xw5r2pfd5mvvg3pn3vavwjwpgmm5i6nsc8x421znk4gvvns78"))))
|
||||||
"11c9mw2scbjn7c6yhlwh5ml266f0s31lh4jwj6gh7vl1shs3isr3"))))
|
(build-system python-build-system)
|
||||||
(build-system python-build-system)
|
(arguments
|
||||||
(arguments
|
`(#:phases
|
||||||
`(#:phases
|
(modify-phases %standard-phases
|
||||||
(modify-phases %standard-phases
|
(replace 'check
|
||||||
(add-before 'check 'preparations
|
(let ((runtest
|
||||||
(lambda _
|
(string-append
|
||||||
(setenv "DB_NAME" ":memory:")
|
(assoc-ref %build-inputs "python-trytond")
|
||||||
#t)))))
|
"/lib/python"
|
||||||
(propagated-inputs
|
,(version-major+minor (package-version python))
|
||||||
`(("python-trytond" ,python-trytond)
|
"/site-packages/trytond/tests/run-tests.py")))
|
||||||
("python-wrapt" ,python-wrapt)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
("python-werkzeug" ,python-werkzeug)
|
(add-installed-pythonpath inputs outputs)
|
||||||
("python-sql" ,python-sql)
|
;; Doctest contains one test that requires internet access.
|
||||||
("python-polib" ,python-polib)
|
(invoke "python" runtest "-m" "country" "--no-doctest")))))))
|
||||||
("python-dateutil" ,python-dateutil)
|
(native-inputs
|
||||||
("python-genshi" ,python-genshi)
|
`(("python" ,python)
|
||||||
("python-relatorio" ,python-relatorio)
|
("python-dateutil" ,python-dateutil)
|
||||||
("python-magic" ,python-magic)))
|
("python-genshi" ,python-genshi)
|
||||||
(home-page "http://www.tryton.org/")
|
("python-lxml" ,python-lxml)
|
||||||
(synopsis "Tryton module with countries")
|
("python-magic" ,python-magic)
|
||||||
(description "This package provides a Tryton module with countries.")
|
("python-passlib" ,python-passlib)
|
||||||
(license license:gpl3+)))
|
("python-polib" ,python-polib)
|
||||||
|
("python-proteus" ,python-proteus)
|
||||||
|
("python-relatorio" ,python-relatorio)
|
||||||
|
("python-sql" ,python-sql)
|
||||||
|
("python-werkzeug" ,python-werkzeug)
|
||||||
|
("python-wrapt" ,python-wrapt)))
|
||||||
|
(propagated-inputs
|
||||||
|
`(("python-pycountry" ,python-pycountry)
|
||||||
|
("python-trytond" ,python-trytond)))
|
||||||
|
(home-page "http://www.tryton.org/")
|
||||||
|
(synopsis "Tryton module with countries")
|
||||||
|
(description
|
||||||
|
"This package provides a Tryton module with countries.")
|
||||||
|
(license license:gpl3+)))
|
||||||
|
|
||||||
(define-public python-trytond-party
|
(define-public python-trytond-party
|
||||||
(package
|
(package
|
||||||
|
|
Reference in New Issue