From patchwork Sat Jan 23 21:38:16 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 26586 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 95AB527BC17; Sat, 23 Jan 2021 21:39:18 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 40FE027BC19 for ; Sat, 23 Jan 2021 21:39:12 +0000 (GMT) Received: from localhost ([::1]:47012 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l3Qch-0003qy-B9 for patchwork@mira.cbaines.net; Sat, 23 Jan 2021 16:39:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48948) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3QcY-0003qV-J9 for guix-patches@gnu.org; Sat, 23 Jan 2021 16:39:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l3QcY-0006XH-Bz for guix-patches@gnu.org; Sat, 23 Jan 2021 16:39:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l3QcY-00023l-8k for guix-patches@gnu.org; Sat, 23 Jan 2021 16:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46057] [PATCH 1/5] gnu: Rename "python-trytond" to "trytond". Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Jan 2021 21:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46057 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46057@debbugs.gnu.org X-Debbugs-Original-To: 46057@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16114379127794 (code B ref -1); Sat, 23 Jan 2021 21:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Jan 2021 21:38:32 +0000 Received: from localhost ([127.0.0.1]:35423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3Qc3-00021S-1Q for submit@debbugs.gnu.org; Sat, 23 Jan 2021 16:38:31 -0500 Received: from lists.gnu.org ([209.51.188.17]:41152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l3Qc1-00021E-7w for submit@debbugs.gnu.org; Sat, 23 Jan 2021 16:38:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:48880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3Qc1-0003oR-0d for guix-patches@gnu.org; Sat, 23 Jan 2021 16:38:29 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:54636) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l3Qby-0006Gu-Eh for guix-patches@gnu.org; Sat, 23 Jan 2021 16:38:28 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4DNTyS3TQrz1qs3H; Sat, 23 Jan 2021 22:38:24 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4DNTyS3Lwlz1tYWC; Sat, 23 Jan 2021 22:38:24 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id hMcWj2xbRYgp; Sat, 23 Jan 2021 22:38:22 +0100 (CET) Received: from hermia.goebel-consult.de (ppp-188-174-57-66.dynamic.mnet-online.de [188.174.57.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Sat, 23 Jan 2021 22:38:22 +0100 (CET) Received: from thisbe.fritz.box (thisbe.fritz.box [192.168.110.24]) by hermia.goebel-consult.de (Postfix) with ESMTP id A380160200; Sat, 23 Jan 2021 22:38:20 +0100 (CET) From: Hartmut Goebel Date: Sat, 23 Jan 2021 22:38:16 +0100 Message-Id: X-Mailer: git-send-email 2.21.3 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: none client-ip=212.18.0.9; envelope-from=h.goebel@crazy-compilers.com; helo=mail-out.m-online.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches 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(-) 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 @@ #: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 @@ (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 @@ and security.") (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 @@ and security.") ("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 @@ and security.") (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 @@ and security.") (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 @@ addresses.") (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 @@ addresses.") ("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 @@ currency and rate.") (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 @@ currency and rate.") ("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 @@ company and employee and extend the user model.") (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 @@ company and employee and extend the user model.") (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 @@ Template and 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"))) @@ -400,12 +403,12 @@ Template and Product.") `(("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 @@ most of accounting needs.") (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 @@ most of accounting needs.") ("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 @@ required to analyse accounting using multiple different axes.") (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 @@ required to analyse accounting using multiple different axes.") ("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 @@ and category.") (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 @@ and category.") (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 @@ and category.") ,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 @@ term.") (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 @@ term.") (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 @@ inventory to control and update stock levels.") (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 @@ inventory to control and update stock levels.") ("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 @@ inventory to control and update stock levels.") (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 @@ inventory to control and update stock levels.") ("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 @@ average price of the posted invoice lines that are linked to it.") (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 @@ average price of the posted invoice lines that are linked to it.") ("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 @@ average price of the posted invoice lines that are linked to it.") ,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 @@ mechanisms and introduces the concepts of order point.") (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 @@ mechanisms and introduces the concepts of order point.") ("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 @@ mechanisms and introduces the concepts of order point.") ("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 @@ mechanisms and introduces the concepts of order point.") (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 @@ mechanisms and introduces the concepts of order point.") ("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