From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iaqgLrbYQ2GXTwEAgWs5BA (envelope-from ) for ; Fri, 17 Sep 2021 01:52:22 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id uKuQKbbYQ2FHdgAAbx9fmQ (envelope-from ) for ; Thu, 16 Sep 2021 23:52:22 +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 5CA4D4643 for ; Fri, 17 Sep 2021 01:52:22 +0200 (CEST) Received: from localhost ([::1]:54058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mR0RL-0002EQ-PQ for larch@yhetil.org; Thu, 16 Sep 2021 19:05:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41442) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mR0LY-0000Gb-GK for guix-patches@gnu.org; Thu, 16 Sep 2021 18:59:12 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45744) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mR0LY-0005m7-1I for guix-patches@gnu.org; Thu, 16 Sep 2021 18:59:12 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mR0LY-0002rQ-0S for guix-patches@gnu.org; Thu, 16 Sep 2021 18:59:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50628] [PATCH 053/154] gnu: Add trytond-carrier-subdivision. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 16 Sep 2021 22:59:11 +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 50628-submit@debbugs.gnu.org id=B50628.163183309810465 (code B ref 50628); Thu, 16 Sep 2021 22:59:11 +0000 Received: (at 50628) by debbugs.gnu.org; 16 Sep 2021 22:58:18 +0000 Received: from localhost ([127.0.0.1]:57196 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0Kf-0002id-TG for submit@debbugs.gnu.org; Thu, 16 Sep 2021 18:58:18 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:52378) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mR0KS-0002es-Ph for 50628@debbugs.gnu.org; Thu, 16 Sep 2021 18:58:05 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4H9XYS1fnpz1s8dv; Fri, 17 Sep 2021 00:58:04 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4H9XYS1Y97z1qqkB; Fri, 17 Sep 2021 00:58:04 +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 wtB3any3P7VI; Fri, 17 Sep 2021 00:58:03 +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:03 +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 899586149C; Fri, 17 Sep 2021 00:55:43 +0200 (CEST) From: Hartmut Goebel Date: Fri, 17 Sep 2021 00:53:12 +0200 Message-Id: X-Mailer: git-send-email 2.30.2 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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=1631836342; 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=R7WiOO2edAVfD9MzduX6khN/Y6gltmUrBPJ2nEcDAqc=; b=Tb4FU3YUUkHbFDZHxrXsGl/1f/Xqv2sjvk/3zjipMqzHAPaM6PlaQC/JExjljyau0egf2B 8fjycLC6qHN09w3GYc7YgrdOAtwjqVtF1CMSCGgrmMQ8JburkzKfF+QqQ/i1q2vKBweY/r yktmjpFpITXiJwRpGcELFR9x5lmT10VvLZpFQt+R4zkXxoMfoABnOcKGiy3AarwSIo1ihA xtKg/0tVqDodbhv1UmbiE2eX01dTpKxVW2Ge+gdkNFYvNvlDKd6hPemMy32ipnWnmxQ/sK u7nAK+sNSLiGikZ9QTHVSxO+uBhbDcGdulrTTmKYx39YoN3CvJut+kmaEN8URg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631836342; a=rsa-sha256; cv=none; b=UBRGmU/BgyO2Sosb0QieTkbxb/EFT7LbmAGFzidFlQ0Psk8v/NateyUS9GTovkL3bPdO4Q juI0UCvVj1CvZ2AV9o9WAmpw4Dbgen9CvbiocuZxKMg0cfA1XFIUG/CnojuXukxmjfM1MR lseKFofBriCH8pcp+v+9cs2N0wuGW8+z3lOPN9N8YZgyOVa3So3IdcW4hnwj+9N0ERqcwN e6Hrr+EiGHggfjYDUuyNL/iVBXtoySZQC14fxehEGciFfCzf6/YEgDELwpAeRby3Y/xPY/ k+dOrVa8Jo9gkr0LJ3Nfe301RcHces8bZsLlySMjREEe3qF+o/Kd7mOw+M5L1g== 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: 5CA4D4643 X-Spam-Score: 2.60 X-Migadu-Scanner: scn1.migadu.com X-TUID: q72ERFVKD2W9 * gnu/packages/tryton.scm (trytond-carrier-subdivision): New variable. --- gnu/packages/tryton.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 4472b18305..2e6e2c1036 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -1507,6 +1507,41 @@ of carrier.") method \"on percentage\" on carrier.") (license license:gpl3+))) +(define-public trytond-carrier-subdivision + (package + (name "trytond-carrier-subdivision") + (version "6.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_carrier_subdivision" version)) + (sha256 + (base32 "1mmbz541yywdgm16ij2xfvm50xad24plmqdb739ssg6jj0skmji4")))) + (build-system python-build-system) + (arguments (tryton-arguments "carrier_subdivision")) + (native-inputs + `(,@%standard-trytond-native-inputs + ("trytond-sale-shipment-cost" ,trytond-sale-shipment-cost))) + (propagated-inputs + `(("trytond" ,trytond) + ("trytond-carrier" ,trytond-carrier))) + (home-page "https://docs.tryton.org/projects/modules-carrier-subdivision") + (synopsis "Tryton module that allows carriers selection to be restricted +by subdivision") + (description "The @emph{Carrier Subdivision} Tryton module extends the +carrier selection pattern with + +@itemize +@item the warehouse Subdivision, +@item the customer Subdivision, +@item a regular expression to match against warehouse postal code and +@item A regular expression to match against customer postal code. +@end itemize + +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-company (package (name "trytond-company") -- 2.30.2