1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-08-02 17:41:30 +02:00

gnu: trytond-account-fr: Update to 7.0.0 and switch to pyproject.

* gnu/packages/tryton.scm(trytond-account-fr): Update to 7.0.0.
[build-system] Switch to pyproject-build-system.
[arguments][phases][check]: Use unittest for testing.

Change-Id: Ia796a0475142a82d263b843e31defd4793ae24f2
This commit is contained in:
Hartmut Goebel
2025-09-26 12:08:14 +02:00
parent e97dfc4614
commit ee6cd9eeae
+13 -5
View File
@@ -615,16 +615,24 @@ accounting requirements in Europe. It includes:
(define-public trytond-account-fr
(package
(name "trytond-account-fr")
(version "6.2.0")
(version "7.0.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "trytond_account_fr" version))
(sha256
(base32 "18wmijaxah125skhgpqc7iaw6a8md5mpv7m5yazcrscx9pk1z5jz"))))
(build-system python-build-system)
(arguments (tryton-arguments "account_fr"))
(native-inputs (%standard-trytond-native-inputs))
(base32 "0cigsrh2d2bj9h87lxmi8hancghwhxs3mam581knygi8r4n1c7aj"))))
(build-system pyproject-build-system)
(arguments
(list
#:phases
#~(modify-phases #$(tryton-phases "account_fr")
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
;; doctests uses '__file__' which is unset in pytest
(invoke "python" "-m" "unittest" "discover")))))))
(native-inputs %standard-trytond-native-inputs)
(propagated-inputs
(list trytond trytond-account trytond-party-siret))
(home-page "https://docs.tryton.org/projects/modules-account-fr")