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 aD0CJkRpRl9qKQAA0tVLHw (envelope-from ) for ; Wed, 26 Aug 2020 13:53:08 +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 GLYPIkRpRl+xCAAAB5/wlQ (envelope-from ) for ; Wed, 26 Aug 2020 13:53:08 +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 3DD8794050D for ; Wed, 26 Aug 2020 13:53:08 +0000 (UTC) Received: from localhost ([::1]:39458 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAvrP-0003Lr-4G for larch@yhetil.org; Wed, 26 Aug 2020 09:53:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAvrK-0003JH-6S for guix-patches@gnu.org; Wed, 26 Aug 2020 09:53:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:54546) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAvrJ-0000Hs-TR for guix-patches@gnu.org; Wed, 26 Aug 2020 09:53:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAvrJ-0000O4-Rd for guix-patches@gnu.org; Wed, 26 Aug 2020 09:53:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43059] [PATCH 2/7] gnu: Add python-trytond-account-product. References: <20200826134953.33082-1-monego@posteo.net> In-Reply-To: <20200826134953.33082-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 26 Aug 2020 13:53:01 +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.15984499391387 (code B ref 43059); Wed, 26 Aug 2020 13:53:01 +0000 Received: (at 43059) by debbugs.gnu.org; 26 Aug 2020 13:52:19 +0000 Received: from localhost ([127.0.0.1]:37847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAvqd-0000MI-AH for submit@debbugs.gnu.org; Wed, 26 Aug 2020 09:52:19 -0400 Received: from mout01.posteo.de ([185.67.36.65]:51632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAvqb-0000M6-Q0 for 43059@debbugs.gnu.org; Wed, 26 Aug 2020 09:52:18 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 92DD8160060 for <43059@debbugs.gnu.org>; Wed, 26 Aug 2020 15:52:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1598449931; bh=KkieWhACMRifnFJFoxn1I5uvSLfxm8KwuDpbL/Swprc=; h=From:To:Cc:Subject:Date:From; b=fKedXNVzb6axhMh0fpc6TLPTCUt7x4X6Pn5haG09ceIqU19z9cHmjMp6xpBO0++eq JoL6dI0BubsvUawgRgfuGxuis+hP3DCJhZdpCI/hsY9SVogrlwC1hzpf3hm04OM2y6 xfQeHuivEzTUjDtyQ9oTqFhEDiVOMRm86htApzGvBjZ46ZVuThp9gwa3q4eA9YAM3R hDrmqCU/SGwRIR4XQvF21vvqIoiZBLGZVTv37GuXrXD5f9Plq5AGxfI2yaU8EcLmVv rcc3ltXOWnrlZlmbEX3c7HgHKUUjuIpA4K6qL/ssSSJAg51boFMWGqMXFenKnCKi0n PxhHlQ/7UDP7w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Bc6jj6k90z9rxn; Wed, 26 Aug 2020 15:52:09 +0200 (CEST) From: Vinicius Monego Date: Wed, 26 Aug 2020 10:51:49 -0300 Message-Id: <20200826135154.33620-1-monego@posteo.net> X-Mailer: git-send-email 2.20.1 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=fKedXNVz; 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: DgA/dFmL86ei * gnu/packages/tryton.scm (python-trytond-account-product): New variable. --- gnu/packages/tryton.scm | 53 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 4063afc189..8b411f42c9 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -463,6 +463,59 @@ most of accounting needs.") required to analyse accounting using multiple different axes.") (license license:gpl3+))) +(define-public python-trytond-account-product + (package + (name "python-trytond-account-product") + (version "5.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_account_product" version)) + (sha256 + (base32 "0iyk07adixf37jlvn7n27ac12hk23zx09w4s78dr9sfp0lsf8vv8")))) + (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_product"))))))) + (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-account" + ,python-trytond-account) + ("python-trytond-analytic-account" + ,python-trytond-analytic-account) + ("python-trytond-company" + ,python-trytond-company) + ("python-trytond-product" + ,python-trytond-product))) + (home-page "https://www.tryton.org/") + (synopsis "Tryton module to add accounting on product") + (description + "This package provides a Tryton module that adds accounting on product +and category.") + (license license:gpl3+))) + (define-public python-trytond-stock (package (name "python-trytond-stock") -- 2.20.1