From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:52790) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxchX-0004yq-Tn for guix-patches@gnu.org; Sat, 23 Feb 2019 14:11:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxchS-00033u-An for guix-patches@gnu.org; Sat, 23 Feb 2019 14:11:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:36049) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gxchR-00033P-Vx for guix-patches@gnu.org; Sat, 23 Feb 2019 14:11:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gxchR-0004kA-Mj for guix-patches@gnu.org; Sat, 23 Feb 2019 14:11:01 -0500 Subject: [bug#34634] [PATCH 1/1] gnu: tryton: Add tryton 5.0.6. Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:52579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxcgc-0004qS-Ug for guix-patches@gnu.org; Sat, 23 Feb 2019 14:10:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gxcga-0001oq-Qc for guix-patches@gnu.org; Sat, 23 Feb 2019 14:10:10 -0500 Received: from mx1.riseup.net ([198.252.153.129]:60168) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gxcgY-0001YB-SJ for guix-patches@gnu.org; Sat, 23 Feb 2019 14:10:08 -0500 Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.riseup.net (Postfix) with ESMTPS id 6D5FA1A0197 for ; Sat, 23 Feb 2019 11:09:46 -0800 (PST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by capuchin.riseup.net (Postfix) with ESMTPSA id A0B3A1204F5 for ; Sat, 23 Feb 2019 11:09:45 -0800 (PST) Date: Sat, 23 Feb 2019 14:09:39 -0500 From: "Jovany Leandro G.C" Message-ID: <20190223140939.54371269@riseup.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 34634@debbugs.gnu.org =46rom 693d00d1df68ada3bb43cbaecdd2823976e87bd4 Mon Sep 17 00:00:00 2001 From: "Jovany Leandro G.C" Date: Sat, 23 Feb 2019 14:08:01 -0500 Subject: [PATCH 1/1] gnu: tryton: Add tryton 5.0.6. * gnu/packages/tryton.scm (tryton-5): New variable. --- gnu/packages/tryton.scm | 42 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/gnu/packages/tryton.scm b/gnu/packages/tryton.scm index 31a2d481e..871537745 100644 --- a/gnu/packages/tryton.scm +++ b/gnu/packages/tryton.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright =C2=A9 2017 Adriano Peluso +;;; Copyright =C2=A9 2019 Jovany Leandro G.C ;;; ;;; This file is part of GNU Guix. ;;; @@ -96,6 +97,47 @@ and security.") (description "This package is the client component of Tryton.") (license license:gpl3+))) =20 +(define-public tryton-5 + (package + (name "tryton") + (version "5.0.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "tryton" version)) + (sha256 + (base32 + "1lgkyyin5ydfl7qz692cvgswwyhnbc51r9krfz5k9rhq06ayaq4v")))) + (build-system python-build-system) + (arguments + `(;;_XSERVTransmkdir: ERROR: euid !=3D 0,directory /tmp/.X11-unix will not be created. + #:tests? #f + #:phases + (modify-phases %standard-phases + (add-after 'install 'wrap + (lambda* (#:key inputs outputs #:allow-other-keys) + (let ((out (assoc-ref outputs "out")) + (gi-typelib-path (getenv "GI_TYPELIB_PATH"))) + (wrap-program (string-append out "/bin/tryton") + `("GI_TYPELIB_PATH" ":" prefix (, gi-typelib-path)))) + #t)) + (add-after 'unpack 'set-home-directory + ;; [Errno 13] Permission denied: '/homeless-shelter' + (lambda _ (setenv "HOME" "/tmp") + #t)) + ))) + (native-inputs + `(("gtk+" ,gtk+) + ("librsvg" ,librsvg))) + (inputs + `(("python-pycairo" ,python-pycairo) + ("python-pygobject" ,python-pygobject) + ("python-dateutil" ,python-dateutil))) + (home-page "http://www.tryton.org/") + (synopsis "Client component of Tryton 5") + (description "This package is the client component of Tryton 5.") + (license license:gpl3))) + (define-public python-trytond-country (package (name "python-trytond-country") --=20 2.19.0