From 32ccefab74e4bbe453f3ec3fd3d7f8639e48c3fd Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 26 Sep 2025 12:59:59 +0200 Subject: [PATCH] gnu: trytond-sale-secondary-unit: Update to 7.0.2 and switch to pyproject. * gnu/packages/tryton.scm(trytond-sale-secondary-unit): Update to 7.0.2. [build-system]: Switch to pyproject-build-system. [native-inputs]: Add trytond-sale-amendment and trytond-sale-blanket-agreement. Change-Id: Ib06710d2c823c440722bb817a2932f1d1fc004b5 --- gnu/packages/tryton.scm | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index e5bec8081a41b5716dacc658129d394768af4297..2535e7515f4898cbd6e46db202fa4c2319bb3f18 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -3652,21 +3652,22 @@ to the promotions.") (define-public trytond-sale-secondary-unit (package (name "trytond-sale-secondary-unit") - (version "6.2.0") + (version "7.0.2") (source (origin (method url-fetch) (uri (pypi-uri "trytond_sale_secondary_unit" version)) (sha256 - (base32 "0as7vc8wp2i3402h5r90zg6170y3av41a6k5ivdfbaxlhsjq8lxa")))) - (build-system python-build-system) + (base32 "1pd3a4ykjyiipacy0pksv30mb6kf7n203mp6qh8jn4c2wwvjn06g")))) + (build-system pyproject-build-system) (arguments (tryton-arguments "sale_secondary_unit")) (native-inputs - `(,@(%standard-trytond-native-inputs) - ("trytond-account-invoice-secondary-unit" - ,trytond-account-invoice-secondary-unit) - ("trytond-sale-product-customer" ,trytond-sale-product-customer) - ("trytond-stock-secondary-unit" ,trytond-stock-secondary-unit))) + (cons* trytond-account-invoice-secondary-unit + trytond-sale-amendment + trytond-sale-blanket-agreement + trytond-sale-product-customer + trytond-stock-secondary-unit + %standard-trytond-native-inputs)) (propagated-inputs (list trytond trytond-account-invoice trytond-product trytond-sale trytond-stock))