From patchwork Tue Aug 31 08:49:35 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 32437 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 7B18327BBE1; Tue, 31 Aug 2021 09:50:24 +0100 (BST) 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_H2,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 6C51327BBE3 for ; Tue, 31 Aug 2021 09:50:23 +0100 (BST) Received: from localhost ([::1]:42854 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKzTK-0002Pr-Ej for patchwork@mira.cbaines.net; Tue, 31 Aug 2021 04:50:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60622) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKzT5-000252-VH for guix-patches@gnu.org; Tue, 31 Aug 2021 04:50:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKzT5-00082J-MC for guix-patches@gnu.org; Tue, 31 Aug 2021 04:50:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKzT5-0000ye-HE for guix-patches@gnu.org; Tue, 31 Aug 2021 04:50:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50295] [PATCH 3/6] gnu: tryton modules: Remove "python"- prefix from name. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Aug 2021 08:50:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50295 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50295@debbugs.gnu.org X-Debbugs-Original-To: 50295@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16303998033693 (code B ref -1); Tue, 31 Aug 2021 08:50:07 +0000 Received: (at submit) by debbugs.gnu.org; 31 Aug 2021 08:50:03 +0000 Received: from localhost ([127.0.0.1]:32900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKzSy-0000x0-R8 for submit@debbugs.gnu.org; Tue, 31 Aug 2021 04:50:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:45598) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKzSr-0000wD-A5 for submit@debbugs.gnu.org; Tue, 31 Aug 2021 04:49:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKzSr-0001u7-2c for guix-patches@gnu.org; Tue, 31 Aug 2021 04:49:53 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:59814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKzSo-0007mC-Cj for guix-patches@gnu.org; Tue, 31 Aug 2021 04:49:52 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4GzLV52fFbz1rk5h; Tue, 31 Aug 2021 10:49:49 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4GzLV52WBpz1qqkH; Tue, 31 Aug 2021 10:49:49 +0200 (CEST) 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 t-IM9sqhGgKC; Tue, 31 Aug 2021 10:49:47 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-49-67.dynamic.mnet-online.de [188.174.49.67]) (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; Tue, 31 Aug 2021 10:49:47 +0200 (CEST) Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id 602BF60158; Tue, 31 Aug 2021 10:49:44 +0200 (CEST) From: Hartmut Goebel Date: Tue, 31 Aug 2021 10:49:35 +0200 Message-Id: <33e57d2c97aedffa6e4968ee2c95eba511b64a06.1630398482.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: none client-ip=212.18.0.10; 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 Remove the `python-` prefix from all trytond module packages. The aspect that these packages are plugins for trytond is much more relevant than that they are written in Python. * 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-counpython-try, 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): New deprecated packages. (trytond-account, trytond-account-invoice, trytond-account-invoice-stock, trytond-account-product, trytond-analytic-account, trytond-company, trytond-country, trytond-currency, trytond-party, trytond-product, trytond-purchase, trytond-purchase-request, trytond-stock, trytond-stock-lot, trytond-stock-supply): Renamed from the respective above. [propagated-inputs]: Adjusted and re-ordered. --- gnu/packages/tryton.scm | 264 +++++++++++++++++++++------------------- 1 file changed, 139 insertions(+), 125 deletions(-) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 53a4f80c35..d7f03e9181 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -2,6 +2,7 @@ ;;; Copyright © 2017 Adriano Peluso ;;; Copyright © 2020 Vinicius Monego ;;; Copyright © 2021 Maxime Devos +;;; Copyright © 2021 Hartmut Goebel ;;; ;;; This file is part of GNU Guix. ;;; @@ -170,9 +171,9 @@ the build system." ;;; Tryton modules - please sort alphabetically ;;; -(define-public python-trytond-account +(define-public trytond-account (package - (name "python-trytond-account") + (name "trytond-account") (version "5.8.1") (source (origin @@ -196,12 +197,10 @@ the build system." `(("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))) + ("trytond" ,trytond) + ("trytond-company" ,trytond-company) + ("trytond-currency" ,trytond-currency) + ("trytond-party" ,trytond-party))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for accounting") (description @@ -209,9 +208,12 @@ the build system." most of accounting needs.") (license license:gpl3+))) -(define-public python-trytond-account-invoice +(define-public python-trytond-account + (deprecated-package "python-trytond-account" trytond-account)) + +(define-public trytond-account-invoice (package - (name "python-trytond-account-invoice") + (name "trytond-account-invoice") (version "5.8.1") (source (origin @@ -234,18 +236,13 @@ most of accounting needs.") (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))) + ("trytond" ,trytond) + ("trytond-account" ,trytond-account) + ("trytond-account-product" ,trytond-account-product) + ("trytond-company" ,trytond-company) + ("trytond-currency" ,trytond-currency) + ("trytond-party" ,trytond-party) + ("trytond-product" ,trytond-product))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for invoicing") (description @@ -253,9 +250,12 @@ most of accounting needs.") term.") (license license:gpl3+))) -(define-public python-trytond-account-invoice-stock +(define-public python-trytond-account-invoice + (deprecated-package "python-trytond-account-invoice" trytond-account-invoice)) + +(define-public trytond-account-invoice-stock (package - (name "python-trytond-account-invoice-stock") + (name "trytond-account-invoice-stock") (version "5.8.1") (source (origin @@ -280,12 +280,10 @@ term.") ("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))) + `(("trytond" ,trytond) + ("trytond-account-invoice" ,trytond-account-invoice) + ("trytond-product" ,trytond-product) + ("trytond-stock" ,trytond-stock))) (home-page "https://www.tryton.org/") (synopsis "Tryton module to link stock and invoice") (description @@ -294,9 +292,13 @@ 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 +(define-public python-trytond-account-invoice-stock + (deprecated-package + "python-trytond-account-invoice-stock" trytond-account-invoice-stock)) + +(define-public trytond-account-product (package - (name "python-trytond-account-product") + (name "trytond-account-product") (version "5.8.1") (source (origin @@ -319,15 +321,11 @@ average price of the posted invoice lines that are linked to it.") ("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))) + `(("trytond" ,trytond) + ("trytond-account" ,trytond-account) + ("trytond-analytic-account" ,trytond-analytic-account) + ("trytond-company" ,trytond-company) + ("trytond-product" ,trytond-product))) (home-page "https://www.tryton.org/") (synopsis "Tryton module to add accounting on product") (description @@ -335,9 +333,12 @@ average price of the posted invoice lines that are linked to it.") and category.") (license license:gpl3+))) -(define-public python-trytond-analytic-account +(define-public python-trytond-account-product + (deprecated-package "python-trytond-account-product" trytond-account-product)) + +(define-public trytond-analytic-account (package - (name "python-trytond-analytic-account") + (name "trytond-analytic-account") (version "5.8.1") (source (origin @@ -360,14 +361,11 @@ and category.") ("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))) + ("trytond" ,trytond) + ("trytond-account" ,trytond-account) + ("trytond-company" ,trytond-company) + ("trytond-currency" ,trytond-currency) + ("trytond-party" ,trytond-party))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for analytic accounting") (description @@ -375,9 +373,13 @@ and category.") required to analyse accounting using multiple different axes.") (license license:gpl3+))) -(define-public python-trytond-company +(define-public python-trytond-analytic-account + (deprecated-package + "python-trytond-analytic-account" trytond-analytic-account)) + +(define-public trytond-company (package - (name "python-trytond-company") + (name "trytond-company") (version "5.8.1") (source (origin @@ -400,10 +402,9 @@ required to analyse accounting using multiple different axes.") ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-trytond-currency" - ,python-trytond-currency) - ("python-trytond-party" ,python-trytond-party) - ("trytond" ,trytond))) + `(("trytond" ,trytond) + ("trytond-currency" ,trytond-currency) + ("trytond-party" ,trytond-party))) (home-page "https://www.tryton.org/") (synopsis "Tryton module with companies and employees") (description @@ -411,9 +412,12 @@ required to analyse accounting using multiple different axes.") company and employee and extend the user model.") (license license:gpl3+))) -(define-public python-trytond-country +(define-public python-trytond-company + (deprecated-package "python-trytond-company" trytond-company)) + +(define-public trytond-country (package - (name "python-trytond-country") + (name "trytond-country") (version "5.8.1") (source (origin @@ -445,9 +449,12 @@ company and employee and extend the user model.") "This package provides a Tryton module with countries.") (license license:gpl3+))) -(define-public python-trytond-currency +(define-public python-trytond-country + (deprecated-package "python-trytond-country" trytond-country)) + +(define-public trytond-currency (package - (name "python-trytond-currency") + (name "trytond-currency") (version "5.8.1") (source (origin @@ -480,9 +487,12 @@ company and employee and extend the user model.") currency and rate.") (license license:gpl3+))) -(define-public python-trytond-party +(define-public python-trytond-currency + (deprecated-package "python-trytond-currency" trytond-currency)) + +(define-public trytond-party (package - (name "python-trytond-party") + (name "trytond-party") (version "5.8.1") (source (origin @@ -507,8 +517,8 @@ currency and rate.") (propagated-inputs `(("python-sql" ,python-sql) ("python-stnum" ,python-stdnum) - ("python-trytond-country" ,python-trytond-country) - ("trytond" ,trytond))) + ("trytond" ,trytond) + ("trytond-country" ,trytond-country))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for parties and addresses") (description @@ -516,9 +526,12 @@ currency and rate.") addresses.") (license license:gpl3+))) -(define-public python-trytond-product +(define-public python-trytond-party + (deprecated-package "python-trytond-party" trytond-party)) + +(define-public trytond-product (package - (name "python-trytond-product") + (name "trytond-product") (version "5.8.1") (source (origin @@ -542,9 +555,8 @@ addresses.") (propagated-inputs `(("python-sql" ,python-sql) ("python-stdnum" ,python-stdnum) - ("python-trytond-company" - ,python-trytond-company) - ("trytond" ,trytond))) + ("trytond" ,trytond) + ("trytond-company" ,trytond-company))) (home-page "https://www.tryton.org/") (synopsis "Tryton module with products") (description @@ -552,9 +564,12 @@ addresses.") Template and Product.") (license license:gpl3+))) -(define-public python-trytond-purchase +(define-public python-trytond-product + (deprecated-package "python-trytond-product" trytond-product)) + +(define-public trytond-purchase (package - (name "python-trytond-purchase") + (name "trytond-purchase") (version "5.8.1") (source (origin @@ -577,32 +592,28 @@ Template and Product.") ("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))) + ("trytond" ,trytond) + ("trytond-account" ,trytond-account) + ("trytond-account-invoice" ,trytond-account-invoice) + ("trytond-account-invoice-stock" ,trytond-account-invoice-stock) + ("trytond-account-product" ,trytond-account-product) + ("trytond-company" ,trytond-company) + ("trytond-currency" ,trytond-currency) + ("trytond-party" ,trytond-party) + ("trytond-product" ,trytond-product) + ("trytond-stock" ,trytond-stock))) (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 +(define-public python-trytond-purchase + (deprecated-package "python-trytond-purchase" trytond-purchase)) + +(define-public trytond-purchase-request (package - (name "python-trytond-purchase-request") + (name "trytond-purchase-request") (version "5.8.1") (source (origin @@ -626,11 +637,9 @@ Template and Product.") ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-trytond-product" - ,python-trytond-product) - ("python-trytond-purchase" - ,python-trytond-purchase) - ("trytond" ,trytond))) + `(("trytond" ,trytond) + ("trytond-product" ,trytond-product) + ("trytond-purchase" ,trytond-purchase))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for purchase requests") (description @@ -639,9 +648,13 @@ Purchase Requests which are central points to collect purchase requests generated by other process from Tryton.") (license license:gpl3+))) -(define-public python-trytond-stock +(define-public python-trytond-purchase-request + (deprecated-package + "python-trytond-purchase-request" trytond-purchase-request)) + +(define-public trytond-stock (package - (name "python-trytond-stock") + (name "trytond-stock") (version "5.8.2") (source (origin @@ -664,14 +677,11 @@ generated by other process from Tryton.") (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))) + ("trytond" ,trytond) + ("trytond-company" ,trytond-company) + ("trytond-currency" ,trytond-currency) + ("trytond-party" ,trytond-party) + ("trytond-product" ,trytond-product))) (home-page "https://www.tryton.org/") (synopsis "Tryton module for stock and inventory") (description @@ -681,9 +691,12 @@ 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 +(define-public python-trytond-stock + (deprecated-package "python-trytond-stock" trytond-stock)) + +(define-public trytond-stock-lot (package - (name "python-trytond-stock-lot") + (name "trytond-stock-lot") (version "5.8.2") (source (origin @@ -706,19 +719,21 @@ inventory to control and update stock levels.") ("python-werkzeug" ,python-werkzeug) ("python-wrapt" ,python-wrapt))) (propagated-inputs - `(("python-trytond-product" - ,python-trytond-product) - ("python-trytond-stock" ,python-trytond-stock) - ("trytond" ,trytond))) + `(("trytond" ,trytond) + ("trytond-product" ,trytond-product) + ("trytond-stock" ,trytond-stock))) (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 +(define-public python-trytond-stock-lot + (deprecated-package "python-trytond-stock-lot" trytond-stock-lot)) + +(define-public trytond-stock-supply (package - (name "python-trytond-stock-supply") + (name "trytond-stock-supply") (version "5.8.1") (source (origin @@ -741,20 +756,19 @@ inventory to control and update stock levels.") ("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))) + ("trytond" ,trytond) + ("trytond-account" ,trytond-account) + ("trytond-party" ,trytond-party) + ("trytond-product" ,trytond-product) + ("trytond-purchase" ,trytond-purchase) + ("trytond-purchase-request" ,trytond-purchase-request) + ("trytond-stock" ,trytond-stock))) (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+))) + +(define-public python-trytond-stock-supply + (deprecated-package "python-trytond-stock-supply" trytond-stock-supply))