From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id WI2rCoZpRl9IGQAA0tVLHw (envelope-from ) for ; Wed, 26 Aug 2020 13:54:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id vBxiBoZpRl+3YQAAbx9fmQ (envelope-from ) for ; Wed, 26 Aug 2020 13:54:14 +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 BD72B94050D for ; Wed, 26 Aug 2020 13:54:13 +0000 (UTC) Received: from localhost ([::1]:42524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAvsR-0004bH-Jl for larch@yhetil.org; Wed, 26 Aug 2020 09:54:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAvsI-0004ad-D7 for guix-patches@gnu.org; Wed, 26 Aug 2020 09:54:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAvsI-0000WX-4P for guix-patches@gnu.org; Wed, 26 Aug 2020 09:54:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAvsI-0000QT-3H for guix-patches@gnu.org; Wed, 26 Aug 2020 09:54:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43059] [PATCH 7/7] gnu: Add python-trytond-stock-supply. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Aug 2020 13:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43059 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43059@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43059-submit@debbugs.gnu.org id=B43059.15984499871564 (code B ref 43059); Wed, 26 Aug 2020 13:54:02 +0000 Received: (at 43059) by debbugs.gnu.org; 26 Aug 2020 13:53:07 +0000 Received: from localhost ([127.0.0.1]:37867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAvrO-0000PA-P4 for submit@debbugs.gnu.org; Wed, 26 Aug 2020 09:53:06 -0400 Received: from mout01.posteo.de ([185.67.36.65]:56970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAvrN-0000Nu-0H for 43059@debbugs.gnu.org; Wed, 26 Aug 2020 09:53:05 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 58C4C16005C for <43059@debbugs.gnu.org>; Wed, 26 Aug 2020 15:52:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1598449979; bh=8rsDfGE1gYqhr4ZTVCeb5m09qXCN+9knF794xDvPZUk=; h=From:To:Cc:Subject:Date:From; b=FLhV6SB42AXCSP4zAQHCaBphK++hUFLAVaxdQcDU111mnMM/OOx6fxoQ/lTcq1Fi2 UZ5/YHDcCVmWFJuctLAA+LgxH3Lfob5VYJaIAHqlmLifygG0tq5EccvImPl5Dd0Wjm 492OWr1WOrGS24bDauY27GqczKvkiFW+RGlyeJ8t/rYdfu0Fj6D83akGpwA2nMRgj0 wGNU4Wp4xmbj9/+R1r+1F8lO+yofNWfrNLglhDKQhVWxJ7gpnp5+CzLDd+BaRtUKhe ie6l70WUWfSsFNGv5z8C/AmfgkuQXBloBbw9LA9zhMBFYIOlkrGFZKmG8KZkPPzBgC z7yqV0SvzB/nA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Bc6kf0kHwz9rxG; Wed, 26 Aug 2020 15:52:57 +0200 (CEST) From: Vinicius Monego Date: Wed, 26 Aug 2020 10:51:54 -0300 Message-Id: <20200826135154.33620-6-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200826135154.33620-1-monego@posteo.net> References: <20200826135154.33620-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.7 (-) 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-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=FLhV6SB4; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=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-Spam-Score: 5.09 X-TUID: Y4hD3JNeBZsl * gnu/packages/tryton.scm (python-trytond-stock-supply): New variable. --- gnu/packages/tryton.scm | 56 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 79a38d2e01..c4ea6c595a 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -730,6 +730,62 @@ 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-stock-supply + (package + (name "python-trytond-stock-supply") + (version "5.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_stock_supply" version)) + (sha256 + (base32 "0lw7qrg58k5pjpp3nz73rmlm8v086l49ri31ci75calm552zpfay")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (let ((runtest + (string-append + (assoc-ref %build-inputs "python-trytond") + "/lib/python" + ,(version-major+minor (package-version python)) + "/site-packages/trytond/tests/run-tests.py"))) + (lambda* (#:key inputs outputs #:allow-other-keys) + (add-installed-pythonpath inputs outputs) + (invoke "python" runtest "-m" "stock_supply"))))))) + (native-inputs + `(("python" ,python-minimal-wrapper) + ("python-dateutil" ,python-dateutil) + ("python-genshi" ,python-genshi) + ("python-lxml" ,python-lxml) + ("python-magic" ,python-magic) + ("python-passlib" ,python-passlib) + ("python-polib" ,python-polib) + ("python-proteus" ,python-proteus) + ("python-relatorio" ,python-relatorio) + ("python-werkzeug" ,python-werkzeug) + ("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) + ("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))) + (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-purchase (package (name "python-trytond-purchase") -- 2.20.1