From 0ad07005d4a77be0289dc187b2994b9bcb4acbf2 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 22 Jan 2021 16:53:38 +0100 Subject: gnu: Rename "python-trytond" to "trytond". Trytond is an application, and only python libraries should have the "python-" prefix. * gnu/packages/tryton.scm (python-trytond): Rename to... (trytond): ...this. [synopsis] Rephrase. (python-trytond): Redefine as a deprecated alias. (python-trytond-account, python-trytond-account-invoice, python-trytond-account-invoice-stock, python-trytond-account-product, python-trytond-analytic-account, python-trytond-company, python-trytond-country, python-trytond-currency, python-trytond-party, python-trytond-product, python-trytond-purchase, python-trytond-purchase-request python-trytond-stock, python-trytond-stock-lot, python-trytond-stock-supply)[propagated-inputs]: Rename python-trytond to trytond. --- gnu/packages/tryton.scm | 105 +++++++++++++++++++++++++----------------------- 1 file changed, 54 insertions(+), 51 deletions(-) (limited to 'gnu/packages/tryton.scm') diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 3809b986d5..ca378e05b9 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -37,9 +37,9 @@ (define-module (gnu packages tryton) #:use-module (guix utils) #:use-module (guix build-system python)) -(define-public python-trytond +(define-public trytond (package - (name "python-trytond") + (name "trytond") (version "5.6.5") (source (origin @@ -71,13 +71,16 @@ (define-public python-trytond (setenv "HOME" "/tmp") #t))))) (home-page "https://www.tryton.org/") - (synopsis "Server component of Tryton") + (synopsis "Tryton Server") (description "Tryton is a three-tier high-level general purpose application platform using PostgreSQL as its main database engine. It is the core base of a complete business solution providing modularity, scalability and security.") (license license:gpl3+))) +(define-public python-trytond + (deprecated-package "python-trytond" trytond)) + (define-public tryton (package (name "tryton") @@ -136,7 +139,7 @@ (define-public python-trytond-country (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -159,7 +162,7 @@ (define-public python-trytond-country ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("python-pycountry" ,python-pycountry) - ("python-trytond" ,python-trytond))) + ("trytond" ,trytond))) (home-page "http://www.tryton.org/") (synopsis "Tryton module with countries") (description @@ -183,7 +186,7 @@ (define-public python-trytond-party (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -206,8 +209,8 @@ (define-public python-trytond-party (propagated-inputs `(("python-sql" ,python-sql) ("python-stnum" ,python-stdnum) - ("python-trytond" ,python-trytond) - ("python-trytond-country" ,python-trytond-country))) + ("python-trytond-country" ,python-trytond-country) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for parties and addresses") (description @@ -232,7 +235,7 @@ (define-public python-trytond-currency (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -255,7 +258,7 @@ (define-public python-trytond-currency ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("python-sql" ,python-sql) - ("python-trytond" ,python-trytond))) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module with currencies") (description @@ -280,7 +283,7 @@ (define-public python-trytond-company (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -301,10 +304,10 @@ (define-public python-trytond-company ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-trytond" ,python-trytond) - ("python-trytond-currency" + `(("python-trytond-currency" ,python-trytond-currency) - ("python-trytond-party" ,python-trytond-party))) + ("python-trytond-party" ,python-trytond-party) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module with companies and employees") (description @@ -329,7 +332,7 @@ (define-public python-trytond-product (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -351,9 +354,9 @@ (define-public python-trytond-product (propagated-inputs `(("python-sql" ,python-sql) ("python-stdnum" ,python-stdnum) - ("python-trytond" ,python-trytond) ("python-trytond-company" - ,python-trytond-company))) + ,python-trytond-company) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module with products") (description @@ -378,7 +381,7 @@ (define-public python-trytond-account (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -400,12 +403,12 @@ (define-public python-trytond-account `(("python-dateutil" ,python-dateutil) ("python-simpleeval" ,python-simpleeval) ("python-sql" ,python-sql) - ("python-trytond" ,python-trytond) ("python-trytond-company" ,python-trytond-company) ("python-trytond-currency" ,python-trytond-currency) - ("python-trytond-party" ,python-trytond-party))) + ("python-trytond-party" ,python-trytond-party) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for accounting") (description @@ -430,7 +433,7 @@ (define-public python-trytond-analytic-account (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -451,14 +454,14 @@ (define-public python-trytond-analytic-account ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("python-sql" ,python-sql) - ("python-trytond" ,python-trytond) ("python-trytond-account" ,python-trytond-account) ("python-trytond-company" ,python-trytond-company) ("python-trytond-currency" ,python-trytond-currency) - ("python-trytond-party" ,python-trytond-party))) + ("python-trytond-party" ,python-trytond-party) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for analytic accounting") (description @@ -483,7 +486,7 @@ (define-public python-trytond-account-product (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -504,15 +507,15 @@ (define-public python-trytond-account-product ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-trytond" ,python-trytond) - ("python-trytond-account" + `(("python-trytond-account" ,python-trytond-account) ("python-trytond-analytic-account" ,python-trytond-analytic-account) ("python-trytond-company" ,python-trytond-company) ("python-trytond-product" - ,python-trytond-product))) + ,python-trytond-product) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module to add accounting on product") (description @@ -537,7 +540,7 @@ (define-public python-trytond-account-invoice (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -558,7 +561,6 @@ (define-public python-trytond-account-invoice (propagated-inputs `(("python-dateutil" ,python-dateutil) ("python-sql" ,python-sql) - ("python-trytond" ,python-trytond) ("python-trytond-account" ,python-trytond-account) ("python-trytond-account-product" @@ -569,7 +571,8 @@ (define-public python-trytond-account-invoice ,python-trytond-currency) ("python-trytond-party" ,python-trytond-party) ("python-trytond-product" - ,python-trytond-product))) + ,python-trytond-product) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for invoicing") (description @@ -594,7 +597,7 @@ (define-public python-trytond-stock (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -615,14 +618,14 @@ (define-public python-trytond-stock (propagated-inputs `(("python-simpleeval" ,python-simpleeval) ("python-sql" ,python-sql) - ("python-trytond" ,python-trytond) ("python-trytond-company" ,python-trytond-company) ("python-trytond-currency" ,python-trytond-currency) ("python-trytond-party" ,python-trytond-party) ("python-trytond-product" - ,python-trytond-product))) + ,python-trytond-product) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for stock and inventory") (description @@ -649,7 +652,7 @@ (define-public python-trytond-stock-lot (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -670,10 +673,10 @@ (define-public python-trytond-stock-lot ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-trytond" ,python-trytond) - ("python-trytond-product" + `(("python-trytond-product" ,python-trytond-product) - ("python-trytond-stock" ,python-trytond-stock))) + ("python-trytond-stock" ,python-trytond-stock) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for lot of products") (description @@ -699,7 +702,7 @@ (define-public python-trytond-account-invoice-stock (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -720,12 +723,12 @@ (define-public python-trytond-account-invoice-stock ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-trytond" ,python-trytond) - ("python-trytond-account-invoice" + `(("python-trytond-account-invoice" ,python-trytond-account-invoice) ("python-trytond-product" ,python-trytond-product) - ("python-trytond-stock" ,python-trytond-stock))) + ("python-trytond-stock" ,python-trytond-stock) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module to link stock and invoice") (description @@ -751,7 +754,7 @@ (define-public python-trytond-stock-supply (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -772,7 +775,6 @@ (define-public python-trytond-stock-supply ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("python-sql" ,python-sql) - ("python-trytond" ,python-trytond) ("python-trytond-account" ,python-trytond-account) ("python-trytond-party" ,python-trytond-party) @@ -782,7 +784,8 @@ (define-public python-trytond-stock-supply ,python-trytond-purchase) ("python-trytond-purchase-request" ,python-trytond-purchase-request) - ("python-trytond-stock" ,python-trytond-stock))) + ("python-trytond-stock" ,python-trytond-stock) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for stock supply") (description @@ -807,7 +810,7 @@ (define-public python-trytond-purchase (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -828,7 +831,6 @@ (define-public python-trytond-purchase ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("python-sql" ,python-sql) - ("python-trytond" ,python-trytond) ("python-trytond-account" ,python-trytond-account) ("python-trytond-account-invoice" @@ -844,7 +846,8 @@ (define-public python-trytond-purchase ("python-trytond-party" ,python-trytond-party) ("python-trytond-product" ,python-trytond-product) - ("python-trytond-stock" ,python-trytond-stock))) + ("python-trytond-stock" ,python-trytond-stock) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for purchase") (description @@ -868,7 +871,7 @@ (define-public python-trytond-purchase-request (replace 'check (let ((runtest (string-append - (assoc-ref %build-inputs "python-trytond") + (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) @@ -891,11 +894,11 @@ (define-public python-trytond-purchase-request ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-trytond" ,python-trytond) - ("python-trytond-product" + `(("python-trytond-product" ,python-trytond-product) ("python-trytond-purchase" - ,python-trytond-purchase))) + ,python-trytond-purchase) + ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for purchase requests") (description -- cgit v1.2.3 From 71094100008319d628fb05a13b628f2f0eb2bf2f Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 22 Jan 2021 16:55:23 +0100 Subject: gnu: tryton: Rephrase synopsis and description. * gnu/packages/tryton.scm (tryton)[synopsis, description] Rephrase. --- gnu/packages/tryton.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/tryton.scm') diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index ca378e05b9..e92e60739d 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -117,9 +117,9 @@ (define-public tryton ("python-pycairo" ,python-pycairo) ("python-pygobject" ,python-pygobject))) (home-page "https://www.tryton.org/") - (synopsis "Client component of Tryton") + (synopsis "Tryton Client") (description - "This package is the client component of Tryton.") + "This package provides the Tryton GTK client.") (license license:gpl3+))) (define-public python-trytond-country -- cgit v1.2.3 From e421702380ac50a04ba9e7f9d838a1cf47118bca Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 22 Jan 2021 22:57:03 +0100 Subject: gnu: tryton.scm: Reorder packages. Move proteus near the top, as it is a package to be used by other ications. Sort all "tryton modules" (python-trytond-*) alphabetically. * gnu/packages/tryton.scm (python-proteus): Move behind tryton. (python-trytond-account, python-trytond-account-invoice, python-trytond-account-invoice-stock, python-trytond-account-product, python-trytond-analytic-account, python-trytond-company, python-trytond-country, python-trytond-currency, python-trytond-party, python-trytond-product, python-trytond-purchase, python-trytond-purchase-request, python-trytond-stock, python-trytond-stock-lot, python-trytond-stock-supply): Sort alphabetically. --- gnu/packages/tryton.scm | 502 ++++++++++++++++++++++++------------------------ 1 file changed, 253 insertions(+), 249 deletions(-) (limited to 'gnu/packages/tryton.scm') diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index e92e60739d..ceb207eb39 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -122,16 +122,42 @@ (define-public tryton "This package provides the Tryton GTK client.") (license license:gpl3+))) -(define-public python-trytond-country +(define-public python-proteus (package - (name "python-trytond-country") + (name "python-proteus") (version "5.6.0") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_country" version)) + (uri (pypi-uri "proteus" version)) (sha256 - (base32 "0k1xw5r2pfd5mvvg3pn3vavwjwpgmm5i6nsc8x421znk4gvvns78")))) + (base32 "0kxac5pkps243wf0xbmbd1g5bml96xl94j88y6yyzm093vyli150")))) + (build-system python-build-system) + ;; Tests require python-trytond-party which requires python-proteus. + (arguments + `(#:tests? #f)) + (propagated-inputs + `(("python-dateutil" ,python-dateutil))) + (home-page "http://www.tryton.org/") + (synopsis "Library to access a Tryton server as a client") + (description + "This package provides a library to access Tryton server as a client.") + (license license:lgpl3+))) + +;;; +;;; Tryton modules - please sort alphabetically +;;; + +(define-public python-trytond-account + (package + (name "python-trytond-account") + (version "5.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_account" version)) + (sha256 + (base32 "17q0cxp3vkymbv62ir4c6kg9y8lx8xvz30p0asrbsnbgwl6sjm30")))) (build-system python-build-system) (arguments `(#:phases @@ -145,11 +171,9 @@ (define-public python-trytond-country "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - ;; Doctest contains one test that requires internet access. - (invoke "python" runtest "-m" "country" "--no-doctest"))))))) + (invoke "python" runtest "-m" "account"))))))) (native-inputs - `(("python" ,python) - ("python-dateutil" ,python-dateutil) + `(("python" ,python-minimal-wrapper) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -157,28 +181,35 @@ (define-public python-trytond-country ("python-polib" ,python-polib) ("python-proteus" ,python-proteus) ("python-relatorio" ,python-relatorio) - ("python-sql" ,python-sql) ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-pycountry" ,python-pycountry) + `(("python-dateutil" ,python-dateutil) + ("python-simpleeval" ,python-simpleeval) + ("python-sql" ,python-sql) + ("python-trytond-company" + ,python-trytond-company) + ("python-trytond-currency" + ,python-trytond-currency) + ("python-trytond-party" ,python-trytond-party) ("trytond" ,trytond))) - (home-page "http://www.tryton.org/") - (synopsis "Tryton module with countries") + (home-page "https://www.tryton.org/") + (synopsis "Tryton module for accounting") (description - "This package provides a Tryton module with countries.") + "This package provides a Tryton module that defines the fundamentals for +most of accounting needs.") (license license:gpl3+))) -(define-public python-trytond-party +(define-public python-trytond-account-invoice (package - (name "python-trytond-party") - (version "5.6.0") + (name "python-trytond-account-invoice") + (version "5.6.1") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_party" version)) + (uri (pypi-uri "trytond_account_invoice" version)) (sha256 - (base32 "0wh7g1g67g4vwxm797ra6fkfvmd3w77vl7nxj76y856cy217gbzp")))) + (base32 "0ic5zghg50m6jwdr88y4vgzy58g1h17b63sbhh61brys1cp2dxhc")))) (build-system python-build-system) (arguments `(#:phases @@ -192,11 +223,9 @@ (define-public python-trytond-party "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - ;; Doctest 'scenario_party_phone_number.rst' fails. - (invoke "python" runtest "-m" "party" "--no-doctest"))))))) + (invoke "python" runtest "-m" "account_invoice"))))))) (native-inputs `(("python" ,python-minimal-wrapper) - ("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -207,27 +236,39 @@ (define-public python-trytond-party ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-sql" ,python-sql) - ("python-stnum" ,python-stdnum) - ("python-trytond-country" ,python-trytond-country) + `(("python-dateutil" ,python-dateutil) + ("python-sql" ,python-sql) + ("python-trytond-account" + ,python-trytond-account) + ("python-trytond-account-product" + ,python-trytond-account-product) + ("python-trytond-company" + ,python-trytond-company) + ("python-trytond-currency" + ,python-trytond-currency) + ("python-trytond-party" ,python-trytond-party) + ("python-trytond-product" + ,python-trytond-product) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") - (synopsis "Tryton module for parties and addresses") + (synopsis "Tryton module for invoicing") (description - "This package provides a Tryton module for (counter)parties and -addresses.") + "This package provides a Tryton module that adds the invoice, payment +term.") (license license:gpl3+))) -(define-public python-trytond-currency +(define-public python-trytond-account-invoice-stock (package - (name "python-trytond-currency") + (name "python-trytond-account-invoice-stock") (version "5.6.0") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_currency" version)) + (uri (pypi-uri + "trytond_account_invoice_stock" + version)) (sha256 - (base32 "1x6ynxpbafjpky5vfir9favijj6v5gl62szshladlx14ng6qgm68")))) + (base32 "1ky39ab8ax7hla5d9qgmp0p4ra4q6n29xc3wba5qdw3ij8wkn96f")))) (build-system python-build-system) (arguments `(#:phases @@ -241,41 +282,45 @@ (define-public python-trytond-currency "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "python" runtest "-m" "currency"))))))) + (invoke "python" runtest "-m" "account_invoice_stock"))))))) (native-inputs `(("python" ,python-minimal-wrapper) ("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) - ("python-forex-python" ,python-forex-python) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) ("python-passlib" ,python-passlib) ("python-polib" ,python-polib) ("python-proteus" ,python-proteus) - ("python-pycountry" ,python-pycountry) ("python-relatorio" ,python-relatorio) + ("python-sql" ,python-sql) ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-sql" ,python-sql) + `(("python-trytond-account-invoice" + ,python-trytond-account-invoice) + ("python-trytond-product" + ,python-trytond-product) + ("python-trytond-stock" ,python-trytond-stock) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") - (synopsis "Tryton module with currencies") + (synopsis "Tryton module to link stock and invoice") (description - "This package provides a Tryton module that defines the concepts of -currency and rate.") + "This package provides a Tryton module that adds link between invoice +lines and stock moves. The unit price of the stock move is updated with the +average price of the posted invoice lines that are linked to it.") (license license:gpl3+))) -(define-public python-trytond-company +(define-public python-trytond-account-product (package - (name "python-trytond-company") + (name "python-trytond-account-product") (version "5.6.0") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_company" version)) + (uri (pypi-uri "trytond_account_product" version)) (sha256 - (base32 "0fa2yswfal1fbmm0ml845lm6bwcm65fln6s1xq1wqi17xqbbx44x")))) + (base32 "0iyk07adixf37jlvn7n27ac12hk23zx09w4s78dr9sfp0lsf8vv8")))) (build-system python-build-system) (arguments `(#:phases @@ -289,7 +334,7 @@ (define-public python-trytond-company "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "python" runtest "-m" "company"))))))) + (invoke "python" runtest "-m" "account_product"))))))) (native-inputs `(("python" ,python-minimal-wrapper) ("python-dateutil" ,python-dateutil) @@ -304,27 +349,32 @@ (define-public python-trytond-company ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-trytond-currency" - ,python-trytond-currency) - ("python-trytond-party" ,python-trytond-party) + `(("python-trytond-account" + ,python-trytond-account) + ("python-trytond-analytic-account" + ,python-trytond-analytic-account) + ("python-trytond-company" + ,python-trytond-company) + ("python-trytond-product" + ,python-trytond-product) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") - (synopsis "Tryton module with companies and employees") + (synopsis "Tryton module to add accounting on product") (description - "This package provides a Tryton module that defines the concepts of -company and employee and extend the user model.") + "This package provides a Tryton module that adds accounting on product +and category.") (license license:gpl3+))) -(define-public python-trytond-product +(define-public python-trytond-analytic-account (package - (name "python-trytond-product") - (version "5.6.1") + (name "python-trytond-analytic-account") + (version "5.6.0") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_product" version)) + (uri (pypi-uri "trytond_analytic_account" version)) (sha256 - (base32 "0k1sw1jfgsm9qhyhv4lzama31db6ccjx5f2a7xw96ypflfl9f1xz")))) + (base32 "02hv3mmhadz248vy4azrw8rs2mwgsixd4cnzsm82z15gjmfxl34q")))) (build-system python-build-system) (arguments `(#:phases @@ -338,7 +388,7 @@ (define-public python-trytond-product "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "python" runtest "-m" "product"))))))) + (invoke "python" runtest "-m" "analytic_account"))))))) (native-inputs `(("python" ,python-minimal-wrapper) ("python-dateutil" ,python-dateutil) @@ -353,27 +403,31 @@ (define-public python-trytond-product ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("python-sql" ,python-sql) - ("python-stdnum" ,python-stdnum) + ("python-trytond-account" + ,python-trytond-account) ("python-trytond-company" ,python-trytond-company) + ("python-trytond-currency" + ,python-trytond-currency) + ("python-trytond-party" ,python-trytond-party) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") - (synopsis "Tryton module with products") + (synopsis "Tryton module for analytic accounting") (description - "This package provides a Tryton module that defines two concepts: Product -Template and Product.") + "This package provides a Tryton module that adds the fundamentals +required to analyse accounting using multiple different axes.") (license license:gpl3+))) -(define-public python-trytond-account +(define-public python-trytond-company (package - (name "python-trytond-account") - (version "5.6.1") + (name "python-trytond-company") + (version "5.6.0") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_account" version)) + (uri (pypi-uri "trytond_company" version)) (sha256 - (base32 "17q0cxp3vkymbv62ir4c6kg9y8lx8xvz30p0asrbsnbgwl6sjm30")))) + (base32 "0fa2yswfal1fbmm0ml845lm6bwcm65fln6s1xq1wqi17xqbbx44x")))) (build-system python-build-system) (arguments `(#:phases @@ -387,9 +441,10 @@ (define-public python-trytond-account "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "python" runtest "-m" "account"))))))) + (invoke "python" runtest "-m" "company"))))))) (native-inputs `(("python" ,python-minimal-wrapper) + ("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -397,35 +452,31 @@ (define-public python-trytond-account ("python-polib" ,python-polib) ("python-proteus" ,python-proteus) ("python-relatorio" ,python-relatorio) + ("python-sql" ,python-sql) ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-dateutil" ,python-dateutil) - ("python-simpleeval" ,python-simpleeval) - ("python-sql" ,python-sql) - ("python-trytond-company" - ,python-trytond-company) - ("python-trytond-currency" + `(("python-trytond-currency" ,python-trytond-currency) ("python-trytond-party" ,python-trytond-party) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") - (synopsis "Tryton module for accounting") + (synopsis "Tryton module with companies and employees") (description - "This package provides a Tryton module that defines the fundamentals for -most of accounting needs.") + "This package provides a Tryton module that defines the concepts of +company and employee and extend the user model.") (license license:gpl3+))) -(define-public python-trytond-analytic-account +(define-public python-trytond-country (package - (name "python-trytond-analytic-account") + (name "python-trytond-country") (version "5.6.0") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_analytic_account" version)) + (uri (pypi-uri "trytond_country" version)) (sha256 - (base32 "02hv3mmhadz248vy4azrw8rs2mwgsixd4cnzsm82z15gjmfxl34q")))) + (base32 "0k1xw5r2pfd5mvvg3pn3vavwjwpgmm5i6nsc8x421znk4gvvns78")))) (build-system python-build-system) (arguments `(#:phases @@ -439,9 +490,10 @@ (define-public python-trytond-analytic-account "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "python" runtest "-m" "analytic_account"))))))) + ;; Doctest contains one test that requires internet access. + (invoke "python" runtest "-m" "country" "--no-doctest"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) + `(("python" ,python) ("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) @@ -450,35 +502,28 @@ (define-public python-trytond-analytic-account ("python-polib" ,python-polib) ("python-proteus" ,python-proteus) ("python-relatorio" ,python-relatorio) + ("python-sql" ,python-sql) ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-sql" ,python-sql) - ("python-trytond-account" - ,python-trytond-account) - ("python-trytond-company" - ,python-trytond-company) - ("python-trytond-currency" - ,python-trytond-currency) - ("python-trytond-party" ,python-trytond-party) + `(("python-pycountry" ,python-pycountry) ("trytond" ,trytond))) - (home-page "https://www.tryton.org/") - (synopsis "Tryton module for analytic accounting") + (home-page "http://www.tryton.org/") + (synopsis "Tryton module with countries") (description - "This package provides a Tryton module that adds the fundamentals -required to analyse accounting using multiple different axes.") + "This package provides a Tryton module with countries.") (license license:gpl3+))) -(define-public python-trytond-account-product +(define-public python-trytond-currency (package - (name "python-trytond-account-product") + (name "python-trytond-currency") (version "5.6.0") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_account_product" version)) + (uri (pypi-uri "trytond_currency" version)) (sha256 - (base32 "0iyk07adixf37jlvn7n27ac12hk23zx09w4s78dr9sfp0lsf8vv8")))) + (base32 "1x6ynxpbafjpky5vfir9favijj6v5gl62szshladlx14ng6qgm68")))) (build-system python-build-system) (arguments `(#:phases @@ -492,47 +537,41 @@ (define-public python-trytond-account-product "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "python" runtest "-m" "account_product"))))))) + (invoke "python" runtest "-m" "currency"))))))) (native-inputs `(("python" ,python-minimal-wrapper) ("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) + ("python-forex-python" ,python-forex-python) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) ("python-passlib" ,python-passlib) ("python-polib" ,python-polib) ("python-proteus" ,python-proteus) + ("python-pycountry" ,python-pycountry) ("python-relatorio" ,python-relatorio) - ("python-sql" ,python-sql) ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-trytond-account" - ,python-trytond-account) - ("python-trytond-analytic-account" - ,python-trytond-analytic-account) - ("python-trytond-company" - ,python-trytond-company) - ("python-trytond-product" - ,python-trytond-product) + `(("python-sql" ,python-sql) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") - (synopsis "Tryton module to add accounting on product") + (synopsis "Tryton module with currencies") (description - "This package provides a Tryton module that adds accounting on product -and category.") + "This package provides a Tryton module that defines the concepts of +currency and rate.") (license license:gpl3+))) -(define-public python-trytond-account-invoice +(define-public python-trytond-party (package - (name "python-trytond-account-invoice") - (version "5.6.1") + (name "python-trytond-party") + (version "5.6.0") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_account_invoice" version)) + (uri (pypi-uri "trytond_party" version)) (sha256 - (base32 "0ic5zghg50m6jwdr88y4vgzy58g1h17b63sbhh61brys1cp2dxhc")))) + (base32 "0wh7g1g67g4vwxm797ra6fkfvmd3w77vl7nxj76y856cy217gbzp")))) (build-system python-build-system) (arguments `(#:phases @@ -546,9 +585,11 @@ (define-public python-trytond-account-invoice "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "python" runtest "-m" "account_invoice"))))))) + ;; Doctest 'scenario_party_phone_number.rst' fails. + (invoke "python" runtest "-m" "party" "--no-doctest"))))))) (native-inputs `(("python" ,python-minimal-wrapper) + ("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -559,37 +600,27 @@ (define-public python-trytond-account-invoice ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-dateutil" ,python-dateutil) - ("python-sql" ,python-sql) - ("python-trytond-account" - ,python-trytond-account) - ("python-trytond-account-product" - ,python-trytond-account-product) - ("python-trytond-company" - ,python-trytond-company) - ("python-trytond-currency" - ,python-trytond-currency) - ("python-trytond-party" ,python-trytond-party) - ("python-trytond-product" - ,python-trytond-product) + `(("python-sql" ,python-sql) + ("python-stnum" ,python-stdnum) + ("python-trytond-country" ,python-trytond-country) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") - (synopsis "Tryton module for invoicing") + (synopsis "Tryton module for parties and addresses") (description - "This package provides a Tryton module that adds the invoice, payment -term.") + "This package provides a Tryton module for (counter)parties and +addresses.") (license license:gpl3+))) -(define-public python-trytond-stock +(define-public python-trytond-product (package - (name "python-trytond-stock") + (name "python-trytond-product") (version "5.6.1") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_stock" version)) + (uri (pypi-uri "trytond_product" version)) (sha256 - (base32 "13m57absscks2advpjz0mmmp6c0c4ksf9aln1brqyd0js38arw76")))) + (base32 "0k1sw1jfgsm9qhyhv4lzama31db6ccjx5f2a7xw96ypflfl9f1xz")))) (build-system python-build-system) (arguments `(#:phases @@ -603,9 +634,10 @@ (define-public python-trytond-stock "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "python" runtest "-m" "stock"))))))) + (invoke "python" runtest "-m" "product"))))))) (native-inputs `(("python" ,python-minimal-wrapper) + ("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -616,35 +648,28 @@ (define-public python-trytond-stock ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-simpleeval" ,python-simpleeval) - ("python-sql" ,python-sql) + `(("python-sql" ,python-sql) + ("python-stdnum" ,python-stdnum) ("python-trytond-company" ,python-trytond-company) - ("python-trytond-currency" - ,python-trytond-currency) - ("python-trytond-party" ,python-trytond-party) - ("python-trytond-product" - ,python-trytond-product) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") - (synopsis "Tryton module for stock and inventory") + (synopsis "Tryton module with products") (description - "This package provides a Tryton module that defines the fundamentals for -all stock management situations: Locations where products are stored, moves -between these locations, shipments for product arrivals and departures and -inventory to control and update stock levels.") + "This package provides a Tryton module that defines two concepts: Product +Template and Product.") (license license:gpl3+))) -(define-public python-trytond-stock-lot +(define-public python-trytond-purchase (package - (name "python-trytond-stock-lot") + (name "python-trytond-purchase") (version "5.6.0") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_stock_lot" version)) + (uri (pypi-uri "trytond_purchase" version)) (sha256 - (base32 "0a0kc8dyx2zw244dhq6lm2jdp1kzpllhdhrmx7kkr9cjhp58rqip")))) + (base32 "0znjxhhwqlz4sq96ah9g28mvw4w83rhp022h6vihnz64z2ad3p3z")))) (build-system python-build-system) (arguments `(#:phases @@ -658,9 +683,9 @@ (define-public python-trytond-stock-lot "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "python" runtest "-m" "stock_lot"))))))) + (invoke "python" runtest "-m" "purchase"))))))) (native-inputs - `(("python" ,python) + `(("python" ,python-minimal-wrapper) ("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) @@ -669,32 +694,43 @@ (define-public python-trytond-stock-lot ("python-polib" ,python-polib) ("python-proteus" ,python-proteus) ("python-relatorio" ,python-relatorio) - ("python-sql" ,python-sql) ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-trytond-product" + `(("python-sql" ,python-sql) + ("python-trytond-account" + ,python-trytond-account) + ("python-trytond-account-invoice" + ,python-trytond-account-invoice) + ("python-trytond-account-invoice-stock" + ,python-trytond-account-invoice-stock) + ("python-trytond-account-product" + ,python-trytond-account-product) + ("python-trytond-company" + ,python-trytond-company) + ("python-trytond-currency" + ,python-trytond-currency) + ("python-trytond-party" ,python-trytond-party) + ("python-trytond-product" ,python-trytond-product) ("python-trytond-stock" ,python-trytond-stock) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") - (synopsis "Tryton module for lot of products") + (synopsis "Tryton module for purchase") (description - "This package provides a Tryton module that defines lot of products.") + "This package provides a Tryton module that defines the Purchase model.") (license license:gpl3+))) -(define-public python-trytond-account-invoice-stock +(define-public python-trytond-purchase-request (package - (name "python-trytond-account-invoice-stock") + (name "python-trytond-purchase-request") (version "5.6.0") (source (origin (method url-fetch) - (uri (pypi-uri - "trytond_account_invoice_stock" - version)) + (uri (pypi-uri "trytond_purchase_request" version)) (sha256 - (base32 "1ky39ab8ax7hla5d9qgmp0p4ra4q6n29xc3wba5qdw3ij8wkn96f")))) + (base32 "15r1x3jzr83rna1vfpans277785dpmgjr7989icav602nkyhhx0x")))) (build-system python-build-system) (arguments `(#:phases @@ -708,7 +744,9 @@ (define-public python-trytond-account-invoice-stock "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "python" runtest "-m" "account_invoice_stock"))))))) + ;; Doctest 'scenario_purchase_request.rst' fails. + (invoke "python" runtest + "-m" "purchase_request" "--no-doctest"))))))) (native-inputs `(("python" ,python-minimal-wrapper) ("python-dateutil" ,python-dateutil) @@ -723,30 +761,29 @@ (define-public python-trytond-account-invoice-stock ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-trytond-account-invoice" - ,python-trytond-account-invoice) - ("python-trytond-product" + `(("python-trytond-product" ,python-trytond-product) - ("python-trytond-stock" ,python-trytond-stock) + ("python-trytond-purchase" + ,python-trytond-purchase) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") - (synopsis "Tryton module to link stock and invoice") + (synopsis "Tryton module for purchase requests") (description - "This package provides a Tryton module that adds link between invoice -lines and stock moves. The unit price of the stock move is updated with the -average price of the posted invoice lines that are linked to it.") + "This package provides a Tryton module that introduces the concept of +Purchase Requests which are central points to collect purchase requests +generated by other process from Tryton.") (license license:gpl3+))) -(define-public python-trytond-stock-supply +(define-public python-trytond-stock (package - (name "python-trytond-stock-supply") + (name "python-trytond-stock") (version "5.6.1") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_stock_supply" version)) + (uri (pypi-uri "trytond_stock" version)) (sha256 - (base32 "0lw7qrg58k5pjpp3nz73rmlm8v086l49ri31ci75calm552zpfay")))) + (base32 "13m57absscks2advpjz0mmmp6c0c4ksf9aln1brqyd0js38arw76")))) (build-system python-build-system) (arguments `(#:phases @@ -760,10 +797,9 @@ (define-public python-trytond-stock-supply "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "python" runtest "-m" "stock_supply"))))))) + (invoke "python" runtest "-m" "stock"))))))) (native-inputs `(("python" ,python-minimal-wrapper) - ("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -774,35 +810,35 @@ (define-public python-trytond-stock-supply ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-sql" ,python-sql) - ("python-trytond-account" - ,python-trytond-account) + `(("python-simpleeval" ,python-simpleeval) + ("python-sql" ,python-sql) + ("python-trytond-company" + ,python-trytond-company) + ("python-trytond-currency" + ,python-trytond-currency) ("python-trytond-party" ,python-trytond-party) ("python-trytond-product" ,python-trytond-product) - ("python-trytond-purchase" - ,python-trytond-purchase) - ("python-trytond-purchase-request" - ,python-trytond-purchase-request) - ("python-trytond-stock" ,python-trytond-stock) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") - (synopsis "Tryton module for stock supply") + (synopsis "Tryton module for stock and inventory") (description - "This package provides a Tryton module that adds automatic supply -mechanisms and introduces the concepts of order point.") + "This package provides a Tryton module that defines the fundamentals for +all stock management situations: Locations where products are stored, moves +between these locations, shipments for product arrivals and departures and +inventory to control and update stock levels.") (license license:gpl3+))) -(define-public python-trytond-purchase +(define-public python-trytond-stock-lot (package - (name "python-trytond-purchase") + (name "python-trytond-stock-lot") (version "5.6.0") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_purchase" version)) + (uri (pypi-uri "trytond_stock_lot" version)) (sha256 - (base32 "0znjxhhwqlz4sq96ah9g28mvw4w83rhp022h6vihnz64z2ad3p3z")))) + (base32 "0a0kc8dyx2zw244dhq6lm2jdp1kzpllhdhrmx7kkr9cjhp58rqip")))) (build-system python-build-system) (arguments `(#:phases @@ -816,9 +852,9 @@ (define-public python-trytond-purchase "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - (invoke "python" runtest "-m" "purchase"))))))) + (invoke "python" runtest "-m" "stock_lot"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) + `(("python" ,python) ("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) @@ -827,43 +863,30 @@ (define-public python-trytond-purchase ("python-polib" ,python-polib) ("python-proteus" ,python-proteus) ("python-relatorio" ,python-relatorio) + ("python-sql" ,python-sql) ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-sql" ,python-sql) - ("python-trytond-account" - ,python-trytond-account) - ("python-trytond-account-invoice" - ,python-trytond-account-invoice) - ("python-trytond-account-invoice-stock" - ,python-trytond-account-invoice-stock) - ("python-trytond-account-product" - ,python-trytond-account-product) - ("python-trytond-company" - ,python-trytond-company) - ("python-trytond-currency" - ,python-trytond-currency) - ("python-trytond-party" ,python-trytond-party) - ("python-trytond-product" + `(("python-trytond-product" ,python-trytond-product) ("python-trytond-stock" ,python-trytond-stock) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") - (synopsis "Tryton module for purchase") + (synopsis "Tryton module for lot of products") (description - "This package provides a Tryton module that defines the Purchase model.") + "This package provides a Tryton module that defines lot of products.") (license license:gpl3+))) -(define-public python-trytond-purchase-request +(define-public python-trytond-stock-supply (package - (name "python-trytond-purchase-request") - (version "5.6.0") + (name "python-trytond-stock-supply") + (version "5.6.1") (source (origin (method url-fetch) - (uri (pypi-uri "trytond_purchase_request" version)) + (uri (pypi-uri "trytond_stock_supply" version)) (sha256 - (base32 "15r1x3jzr83rna1vfpans277785dpmgjr7989icav602nkyhhx0x")))) + (base32 "0lw7qrg58k5pjpp3nz73rmlm8v086l49ri31ci75calm552zpfay")))) (build-system python-build-system) (arguments `(#:phases @@ -877,9 +900,7 @@ (define-public python-trytond-purchase-request "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) - ;; Doctest 'scenario_purchase_request.rst' fails. - (invoke "python" runtest - "-m" "purchase_request" "--no-doctest"))))))) + (invoke "python" runtest "-m" "stock_supply"))))))) (native-inputs `(("python" ,python-minimal-wrapper) ("python-dateutil" ,python-dateutil) @@ -890,41 +911,24 @@ (define-public python-trytond-purchase-request ("python-polib" ,python-polib) ("python-proteus" ,python-proteus) ("python-relatorio" ,python-relatorio) - ("python-sql" ,python-sql) ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-trytond-product" + `(("python-sql" ,python-sql) + ("python-trytond-account" + ,python-trytond-account) + ("python-trytond-party" ,python-trytond-party) + ("python-trytond-product" ,python-trytond-product) ("python-trytond-purchase" ,python-trytond-purchase) + ("python-trytond-purchase-request" + ,python-trytond-purchase-request) + ("python-trytond-stock" ,python-trytond-stock) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") - (synopsis "Tryton module for purchase requests") + (synopsis "Tryton module for stock supply") (description - "This package provides a Tryton module that introduces the concept of -Purchase Requests which are central points to collect purchase requests -generated by other process from Tryton.") + "This package provides a Tryton module that adds automatic supply +mechanisms and introduces the concepts of order point.") (license license:gpl3+))) - -(define-public python-proteus - (package - (name "python-proteus") - (version "5.6.0") - (source - (origin - (method url-fetch) - (uri (pypi-uri "proteus" version)) - (sha256 - (base32 "0kxac5pkps243wf0xbmbd1g5bml96xl94j88y6yyzm093vyli150")))) - (build-system python-build-system) - ;; Tests require python-trytond-party which requires python-proteus. - (arguments - `(#:tests? #f)) - (propagated-inputs - `(("python-dateutil" ,python-dateutil))) - (home-page "http://www.tryton.org/") - (synopsis "Library to access a Tryton server as a client") - (description - "This package provides a library to access Tryton server as a client.") - (license license:lgpl3+))) -- cgit v1.2.3 From 08ec571c2865b563f5cb53a9c8b64da79d8f7edc Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sat, 23 Jan 2021 21:05:40 +0100 Subject: gnu: tryton.scm: Remove unused native inputs. Python is already provided by the python build-system, thus there is not need for listing it a native input. * gnu/packages/tryton.scm (python-trytond-account, python-trytond-account-invoice, python-trytond-account-invoice-stock, python-trytond-account-product, python-trytond-analytic-account, python-trytond-company, python-trytond-country, python-trytond-currency, python-trytond-party, python-trytond-product, python-trytond-purchase, python-trytond-purchase-request, python-trytond-stock, python-trytond-stock-lot, python-trytond-stock-supply)[native-inputs]: Remove python. --- gnu/packages/tryton.scm | 45 +++++++++++++++------------------------------ 1 file changed, 15 insertions(+), 30 deletions(-) (limited to 'gnu/packages/tryton.scm') diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index ceb207eb39..2867a7bb66 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -173,8 +173,7 @@ (define-public python-trytond-account (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "account"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) - ("python-genshi" ,python-genshi) + `(("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) ("python-passlib" ,python-passlib) @@ -225,8 +224,7 @@ (define-public python-trytond-account-invoice (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "account_invoice"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) - ("python-genshi" ,python-genshi) + `(("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) ("python-passlib" ,python-passlib) @@ -284,8 +282,7 @@ (define-public python-trytond-account-invoice-stock (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "account_invoice_stock"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) - ("python-dateutil" ,python-dateutil) + `(("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -336,8 +333,7 @@ (define-public python-trytond-account-product (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "account_product"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) - ("python-dateutil" ,python-dateutil) + `(("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -390,8 +386,7 @@ (define-public python-trytond-analytic-account (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "analytic_account"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) - ("python-dateutil" ,python-dateutil) + `(("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -443,8 +438,7 @@ (define-public python-trytond-company (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "company"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) - ("python-dateutil" ,python-dateutil) + `(("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -493,8 +487,7 @@ (define-public python-trytond-country ;; Doctest contains one test that requires internet access. (invoke "python" runtest "-m" "country" "--no-doctest"))))))) (native-inputs - `(("python" ,python) - ("python-dateutil" ,python-dateutil) + `(("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -539,8 +532,7 @@ (define-public python-trytond-currency (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "currency"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) - ("python-dateutil" ,python-dateutil) + `(("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-forex-python" ,python-forex-python) ("python-lxml" ,python-lxml) @@ -588,8 +580,7 @@ (define-public python-trytond-party ;; Doctest 'scenario_party_phone_number.rst' fails. (invoke "python" runtest "-m" "party" "--no-doctest"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) - ("python-dateutil" ,python-dateutil) + `(("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -636,8 +627,7 @@ (define-public python-trytond-product (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "product"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) - ("python-dateutil" ,python-dateutil) + `(("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -685,8 +675,7 @@ (define-public python-trytond-purchase (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "purchase"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) - ("python-dateutil" ,python-dateutil) + `(("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -748,8 +737,7 @@ (define-public python-trytond-purchase-request (invoke "python" runtest "-m" "purchase_request" "--no-doctest"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) - ("python-dateutil" ,python-dateutil) + `(("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -799,8 +787,7 @@ (define-public python-trytond-stock (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "stock"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) - ("python-genshi" ,python-genshi) + `(("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) ("python-passlib" ,python-passlib) @@ -854,8 +841,7 @@ (define-public python-trytond-stock-lot (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "stock_lot"))))))) (native-inputs - `(("python" ,python) - ("python-dateutil" ,python-dateutil) + `(("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) @@ -902,8 +888,7 @@ (define-public python-trytond-stock-supply (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "stock_supply"))))))) (native-inputs - `(("python" ,python-minimal-wrapper) - ("python-dateutil" ,python-dateutil) + `(("python-dateutil" ,python-dateutil) ("python-genshi" ,python-genshi) ("python-lxml" ,python-lxml) ("python-magic" ,python-magic) -- cgit v1.2.3 From 823cca8bce2d61b843d9c55a9d3cb9e69ff2a4ca Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Fri, 22 Jan 2021 23:12:24 +0100 Subject: gnu: tryton applcations and framework: Update to 5.8.2. * gnu/packages/tryton.scm (trytond, tryton, python-trytond-stock, python-trytond-stock-lot): Update to 5.8.2. (python-proteus, python-trytond-account, python-trytond-account-invoice, python-trytond-account-invoice-stock, python-trytond-account-product, python-trytond-analytic-account, python-trytond-company, python-trytond-country, python-trytond-currency, python-trytond-party, python-trytond-product, python-trytond-purchase, python-trytond-purchase-request, python-trytond-stock-supply): Update to 5.8.1. --- gnu/packages/tryton.scm | 72 ++++++++++++++++++++++++------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) (limited to 'gnu/packages/tryton.scm') diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 2867a7bb66..e9484aa487 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -40,13 +40,13 @@ (define-module (gnu packages tryton) (define-public trytond (package (name "trytond") - (version "5.6.5") + (version "5.8.2") (source (origin (method url-fetch) (uri (pypi-uri "trytond" version)) (sha256 - (base32 "1n76ccv2x5csz80p42dav8rhzg2m14wdi3bj1pizhw8x2hxxfwx3")))) + (base32 "1h1x0cmmmxvjclbglvvxkv634jw6av5ilymbix1lln5lq0gd39yy")))) (build-system python-build-system) (inputs `(("python-dateutil" ,python-dateutil) @@ -84,13 +84,13 @@ (define-public python-trytond (define-public tryton (package (name "tryton") - (version "5.6.3") + (version "5.8.2") (source (origin (method url-fetch) (uri (pypi-uri "tryton" version)) (sha256 - (base32 "1dghr6x5wga3sizjvj261xndpl38si5hwiz3llm2bhmg33nplfh7")))) + (base32 "0kr5ngmmldgb9a9d5ylkmppy5p8vlf9d8iwv9lnci2fyxg2705wh")))) (build-system python-build-system) (arguments `(#:phases @@ -125,13 +125,13 @@ (define-public tryton (define-public python-proteus (package (name "python-proteus") - (version "5.6.0") + (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "proteus" version)) (sha256 - (base32 "0kxac5pkps243wf0xbmbd1g5bml96xl94j88y6yyzm093vyli150")))) + (base32 "03z5ssvjcvxv1p10y7c1y0jah0k3yyc9hlyi7xax98sfqyk13bnw")))) (build-system python-build-system) ;; Tests require python-trytond-party which requires python-proteus. (arguments @@ -151,13 +151,13 @@ (define-public python-proteus (define-public python-trytond-account (package (name "python-trytond-account") - (version "5.6.1") + (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_account" version)) (sha256 - (base32 "17q0cxp3vkymbv62ir4c6kg9y8lx8xvz30p0asrbsnbgwl6sjm30")))) + (base32 "16ny67vcnxk9ngcxd56cfixm441vs9jxv3apmb16xsi47yk2xd7w")))) (build-system python-build-system) (arguments `(#:phases @@ -202,13 +202,13 @@ (define-public python-trytond-account (define-public python-trytond-account-invoice (package (name "python-trytond-account-invoice") - (version "5.6.1") + (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_account_invoice" version)) (sha256 - (base32 "0ic5zghg50m6jwdr88y4vgzy58g1h17b63sbhh61brys1cp2dxhc")))) + (base32 "0drccambg6855p7ai8654c7f9v85jzwicwpxmagyrr09qz6qzgcz")))) (build-system python-build-system) (arguments `(#:phases @@ -258,7 +258,7 @@ (define-public python-trytond-account-invoice (define-public python-trytond-account-invoice-stock (package (name "python-trytond-account-invoice-stock") - (version "5.6.0") + (version "5.8.1") (source (origin (method url-fetch) @@ -266,7 +266,7 @@ (define-public python-trytond-account-invoice-stock "trytond_account_invoice_stock" version)) (sha256 - (base32 "1ky39ab8ax7hla5d9qgmp0p4ra4q6n29xc3wba5qdw3ij8wkn96f")))) + (base32 "02m6ikcc38ac41ddzg5xp5l9jz0k6j7j1g2xa62ki4v093yn4z5v")))) (build-system python-build-system) (arguments `(#:phases @@ -311,13 +311,13 @@ (define-public python-trytond-account-invoice-stock (define-public python-trytond-account-product (package (name "python-trytond-account-product") - (version "5.6.0") + (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_account_product" version)) (sha256 - (base32 "0iyk07adixf37jlvn7n27ac12hk23zx09w4s78dr9sfp0lsf8vv8")))) + (base32 "10bpbkkmllbh9lm5ajydmc5nvqm9bbdn9rmm03jqgik23s5kyx2z")))) (build-system python-build-system) (arguments `(#:phases @@ -364,13 +364,13 @@ (define-public python-trytond-account-product (define-public python-trytond-analytic-account (package (name "python-trytond-analytic-account") - (version "5.6.0") + (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_analytic_account" version)) (sha256 - (base32 "02hv3mmhadz248vy4azrw8rs2mwgsixd4cnzsm82z15gjmfxl34q")))) + (base32 "10rn2rf1ji7d1gxmgca368yvabql1ahklqg7p8sh5bl79vn5qx5x")))) (build-system python-build-system) (arguments `(#:phases @@ -416,13 +416,13 @@ (define-public python-trytond-analytic-account (define-public python-trytond-company (package (name "python-trytond-company") - (version "5.6.0") + (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_company" version)) (sha256 - (base32 "0fa2yswfal1fbmm0ml845lm6bwcm65fln6s1xq1wqi17xqbbx44x")))) + (base32 "1bwy2rkgfw32cwhq5fh3rpy7bx425h44ap10i9kjx5ak86bfnpz9")))) (build-system python-build-system) (arguments `(#:phases @@ -464,13 +464,13 @@ (define-public python-trytond-company (define-public python-trytond-country (package (name "python-trytond-country") - (version "5.6.0") + (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_country" version)) (sha256 - (base32 "0k1xw5r2pfd5mvvg3pn3vavwjwpgmm5i6nsc8x421znk4gvvns78")))) + (base32 "1lkspk5w5pb0gg2h27zb7vwcj993gkm1f84qdxmqlpkc8raqvicj")))) (build-system python-build-system) (arguments `(#:phases @@ -510,13 +510,13 @@ (define-public python-trytond-country (define-public python-trytond-currency (package (name "python-trytond-currency") - (version "5.6.0") + (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_currency" version)) (sha256 - (base32 "1x6ynxpbafjpky5vfir9favijj6v5gl62szshladlx14ng6qgm68")))) + (base32 "0b5p7ibil7nlsv7f31j69rka4xj5za798262algx7xa88a6h7mmx")))) (build-system python-build-system) (arguments `(#:phases @@ -557,13 +557,13 @@ (define-public python-trytond-currency (define-public python-trytond-party (package (name "python-trytond-party") - (version "5.6.0") + (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_party" version)) (sha256 - (base32 "0wh7g1g67g4vwxm797ra6fkfvmd3w77vl7nxj76y856cy217gbzp")))) + (base32 "1hapfq7ip99s4qp9xra1m40q4n379p9pmfnz2x4ggd79ss76bghc")))) (build-system python-build-system) (arguments `(#:phases @@ -605,13 +605,13 @@ (define-public python-trytond-party (define-public python-trytond-product (package (name "python-trytond-product") - (version "5.6.1") + (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_product" version)) (sha256 - (base32 "0k1sw1jfgsm9qhyhv4lzama31db6ccjx5f2a7xw96ypflfl9f1xz")))) + (base32 "0x18ngpjyrdwjwg17bz98jph4jv5gcv0qc0p2kxpam4lqsy34ic2")))) (build-system python-build-system) (arguments `(#:phases @@ -653,13 +653,13 @@ (define-public python-trytond-product (define-public python-trytond-purchase (package (name "python-trytond-purchase") - (version "5.6.0") + (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_purchase" version)) (sha256 - (base32 "0znjxhhwqlz4sq96ah9g28mvw4w83rhp022h6vihnz64z2ad3p3z")))) + (base32 "0na74zijj46b12gypy9si3las02a96rh5ygl503c7razha61g1b0")))) (build-system python-build-system) (arguments `(#:phases @@ -713,13 +713,13 @@ (define-public python-trytond-purchase (define-public python-trytond-purchase-request (package (name "python-trytond-purchase-request") - (version "5.6.0") + (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_purchase_request" version)) (sha256 - (base32 "15r1x3jzr83rna1vfpans277785dpmgjr7989icav602nkyhhx0x")))) + (base32 "1m92snnvgisnv083nml6cz5qgnfdg539rd5bwg3lqrknm7343w16")))) (build-system python-build-system) (arguments `(#:phases @@ -765,13 +765,13 @@ (define-public python-trytond-purchase-request (define-public python-trytond-stock (package (name "python-trytond-stock") - (version "5.6.1") + (version "5.8.2") (source (origin (method url-fetch) (uri (pypi-uri "trytond_stock" version)) (sha256 - (base32 "13m57absscks2advpjz0mmmp6c0c4ksf9aln1brqyd0js38arw76")))) + (base32 "0yb8kd3alwqkivrlpx0ni4jxv3x14i37lmwism9yi81xwchyrcjk")))) (build-system python-build-system) (arguments `(#:phases @@ -819,13 +819,13 @@ (define-public python-trytond-stock (define-public python-trytond-stock-lot (package (name "python-trytond-stock-lot") - (version "5.6.0") + (version "5.8.2") (source (origin (method url-fetch) (uri (pypi-uri "trytond_stock_lot" version)) (sha256 - (base32 "0a0kc8dyx2zw244dhq6lm2jdp1kzpllhdhrmx7kkr9cjhp58rqip")))) + (base32 "0w2f62cfzm7j8wnw8igmjslpxc1a8s82dkdizyvim5qhjg6mrsym")))) (build-system python-build-system) (arguments `(#:phases @@ -866,13 +866,13 @@ (define-public python-trytond-stock-lot (define-public python-trytond-stock-supply (package (name "python-trytond-stock-supply") - (version "5.6.1") + (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_stock_supply" version)) (sha256 - (base32 "0lw7qrg58k5pjpp3nz73rmlm8v086l49ri31ci75calm552zpfay")))) + (base32 "01cgpxlznldrba79a3xmj4d0csyfc3ccgs66c490j8v8rdnqpbww")))) (build-system python-build-system) (arguments `(#:phases -- cgit v1.2.3