;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017 Adriano Peluso ;;; Copyright © 2020 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages tryton) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages check) #:use-module (gnu packages databases) #
aboutsummaryrefslogtreecommitdiff
(uri (pypi-uri "trytond_account_invoice" version)) (sha256 (base32 "0drccambg6855p7ai8654c7f9v85jzwicwpxmagyrr09qz6qzgcz")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/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"))))))) (native-inputs `(("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-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) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for invoicing") (description "This package provides a Tryton module that adds the invoice, payment term.") (license license:gpl3+))) (define-public python-trytond-account-invoice-stock (package (name "python-trytond-account-invoice-stock") (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_account_invoice_stock" version)) (sha256 (base32 "02m6ikcc38ac41ddzg5xp5l9jz0k6j7j1g2xa62ki4v093yn4z5v")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/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"))))))) (native-inputs `(("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) ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("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 to link stock and invoice") (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.") (license license:gpl3+))) (define-public python-trytond-account-product (package (name "python-trytond-account-product") (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_account_product" version)) (sha256 (base32 "10bpbkkmllbh9lm5ajydmc5nvqm9bbdn9rmm03jqgik23s5kyx2z")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/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"))))))) (native-inputs `(("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) ("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) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module to add accounting on product") (description "This package provides a Tryton module that adds accounting on product and category.") (license license:gpl3+))) (define-public python-trytond-analytic-account (package (name "python-trytond-analytic-account") (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_analytic_account" version)) (sha256 (base32 "10rn2rf1ji7d1gxmgca368yvabql1ahklqg7p8sh5bl79vn5qx5x")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/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"))))))) (native-inputs `(("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-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) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for analytic accounting") (description "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-company (package (name "python-trytond-company") (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_company" version)) (sha256 (base32 "1bwy2rkgfw32cwhq5fh3rpy7bx425h44ap10i9kjx5ak86bfnpz9")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "company"))))))) (native-inputs `(("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) ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("python-trytond-currency" ,python-trytond-currency) ("python-trytond-party" ,python-trytond-party) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module with companies and employees") (description "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-country (package (name "python-trytond-country") (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_country" version)) (sha256 (base32 "1lkspk5w5pb0gg2h27zb7vwcj993gkm1f84qdxmqlpkc8raqvicj")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/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"))))))) (native-inputs `(("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) ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("python-pycountry" ,python-pycountry) ("trytond" ,trytond))) (home-page "http://www.tryton.org/") (synopsis "Tryton module with countries") (description "This package provides a Tryton module with countries.") (license license:gpl3+))) (define-public python-trytond-currency (package (name "python-trytond-currency") (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_currency" version)) (sha256 (base32 "0b5p7ibil7nlsv7f31j69rka4xj5za798262algx7xa88a6h7mmx")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "currency"))))))) (native-inputs `(("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-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("python-sql" ,python-sql) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module with currencies") (description "This package provides a Tryton module that defines the concepts of currency and rate.") (license license:gpl3+))) (define-public python-trytond-party (package (name "python-trytond-party") (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_party" version)) (sha256 (base32 "1hapfq7ip99s4qp9xra1m40q4n379p9pmfnz2x4ggd79ss76bghc")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/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"))))))) (native-inputs `(("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-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("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 parties and addresses") (description "This package provides a Tryton module for (counter)parties and addresses.") (license license:gpl3+))) (define-public python-trytond-product (package (name "python-trytond-product") (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_product" version)) (sha256 (base32 "0x18ngpjyrdwjwg17bz98jph4jv5gcv0qc0p2kxpam4lqsy34ic2")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "product"))))))) (native-inputs `(("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-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("python-sql" ,python-sql) ("python-stdnum" ,python-stdnum) ("python-trytond-company" ,python-trytond-company) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module with products") (description "This package provides a Tryton module that defines two concepts: Product Template and Product.") (license license:gpl3+))) (define-public python-trytond-purchase (package (name "python-trytond-purchase") (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_purchase" version)) (sha256 (base32 "0na74zijj46b12gypy9si3las02a96rh5ygl503c7razha61g1b0")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "purchase"))))))) (native-inputs `(("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-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-stock" ,python-trytond-stock) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for purchase") (description "This package provides a Tryton module that defines the Purchase model.") (license license:gpl3+))) (define-public python-trytond-purchase-request (package (name "python-trytond-purchase-request") (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_purchase_request" version)) (sha256 (base32 "1m92snnvgisnv083nml6cz5qgnfdg539rd5bwg3lqrknm7343w16")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/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"))))))) (native-inputs `(("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) ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("python-trytond-product" ,python-trytond-product) ("python-trytond-purchase" ,python-trytond-purchase) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for purchase requests") (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.") (license license:gpl3+))) (define-public python-trytond-stock (package (name "python-trytond-stock") (version "5.8.2") (source (origin (method url-fetch) (uri (pypi-uri "trytond_stock" version)) (sha256 (base32 "0yb8kd3alwqkivrlpx0ni4jxv3x14i37lmwism9yi81xwchyrcjk")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/site-packages/trytond/tests/run-tests.py"))) (lambda* (#:key inputs outputs #:allow-other-keys) (add-installed-pythonpath inputs outputs) (invoke "python" runtest "-m" "stock"))))))) (native-inputs `(("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-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("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) ("trytond" ,trytond))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for stock and inventory") (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.") (license license:gpl3+))) (define-public python-trytond-stock-lot (package (name "python-trytond-stock-lot") (version "5.8.2") (source (origin (method url-fetch) (uri (pypi-uri "trytond_stock_lot" version)) (sha256 (base32 "0w2f62cfzm7j8wnw8igmjslpxc1a8s82dkdizyvim5qhjg6mrsym")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/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"))))))) (native-inputs `(("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) ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("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") (description "This package provides a Tryton module that defines lot of products.") (license license:gpl3+))) (define-public python-trytond-stock-supply (package (name "python-trytond-stock-supply") (version "5.8.1") (source (origin (method url-fetch) (uri (pypi-uri "trytond_stock_supply" version)) (sha256 (base32 "01cgpxlznldrba79a3xmj4d0csyfc3ccgs66c490j8v8rdnqpbww")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (let ((runtest (string-append (assoc-ref %build-inputs "trytond") "/lib/python" ,(version-major+minor (package-version python)) "/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"))))))) (native-inputs `(("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-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs `(("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 stock supply") (description "This package provides a Tryton module that adds automatic supply mechanisms and introduces the concepts of order point.") (license license:gpl3+)))