Subject: [bug#50295] [PATCH 5/6] gnu: tryton modules: Remove propagated-inputs propagated elsewhere.

From: Hartmut Goebel <[email-masked]>
Date: Tue, 31 Aug 2021 10:49:37 +0200

>From all tryton modules propagating `trytond` remove the packages already
propagated by `trytond`.

* gnu/packages/tryton.scm (account, account_invoice) [propagated-inputs]:
  Remove python-dateutils, python-sql.
  (analytic_account, party, product, purchase, stock,
  stock_supply) [propagated-inputs]: Remove python-sql.
---
 gnu/packages/tryton.scm | 24 +++++++-----------------
 1 file changed, 7 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm
index d9acc671e1..6d8e71354f 100644
--- a/gnu/packages/tryton.scm
+++ b/gnu/packages/tryton.scm
@@ -199,9 +199,7 @@ the build system."
     (arguments (tryton-arguments "account"))
     (native-inputs `(,@%standard-trytond-native-inputs))
     (propagated-inputs
-     `(("python-dateutil" ,python-dateutil)
-       ("python-simpleeval" ,python-simpleeval)
-       ("python-sql" ,python-sql)
+     `(("python-simpleeval" ,python-simpleeval)
        ("trytond" ,trytond)
        ("trytond-company" ,trytond-company)
        ("trytond-currency" ,trytond-currency)
@@ -230,9 +228,7 @@ most of accounting needs.")
     (arguments (tryton-arguments "account_invoice"))
     (native-inputs `(,@%standard-trytond-native-inputs))
     (propagated-inputs
-     `(("python-dateutil" ,python-dateutil)
-       ("python-sql" ,python-sql)
-       ("trytond" ,trytond)
+     `(("trytond" ,trytond)
        ("trytond-account" ,trytond-account)
        ("trytond-account-product" ,trytond-account-product)
        ("trytond-company" ,trytond-company)
@@ -324,8 +320,7 @@ and category.")
     (arguments (tryton-arguments "analytic_account"))
     (native-inputs `(,@%standard-trytond-native-inputs))
     (propagated-inputs
-     `(("python-sql" ,python-sql)
-       ("trytond" ,trytond)
+     `(("trytond" ,trytond)
        ("trytond-account" ,trytond-account)
        ("trytond-company" ,trytond-company)
        ("trytond-currency" ,trytond-currency)
@@ -438,8 +433,7 @@ currency and rate.")
     (arguments (tryton-arguments "party" "--no-doctest"))
     (native-inputs `(,@%standard-trytond-native-inputs))
     (propagated-inputs
-     `(("python-sql" ,python-sql)
-       ("python-stnum" ,python-stdnum)
+     `(("python-stdnum" ,python-stdnum)
        ("trytond" ,trytond)
        ("trytond-country" ,trytond-country)))
     (home-page "https://www.tryton.org/")
@@ -466,8 +460,7 @@ addresses.")
     (arguments (tryton-arguments "product"))
     (native-inputs `(,@%standard-trytond-native-inputs))
     (propagated-inputs
-     `(("python-sql" ,python-sql)
-       ("python-stdnum" ,python-stdnum)
+     `(("python-stdnum" ,python-stdnum)
        ("trytond" ,trytond)
        ("trytond-company" ,trytond-company)))
     (home-page "https://www.tryton.org/")
@@ -494,8 +487,7 @@ Template and Product.")
     (arguments (tryton-arguments "purchase"))
     (native-inputs `(,@%standard-trytond-native-inputs))
     (propagated-inputs
-     `(("python-sql" ,python-sql)
-       ("trytond" ,trytond)
+     `(("trytond" ,trytond)
        ("trytond-account" ,trytond-account)
        ("trytond-account-invoice" ,trytond-account-invoice)
        ("trytond-account-invoice-stock" ,trytond-account-invoice-stock)
@@ -559,7 +551,6 @@ generated by other process from Tryton.")
     (native-inputs `(,@%standard-trytond-native-inputs))
     (propagated-inputs
      `(("python-simpleeval" ,python-simpleeval)
-       ("python-sql" ,python-sql)
        ("trytond" ,trytond)
        ("trytond-company" ,trytond-company)
        ("trytond-currency" ,trytond-currency)
@@ -617,8 +608,7 @@ inventory to control and update stock levels.")
     (arguments (tryton-arguments "stock_supply"))
     (native-inputs `(,@%standard-trytond-native-inputs))
     (propagated-inputs
-     `(("python-sql" ,python-sql)
-       ("trytond" ,trytond)
+     `(("trytond" ,trytond)
        ("trytond-account" ,trytond-account)
        ("trytond-party" ,trytond-party)
        ("trytond-product" ,trytond-product)
-- 
2.30.2