From 9574c5d30e2bb30e2df64ac86d08377bb92bb5b2 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 26 Sep 2025 12:43:43 +0200 Subject: [PATCH] gnu: trytond-currency: Update to 7.0.1 and switch to pyproject. * gnu/packages/tryton.scm(trytond-currency): Update to 7.0.1. [build-system] Switch to pyproject-build-system. [arguments]: No longer disable doc-tests. Disable tests requiring network. [native-inputs]: Remove python-forex-python. [propagated-inputs]: Remove python-sql. Change-Id: I02750831d31a8b3e9c06b8b9c2264aa91dbdea45 --- gnu/packages/tryton.scm | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 65df19cbc492fe9d19aa2557f22d8cb037c6bbec..7b4d339416a891e291e89775569e7f978ac299c1 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -1856,22 +1856,22 @@ month and a year of work.") (define-public trytond-currency (package (name "trytond-currency") - (version "6.2.0") + (version "7.0.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_currency" version)) (sha256 - (base32 "1sx9wanb4r95gs5hsl6hgy0gcvsfh0yr17rnhaa908286f88wa4f")))) - (build-system python-build-system) - ;; Doctest 'scenario_currency_rate_update.rst' fails. - (arguments (tryton-arguments "currency" "--no-doctest")) + (base32 "1gw82jfvlnbyr3wkh5r8gsd7b7m3jz0szvqqd9fccm1yb229k91w")))) + (build-system pyproject-build-system) + ;; Quite some tests require network access. + (arguments (tryton-arguments "currency" + "-k not (scenario_currency_rate_update.rst or ECBtestCase)")) (native-inputs - `(,@(%standard-trytond-native-inputs) - ("python-forex-python" ,python-forex-python) - ("python-pycountry" ,python-pycountry))) + (cons* python-pycountry + %standard-trytond-native-inputs)) (propagated-inputs - (list python-sql trytond)) + (list trytond)) (home-page "https://www.tryton.org/") (synopsis "Tryton module with currencies") (description