From patchwork Sat Feb 23 19:09:39 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Jovany Leandro G.C" X-Patchwork-Id: 1230 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 70CB216C64; Sat, 23 Feb 2019 19:11:13 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 15C6F16C12 for ; Sat, 23 Feb 2019 19:11:13 +0000 (GMT) Received: from localhost ([127.0.0.1]:41661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gxchc-0004yv-EA for patchwork@mira.cbaines.net; Sat, 23 Feb 2019 14:11:12 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#34634] [PATCH 1/1] gnu: tryton: Add tryton 5.0.6. Resent-From: "Jovany Leandro G.C" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Feb 2019 19:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34634 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 34634@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.155094902018175 (code B ref -1); Sat, 23 Feb 2019 19:11:01 +0000 Received: (at submit) by debbugs.gnu.org; 23 Feb 2019 19:10:20 +0000 Received: from localhost ([127.0.0.1]:49593 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxcgm-0004j4-GB for submit@debbugs.gnu.org; Sat, 23 Feb 2019 14:10:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38203) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gxcgk-0004ip-EP for submit@debbugs.gnu.org; Sat, 23 Feb 2019 14:10:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:35750) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gxcgd-0001sR-S7 for submit@debbugs.gnu.org; Sat, 23 Feb 2019 14:10:12 -0500 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1550948986; bh=UNcp1euP0w1ZYLyLr0VNjFrU2zpJ4ijBkRFbF/Ddjoo=; h=Date:From:To:Subject:From; b=hktL1RDxtLQAXKcojn7W6bKMOwPqa2cknsTTUTUfk7Zg4wp6d+nVRgXGB7+FaGp4H 6EgOXa/Gt6O/GieVKXK7PLWczGqsp2P5Qyr8W9JeZe+ORZfLET47B47DoVSEDUYqBN 0fkBoo94qg87OvNyLtOyeKM0GsMGlcvzIMpOwDBo= X-Riseup-User-ID: 28BB095FAA4782AA92F083BDE194C3C6407B162073493E2580582BB3D0570862 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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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 From 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(+) (name "python-trytond-country") 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 © 2017 Adriano Peluso +;;; Copyright © 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+))) +(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 != 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