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 0OP+FZxpRl9vOAAA0tVLHw (envelope-from ) for ; Wed, 26 Aug 2020 13:54:36 +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 GJ/hEZxpRl+3YQAAbx9fmQ (envelope-from ) for ; Wed, 26 Aug 2020 13:54:36 +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 F404F94050D for ; Wed, 26 Aug 2020 13:54:35 +0000 (UTC) Received: from localhost ([::1]:43596 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAvso-00052B-Ta for larch@yhetil.org; Wed, 26 Aug 2020 09:54:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAvrL-0003Ka-BN for guix-patches@gnu.org; Wed, 26 Aug 2020 09:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54549) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAvrL-0000I6-2E 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-0000OQ-1Z for guix-patches@gnu.org; Wed, 26 Aug 2020 09:53:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43059] [PATCH 5/7] gnu: Add python-trytond-purchase. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Aug 2020 13:53: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.15984499591446 (code B ref 43059); Wed, 26 Aug 2020 13:53:02 +0000 Received: (at 43059) by debbugs.gnu.org; 26 Aug 2020 13:52:39 +0000 Received: from localhost ([127.0.0.1]:37856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAvqx-0000NG-6W for submit@debbugs.gnu.org; Wed, 26 Aug 2020 09:52:39 -0400 Received: from mout02.posteo.de ([185.67.36.66]:57919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAvqt-0000Mp-6O for 43059@debbugs.gnu.org; Wed, 26 Aug 2020 09:52:35 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 8743A2400FB for <43059@debbugs.gnu.org>; Wed, 26 Aug 2020 15:52:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1598449949; bh=ZCCxJDWtbHJYy07YaTo6rPa3Wyz5WorgQrdFN5u2jRc=; h=From:To:Cc:Subject:Date:From; b=fSNEEwKt+VAHHwnmAzruCMHCdcHdwhsm/0SjZv5K/2VQdEHmabh0OUYdk8yQbcci2 tReHLsoIaysMb1A4+K1LWQ0tTgF2D8Iv7dn0k7ttur/jdXySmKHynakfRCl7mdmA/h VB6eohN08cKzokhefmjOHDj8JY9sA9lE0G+ovV1SU7OZUffBdNKmyGUXE7XT3Zv0Px pYS/CIi1PdKhvDRjMfcag17pw3g1xanjGjm+gXp1r99kdz8o35PlOtFaM+K2R+EWBF a11ItCnRq0WU471iK5P+pqh2mei39zXs8NoYtorup56g4SrAkpTLAvs9A/FD3SSje3 dpj/kqt1PnOiw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Bc6k41ZpHz9rxn; Wed, 26 Aug 2020 15:52:27 +0200 (CEST) From: Vinicius Monego Date: Wed, 26 Aug 2020 10:51:52 -0300 Message-Id: <20200826135154.33620-4-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=fSNEEwKt; 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: SlFXS1H2yADD * gnu/packages/tryton.scm (python-trytond-purchase): New variable. --- gnu/packages/tryton.scm | 61 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index be9115f86f..461e1faf36 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -730,6 +730,67 @@ 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-purchase + (package + (name "python-trytond-purchase") + (version "5.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_purchase" version)) + (sha256 + (base32 "0znjxhhwqlz4sq96ah9g28mvw4w83rhp022h6vihnz64z2ad3p3z")))) + (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" "purchase"))))))) + (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-account-invoice" + ,python-trytond-account-invoice) + ("python-trytond-account-invoice-stock" + ,python-trytond-account-invoice-stock) + ("python-trytond-account-product" + ,python-trytond-account-product) + ("python-trytond-company" + ,python-trytond-company) + ("python-trytond-currency" + ,python-trytond-currency) + ("python-trytond-party" ,python-trytond-party) + ("python-trytond-product" + ,python-trytond-product) + ("python-trytond-stock" ,python-trytond-stock))) + (home-page "https://www.tryton.org/") + (synopsis "Tryton module for purchase") + (description + "This package provides a Tryton module that defines the Purchase model.") + (license license:gpl3+))) + (define-public python-proteus (package (name "python-proteus") -- 2.20.1