From patchwork Mon Aug 24 22:20:13 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vinicius Monego X-Patchwork-Id: 23840 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 486C827BBE7; Mon, 24 Aug 2020 23:21:45 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,T_DKIM_INVALID,T_SPF_HELO_TEMPERROR autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 684DF27BBE8 for ; Mon, 24 Aug 2020 23:21:18 +0100 (BST) Received: from localhost ([::1]:35582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAKpv-000230-TC for patchwork@mira.cbaines.net; Mon, 24 Aug 2020 18:21:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53628) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAKpr-00022s-6a for guix-patches@gnu.org; Mon, 24 Aug 2020 18:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47988) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kAKpq-0002PS-Tt for guix-patches@gnu.org; Mon, 24 Aug 2020 18:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kAKpq-0003yH-PV for guix-patches@gnu.org; Mon, 24 Aug 2020 18:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43030] [PATCH 3/8] gnu: Add python-trytond-company. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Aug 2020 22:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43030 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43030@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43030-submit@debbugs.gnu.org id=B43030.159830765315193 (code B ref 43030); Mon, 24 Aug 2020 22:21:02 +0000 Received: (at 43030) by debbugs.gnu.org; 24 Aug 2020 22:20:53 +0000 Received: from localhost ([127.0.0.1]:59525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAKph-0003wz-5q for submit@debbugs.gnu.org; Mon, 24 Aug 2020 18:20:53 -0400 Received: from mout02.posteo.de ([185.67.36.66]:37461) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAKpf-0003wi-QC for 43030@debbugs.gnu.org; Mon, 24 Aug 2020 18:20:52 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id A0B832400FB for <43030@debbugs.gnu.org>; Tue, 25 Aug 2020 00:20:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1598307645; bh=tp8+IaISQR7FQa4ZcB1KGXdSPbt1CAY0wW71ARgTnoI=; h=From:To:Cc:Subject:Date:From; b=iwcccq3JNa7SIGdaYVwMIwA+WI/GSKpFEDlkcPV2khFUdl9KOF2Cz8NsR92fl2bOH tVkzkvKqL5IdfN+ZvAJPppIIk98o/VEHQK3eQMKSpgIRNnBnLIv/643p4W3SaCjfvf 5aUzSO8WreHZBiYE2k6f+I5iv5e2yT3IeINC1yukNklH6uKw2/lNhBQlrKQmHu5kNI +xWH10Y0nZaNUCw7ceXuUwm/fFzysy0B9Q2y8ZSAYmUfo4SmxpT38ZQpwgBgZh1e4N xWB6EF8PmfOYoBosDbIqm/bg0rIpo/STiV58d4aJw/+mZiOIfO2Cm+iAxEMejEIHyG gh9+mT0LWnHlg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Bb65S27zDz6tmG; Tue, 25 Aug 2020 00:20:44 +0200 (CEST) From: Vinicius Monego Date: Mon, 24 Aug 2020 19:20:13 -0300 Message-Id: <20200824222018.23116-2-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200824222018.23116-1-monego@posteo.net> References: <20200824222018.23116-1-monego@posteo.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/tryton.scm (python-trytond-company): New variable. --- gnu/packages/tryton.scm | 49 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 2ae16619d7..949f906455 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -261,6 +261,55 @@ addresses.") currency and rate.") (license license:gpl3+))) +(define-public python-trytond-company + (package + (name "python-trytond-company") + (version "5.6.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "trytond_company" version)) + (sha256 + (base32 "0fa2yswfal1fbmm0ml845lm6bwcm65fln6s1xq1wqi17xqbbx44x")))) + (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" "company"))))))) + (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-currency" + ,python-trytond-currency) + ("python-trytond-party" ,python-trytond-party))) + (home-page "https://www.tryton.org/") + (synopsis "Tryton module with companies and employees") + (description + "This package provides a Tryton module that defines the concepts of +company and employee and extend the user model.") + (license license:gpl3+))) + (define-public python-proteus (package (name "python-proteus")