~ruther/guix-local

7fd06097cea8fac34ee1fa437a5679b2d025436d — Hartmut Goebel 8 months ago f1e6a9b
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:
1 files changed, 20 insertions(+), 13 deletions(-)

M gnu/packages/tryton.scm
M gnu/packages/tryton.scm => gnu/packages/tryton.scm +20 -13
@@ 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")