From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ngNkINHVQ2GySgEAgWs5BA (envelope-from ) for ; Fri, 17 Sep 2021 01:40:01 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 0IGXG9HVQ2FuQgAA1q6Kng (envelope-from ) for ; Thu, 16 Sep 2021 23:40:01 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 09186891E for ; Fri, 17 Sep 2021 01:40:01 +0200 (CEST) Received: from localhost ([::1]:53166 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR0RA-0001d5-MF for larch@yhetil.org; Thu, 16 Sep 2021 19:05:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0LT-0008UH-JN for guix-patches@gnu.org; Thu, 16 Sep 2021 18:59:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45731) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR0LT-0005hJ-9i for guix-patches@gnu.org; Thu, 16 Sep 2021 18:59:07 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mR0LT-0002pu-90 for guix-patches@gnu.org; Thu, 16 Sep 2021 18:59:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50628] [PATCH 054/154] gnu: Add trytond-carrier-weight. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Sep 2021 22:59:07 +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.163183309910494 (code B ref -1); Thu, 16 Sep 2021 22:59:07 +0000 Received: (at submit) by debbugs.gnu.org; 16 Sep 2021 22:58:19 +0000 Received: from localhost ([127.0.0.1]:57204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0Kh-0002j6-3P for submit@debbugs.gnu.org; Thu, 16 Sep 2021 18:58:19 -0400 Received: from lists.gnu.org ([209.51.188.17]:39070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0KZ-0002gx-4d for submit@debbugs.gnu.org; Thu, 16 Sep 2021 18:58:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40872) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0KY-0005Zr-Qi for guix-patches@gnu.org; Thu, 16 Sep 2021 18:58:10 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:49257) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0KX-0004r6-6j for guix-patches@gnu.org; Thu, 16 Sep 2021 18:58:10 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4H9XYX0Gpdz1qwGm; Fri, 17 Sep 2021 00:58:08 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4H9XYX0B5zz1qqkB; Fri, 17 Sep 2021 00:58:08 +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 21nnyCDd60m5; Fri, 17 Sep 2021 00:58:06 +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:58:06 +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 261976149D; Fri, 17 Sep 2021 00:55:44 +0200 (CEST) From: Hartmut Goebel Date: Fri, 17 Sep 2021 00:53:13 +0200 Message-Id: <5c2d251b926cfc39a6bbe00cf81025532f4e0929.1631832505.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631835601; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=iGG80C/lUGJpovJDD5EvUEDrxyNgrtUf5Il4pTYJbiU=; b=CkGlQnZKVkLIlWcQFgnm26+93fL3EYjpNc9+lbyFr9Dsy/w2pCtKzPl/yg94rr2kJI289f jWZJdMIeIF6z8NWl6hmZ+CgnOZCwJD4Y3qSyjLC3sp8tHhvGLVR0GKeL1ppqlLXT+GeD58 HK1BaI2J+bVOBBn/GCKhxr/LAh6EsFO03dpdA3Ehvco36iN/YTLOwRcjOYAKTiO1qI4IcK j9ihooTHPx6CePEEY0fgVp/NNHlVnR4WI8HO0xXssueF5y+4o78lT+jtfrM7Ypf0IkOdMc j0+cty+f6VIkjr7g6Jc8OXjnKM6QrrNjNSUjhKC1getRdpBk4iR3BBJcKNcEcQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631835601; a=rsa-sha256; cv=none; b=TalG/ZdpsTs64DMoS3aBU4P/CLEvZxCG9Uh2bawxlHCF6WnttGWPbD6jRhu62ScILZahcQ K3JkGlFOLmuRFxighTy1Xpj8wExdwKQD7iAmcpU77lihtY3OnmpBN/NUHtm8jZqtww4Xm+ ofCAYTQ2/F7H/xPY1pMcdj4lFbrkLRF5ugEJPo33+2f2jiTyULyWI+l6fVjkOhW5LCulvO QYqk9/Z12Cw19D7JIvOqniox95aas8qbuux7inH5kFs6OguBnKs0ySeAf+4uu6XQ6h15nc lIGX23uHR2BUS0Py2hQYs2ew3OH4G/JPAoBGUCmbjYInS1j7ipVTnKTOduPQ6Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 2.60 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 09186891E X-Spam-Score: 2.60 X-Migadu-Scanner: scn0.migadu.com X-TUID: MpoWbN3BM0B+ * gnu/packages/tryton.scm (trytond-carrier-weight): New variable. --- gnu/packages/tryton.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 2e6e2c1036..66d755ff3f 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -1542,6 +1542,36 @@ These can be used to restrict the usage of a carrier to a specific subdivision or a specific postal code.") (license license:gpl3+))) +(define-public trytond-carrier-weight + (package + (name "trytond-carrier-weight") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_carrier_weight" version)) + (sha256 + (base32 "0l2gg4syym7jk0vjqnw7invh0gngrfmg9zmmvc1k6110aryr77yi")))) + (build-system python-build-system) + (arguments (tryton-arguments "carrier_weight")) + (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-company" ,trytond-company) + ("trytond-currency" ,trytond-currency) + ("trytond-product" ,trytond-product) + ("trytond-product-measurements" ,trytond-product-measurements))) + (home-page "https://docs.tryton.org/projects/modules-carrier-weight") + (synopsis "Tryton module to add cost method based on weight") + (description "The @emph{Carrier Weight} Tryton module adds a cost method +\"on weight\" on carrier. The price is computed by finding the line for which +the weight is greater or equal but smaller than the next line.") + (license license:gpl3+))) + (define-public trytond-company (package (name "trytond-company") -- 2.30.2