Subject: [PATCH 4/5] gnu: tryton.scm: Remove unused native inputs.

From: Hartmut Goebel <[email-masked]>
Date: Sat, 23 Jan 2021 22:38:19 +0100

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(-)

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 @@ and security.")
                (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 @@ most of accounting needs.")
                (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 @@ term.")
                (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 @@ average price of the posted invoice lines that are linked to it.")
                (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 @@ and category.")
                (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 @@ required to analyse accounting using multiple different axes.")
                (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 @@ company and employee and extend the user model.")
                ;; 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 @@ company and employee and extend the user model.")
                (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 @@ currency and rate.")
                ;; 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 @@ addresses.")
                (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 @@ Template and Product.")
                (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 @@ Template and Product.")
                (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 @@ generated by other process from Tryton.")
                (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 @@ inventory to control and update stock levels.")
                (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 @@ inventory to control and update stock levels.")
                (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)
-- 
2.21.3