From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id yBExGExpRl9qKQAA0tVLHw (envelope-from ) for ; Wed, 26 Aug 2020 13:53:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id APIwFExpRl+jBgAAB5/wlQ (envelope-from ) for ; Wed, 26 Aug 2020 13:53:16 +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 0A4999404CA for ; Wed, 26 Aug 2020 13:53:16 +0000 (UTC) Received: from localhost ([::1]:40134 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAvrW-0003d8-Ug for larch@yhetil.org; Wed, 26 Aug 2020 09:53:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAvrL-0003L5-Ns for guix-patches@gnu.org; Wed, 26 Aug 2020 09:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54550) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAvrL-0000IA-El for guix-patches@gnu.org; Wed, 26 Aug 2020 09:53:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAvrL-0000OY-Dz for guix-patches@gnu.org; Wed, 26 Aug 2020 09:53:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43059] [PATCH 6/7] gnu: Add python-trytond-purchase-request. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Aug 2020 13:53:03 +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.15984499771477 (code B ref 43059); Wed, 26 Aug 2020 13:53:03 +0000 Received: (at 43059) by debbugs.gnu.org; 26 Aug 2020 13:52:57 +0000 Received: from localhost ([127.0.0.1]:37859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAvrF-0000Nl-G6 for submit@debbugs.gnu.org; Wed, 26 Aug 2020 09:52:57 -0400 Received: from mout01.posteo.de ([185.67.36.65]:35464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAvrE-0000NZ-F2 for 43059@debbugs.gnu.org; Wed, 26 Aug 2020 09:52:56 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id CA22916005F for <43059@debbugs.gnu.org>; Wed, 26 Aug 2020 15:52:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1598449970; bh=zXola211R2vs9iC55NnTLF/jbLVuobShupMEgDEH+vI=; h=From:To:Cc:Subject:Date:From; b=VrvOKPXmUjIOnjQ0qiPEcGE9MO+Byg8pA+mnYUPWiSlthlSTUGvXTANItJYgYNYuM tvctFIHyRns/XBMvU0vbHJrTJwnMczgW0JJwa4fC1qwTGyrf7nERLEc6xW0WDRwFsi Q01HsWWSTRNtnJJLUoz3sPvlZ15zXhBFOmuOsPIzUrGfEHuh+Mu9LWcUsSXYLQN6uh u/XV9sDffsildzQNBYQCbnR62Yg6kRfxXvpDDUCetzETArv4CddOzf6GvlIqSREeDY 70/kAgVywe/be+t+R+nEa6RuB/k/3mOEP7sLYfV53uDsWX2lD3KyVBPJpGYrfDttxq T51OcE9HpT8FA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Bc6kT3b0wz9rxb; Wed, 26 Aug 2020 15:52:49 +0200 (CEST) From: Vinicius Monego Date: Wed, 26 Aug 2020 10:51:53 -0300 Message-Id: <20200826135154.33620-5-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=VrvOKPXm; 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: 94F73bJ/w47C * gnu/packages/tryton.scm (python-trytond-purchase-request): New variable. --- gnu/packages/tryton.scm | 52 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 461e1faf36..79a38d2e01 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -791,6 +791,58 @@ average price of the posted invoice lines that are linked to it.") "This package provides a Tryton module that defines the Purchase model.") (license license:gpl3+))) +(define-public python-trytond-purchase-request + (package + (name "python-trytond-purchase-request") + (version "5.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_purchase_request" version)) + (sha256 + (base32 "15r1x3jzr83rna1vfpans277785dpmgjr7989icav602nkyhhx0x")))) + (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) + ;; Doctest 'scenario_purchase_request.rst' fails. + (invoke "python" runtest "-m" "purchase_request" "--no-doctest"))))))) + (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-sql" ,python-sql) + ("python-werkzeug" ,python-werkzeug) + ("python-wrapt" ,python-wrapt))) + (propagated-inputs + `(("python-trytond" ,python-trytond) + ("python-trytond-product" + ,python-trytond-product) + ("python-trytond-purchase" + ,python-trytond-purchase))) + (home-page "https://www.tryton.org/") + (synopsis "Tryton module for purchase requests") + (description + "This package provides a Tryton module that introduces the concept of +Purchase Requests which are central points to collect purchase requests +generated by other process from Tryton.") + (license license:gpl3+))) + (define-public python-proteus (package (name "python-proteus") -- 2.20.1