From 7fd06097cea8fac34ee1fa437a5679b2d025436d Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 26 Sep 2025 10:46:25 +0200 Subject: [PATCH] gnu: %standard-trytond-native-inputs: Convert to list and update. Convert to a list to be used in g-expressions and update to be used by pyproject-build-system. * gnu/packages/tryton.scm(%standard-trytond-native-inputs): Convert to a list. Add python-pytest and python-setuptools. gnu: %standard-trytond-native-inputs: --- gnu/packages/tryton.scm | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 7f7086414b244cd51fa284319a87d0cfe5020aeb..23607c05fd9f669e133f70ed5ec87ba62624129b 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -209,19 +209,23 @@ the build system." ;;; Tryton modules - please sort alphabetically ;;; -(define (%standard-trytond-native-inputs) - ;; native-inputs required by most of the tryton module for running the test - `(("python-dateutil" ,python-dateutil) - ("python-genshi" ,python-genshi) - ("python-lxml" ,python-lxml) - ("python-magic" ,python-magic) - ("python-passlib" ,python-passlib) - ("python-polib" ,python-polib) - ("python-proteus" ,python-proteus) - ("python-relatorio" ,python-relatorio) - ("python-sql" ,python-sql) - ("python-werkzeug" ,python-werkzeug-1.0) - ("python-wrapt" ,python-wrapt))) +(define %standard-trytond-native-inputs + ;; native-inputs required for building and by most of the trytond modules + ;; for running the test + (list python-dateutil + python-genshi + python-lxml + python-magic + python-passlib + python-polib + python-proteus + python-pytest ; see tryton-phases above + python-setuptools ; for pyproject-build-system + python-relatorio + python-sql + python-werkzeug + python-wrapt + tzdata-for-tests)) (define-public trytond-account (package @@ -316,6 +320,9 @@ then be used to track the total amount from relevant transactions against the budgeted amount.") (license license:gpl3+))) +(define (standard-trytond-native-inputs 1stmodule . more-modules) + (apply list 1stmodule more-modules %standard-trytond-native-inputs)) + (define-public trytond-account-cash-rounding (package (name "trytond-account-cash-rounding")