~ruther/guix-local

b7e3ac4ecbe3a16cfd75da90f3c120aa9ee6b064 — Hartmut Goebel 8 months ago ba73dbe
gnu: trytond-stock-package-shipping-ups: Update to 7.0.5 and switch to pyproject.

* gnu/packages/tryton.scm(trytond-stock-package-shipping-ups): Update to 7.0.5.
[build-system] Switch to pyproject-build-system.
[arguments]: Fix module name argument. Disable tests requiring network.
[native-inputs]: Add trytond-sale and trytond-sale-shipment-cost.
[propagated-inputs]: Add python-oauthlib, python-requests-oauthlib and
trytond-carrier.

Change-Id: I6636edae4e612c1fc103e1cf47a1806cfdf604e1
1 files changed, 14 insertions(+), 6 deletions(-)

M gnu/packages/tryton.scm
M gnu/packages/tryton.scm => gnu/packages/tryton.scm +14 -6
@@ 4337,19 4337,27 @@ supported carriers.")
(define-public trytond-stock-package-shipping-ups
  (package
    (name "trytond-stock-package-shipping-ups")
    (version "6.2.0")
    (version "7.0.5")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "trytond_stock_package_shipping_ups" version))
       (sha256
        (base32 "198i6fdb9ghcsd7z1cb1f3m261dl9w9hxmzzvs7h51f2lbw07n58"))))
    (build-system python-build-system)
    (arguments (tryton-arguments "stock_package_shipping_ups"))
    (native-inputs (%standard-trytond-native-inputs))
        (base32 "0zpcpfdc0fp258n7kfdmdscal4d922121jxfh6lcgjs5pjfbn8r5"))))
    (build-system pyproject-build-system)
    ;; doctest requires network and an api key
    (arguments (tryton-arguments "stock_package_shipping_ups"
                                 "-k not scenario_shipping_ups"))
    (native-inputs
     (cons* trytond-sale
            trytond-sale-shipment-cost
            %standard-trytond-native-inputs))
    (propagated-inputs
     (list python-requests
     (list python-oauthlib
           python-requests
           python-requests-oauthlib
           trytond
           trytond-carrier
           trytond-party
           trytond-product
           trytond-stock