From d1a1fb4b5c1ffbbb32ff2f5268dd27e2be786c14 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 26 Sep 2025 12:32:53 +0200 Subject: [PATCH] gnu: trytond-account-rule: Update to 7.0.0 and switch to pyproject. * gnu/packages/tryton.scm(trytond-account-rule): Update to 7.0.0. [build-system] Switch to pyproject-build-system. [arguments] Fix module name argument. [native-inputs]: Add trytond-account-invoice-stock, trytond-account-stock-anglo-saxon, trytond-account-stock-continental, trytond-product, trytond-purchase, trytond-purchase-shipment-cost, trytond-sale, , trytond-sale-gift-card, trytond-stock, trytond-stock-consignment. Change-Id: Ib9120a46edfbfa3dda1dda7829e6f8f8f401cb02 --- gnu/packages/tryton.scm | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 1b5fc89ea1b744127669a6aa091f0bb07d14b9c0..04f1ef1824e245ee31a85f3beb85c6eef2a1a515 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -1067,17 +1067,31 @@ and category.") (define-public trytond-account-rule (package (name "trytond-account-rule") - (version "6.2.1") + (version "7.0.0") (source (origin (method url-fetch) (uri (pypi-uri "trytond_account_rule" version)) (sha256 - (base32 "1rn0xdqk5pcjybpyw09fqag6lyha06dq9qb3v0jc31cvwmd17ckl")))) - (build-system python-build-system) - (arguments (tryton-arguments "trytond_account_rule")) - (native-inputs (%standard-trytond-native-inputs)) - (propagated-inputs (list trytond trytond-account - trytond-company trytond-party)) + (base32 "0p9blifdzx97arzs8djpqqgg3lpyk8saxjd4q4xxzjghk22gf04c")))) + (build-system pyproject-build-system) + (arguments (tryton-arguments "account_rule")) + (native-inputs + (cons* trytond-account-invoice-stock + trytond-account-stock-anglo-saxon + trytond-account-stock-continental + trytond-product + trytond-purchase + trytond-purchase-shipment-cost + trytond-sale + trytond-sale-gift-card + trytond-stock + trytond-stock-consignment + %standard-trytond-native-inputs)) + (propagated-inputs + (list trytond + trytond-account + trytond-company + trytond-party)) (home-page "https://docs.tryton.org/projects/modules-account-rule") (synopsis "Tryton module to change accounts based on rules") (description "The @emph{Account Rule} Tryton module allows rules which