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 OOfzI0dpRl9IGQAA0tVLHw (envelope-from ) for ; Wed, 26 Aug 2020 13:53:11 +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 KOfGH0dpRl8SWwAAbx9fmQ (envelope-from ) for ; Wed, 26 Aug 2020 13:53:11 +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 3AA9994050D for ; Wed, 26 Aug 2020 13:53:11 +0000 (UTC) Received: from localhost ([::1]:39444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAvrS-0003LR-4a for larch@yhetil.org; Wed, 26 Aug 2020 09:53:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34286) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAvrK-0003Jk-JC for guix-patches@gnu.org; Wed, 26 Aug 2020 09:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54547) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAvrK-0000Hw-9N for guix-patches@gnu.org; Wed, 26 Aug 2020 09:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAvrK-0000OC-8r for guix-patches@gnu.org; Wed, 26 Aug 2020 09:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43059] [PATCH 3/7] gnu: Add python-trytond-account-invoice. 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.15984499491410 (code B ref 43059); Wed, 26 Aug 2020 13:53:02 +0000 Received: (at 43059) by debbugs.gnu.org; 26 Aug 2020 13:52:29 +0000 Received: from localhost ([127.0.0.1]:37850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAvqm-0000Mg-Ig for submit@debbugs.gnu.org; Wed, 26 Aug 2020 09:52:28 -0400 Received: from mout02.posteo.de ([185.67.36.66]:36565) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAvqk-0000MR-O7 for 43059@debbugs.gnu.org; Wed, 26 Aug 2020 09:52:27 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id F3E782400FC for <43059@debbugs.gnu.org>; Wed, 26 Aug 2020 15:52:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1598449941; bh=BHnUIVZzvlDbohOYhaUf1fcenHu4NqllDD5p6j4gQxc=; h=From:To:Cc:Subject:Date:From; b=dkRGV/iWr+bE8zGjExtk23ZaUoDyRmikFStd1ZKA8fpLyb7wNMbLbIQegqL4+mf0n inU0/jPvNx+CVNbs3d/4qCktLdQiqv1HpXeyGdU/goBDeyF4gEw6LISiLIPdenRPvi 4+gZxABJNl9WM39ujVxlvy7y7FTixQAS4KiQlEwWbo7IO4PwAUf7aQsavSj5S2D6Fs hAwGB5gK148HQGGD9wkr8qNZXopX3/KVmwi6xSLoNxRGWbRQxRaiLyiUJoL4LNt5cm 7vx3ms4Hwnz/lyPZkbYr79DRncgz4CkwvafT1qJa3rvyJDXDopREsol7b2GfCXlx7F r+l+P0RRpj8MQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Bc6jv4YnNz9rxS; Wed, 26 Aug 2020 15:52:19 +0200 (CEST) From: Vinicius Monego Date: Wed, 26 Aug 2020 10:51:50 -0300 Message-Id: <20200826135154.33620-2-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=dkRGV/iW; 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: XcpVY3e1sngH * gnu/packages/tryton.scm (python-trytond-account-invoice): New variable. --- gnu/packages/tryton.scm | 57 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 8b411f42c9..cc317110b0 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -516,6 +516,63 @@ required to analyse accounting using multiple different axes.") and category.") (license license:gpl3+))) +(define-public python-trytond-account-invoice + (package + (name "python-trytond-account-invoice") + (version "5.6.1") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_account_invoice" version)) + (sha256 + (base32 "0ic5zghg50m6jwdr88y4vgzy58g1h17b63sbhh61brys1cp2dxhc")))) + (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" "account_invoice"))))))) + (native-inputs + `(("python" ,python-minimal-wrapper) + ("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-dateutil" ,python-dateutil) + ("python-sql" ,python-sql) + ("python-trytond" ,python-trytond) + ("python-trytond-account" + ,python-trytond-account) + ("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))) + (home-page "https://www.tryton.org/") + (synopsis "Tryton module for invoicing") + (description + "This package provides a Tryton module that adds the invoice, payment +term.") + (license license:gpl3+))) + (define-public python-trytond-stock (package (name "python-trytond-stock") -- 2.20.1