From patchwork Thu Sep 16 22:53:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 32980 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 5012227BBE3; Fri, 17 Sep 2021 00:04:37 +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,TVD_SPACE_RATIO,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 F39ED27BBE1 for ; Fri, 17 Sep 2021 00:04:36 +0100 (BST) Received: from localhost ([::1]:52234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR0Qm-00012R-2z for patchwork@mira.cbaines.net; Thu, 16 Sep 2021 19:04:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41384) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0LS-0008Q3-Il for guix-patches@gnu.org; Thu, 16 Sep 2021 18:59:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45727) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR0LS-0005g0-87 for guix-patches@gnu.org; Thu, 16 Sep 2021 18:59:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mR0LS-0002pN-6k for guix-patches@gnu.org; Thu, 16 Sep 2021 18:59:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50628] [PATCH 052/154] gnu: Add trytond-carrier-percentage. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Sep 2021 22:59:06 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50628 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50628@debbugs.gnu.org X-Debbugs-Original-To: 50628@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163183309810472 (code B ref -1); Thu, 16 Sep 2021 22:59:06 +0000 Received: (at submit) by debbugs.gnu.org; 16 Sep 2021 22:58:18 +0000 Received: from localhost ([127.0.0.1]:57198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0Kg-0002ik-7y for submit@debbugs.gnu.org; Thu, 16 Sep 2021 18:58:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:38940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0KU-0002fc-LG for submit@debbugs.gnu.org; Thu, 16 Sep 2021 18:58:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0KS-0005SK-UO for guix-patches@gnu.org; Thu, 16 Sep 2021 18:58:06 -0400 Received: from mail-out.m-online.net ([2001:a60:0:28:0:1:25:1]:35938) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0KP-0004l9-Pn for guix-patches@gnu.org; Thu, 16 Sep 2021 18:58:03 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4H9XYN4H83z1s8dB; Fri, 17 Sep 2021 00:58:00 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4H9XYN4B1Vz1qqkB; Fri, 17 Sep 2021 00:58:00 +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 7zUTt_-GQBL2; Fri, 17 Sep 2021 00:57:59 +0200 (CEST) Received: from hermia.goebel-consult.de (ppp-188-174-61-8.dynamic.mnet-online.de [188.174.61.8]) (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; Fri, 17 Sep 2021 00:57:59 +0200 (CEST) Received: from thisbe.goebel-consult.de (hermia.goebel-consult.de [192.168.110.7]) by hermia.goebel-consult.de (Postfix) with ESMTP id 01EDF60285; Fri, 17 Sep 2021 00:55:42 +0200 (CEST) From: Hartmut Goebel Date: Fri, 17 Sep 2021 00:53:11 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Received-SPF: none client-ip=2001:a60:0:28:0:1:25:1; 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, SPF_HELO_NONE=0.001, SPF_NONE=0.001, TVD_SPACE_RATIO=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 * gnu/packages/tryton.scm (trytond-carrier-percentage): New variable. --- gnu/packages/tryton.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index c42d34b41e..4472b18305 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -1481,6 +1481,32 @@ and account.") of carrier.") (license license:gpl3+))) +(define-public trytond-carrier-percentage + (package + (name "trytond-carrier-percentage") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_carrier_percentage" version)) + (sha256 + (base32 "0glgjf733qliqxbr1sykxn2rlphagnpixhkg84my7bv6cxfmvkh6")))) + (build-system python-build-system) + (arguments (tryton-arguments "carrier_percentage")) + (native-inputs + `(,@%standard-trytond-native-inputs + ("trytond-purchase-shipment-cost" ,trytond-purchase-shipment-cost) + ("trytond-sale-shipment-cost" ,trytond-sale-shipment-cost))) + (propagated-inputs + `(("trytond" ,trytond) + ("trytond-carrier" ,trytond-carrier) + ("trytond-currency" ,trytond-currency))) + (home-page "https://docs.tryton.org/projects/modules-carrier-percentage") + (synopsis "Tryton module to add cost method based on percentage") + (description "The @emph{Carrier Percentage} Tryton module adds a cost +method \"on percentage\" on carrier.") + (license license:gpl3+))) + (define-public trytond-company (package (name "trytond-company")