From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1etfDN-0002WC-Fe for guix-patches@gnu.org; Wed, 07 Mar 2018 14:59:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1etfDK-0003ct-B9 for guix-patches@gnu.org; Wed, 07 Mar 2018 14:59:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:41952) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1etfDK-0003cM-7A for guix-patches@gnu.org; Wed, 07 Mar 2018 14:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1etfDJ-0007gS-Px for guix-patches@gnu.org; Wed, 07 Mar 2018 14:59:01 -0500 Subject: [bug#29733] Add virtaal (translation app) Resent-Message-ID: Message-Id: <1520452704.1968021.1295172880.5FB477E6@webmail.messagingengine.com> From: Mark Meyer MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" In-Reply-To: <87tvtsrnpv.fsf@gnu.org> Date: Wed, 07 Mar 2018 20:58:24 +0100 References: <1513418996.2275632.1206998744.71939143@webmail.messagingengine.com> <87ind6x585.fsf@gmail.com> <87tvtsrnpv.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Oleg Pykhalov Cc: 29733@debbugs.gnu.org Hi Ludo, Hi Oleg, IIRC the test required a pycurl package, which in turn depends on nghttp. B= ut nghttp has been merged, maybe we can finish this now. I'll have a look t= omorrow. Best, Mark On Wed, Mar 7, 2018, at 14:59, Ludovic Court=C3=A8s wrote: > Hello Mark & Oleg, >=20 > In an attempt to make progress (it=E2=80=99s been 3 months already :-)), I > pushed the first two patches, taking Oleg=E2=80=99s comments into account: >=20 > 30e43e816 * gnu: python2-gobject@2: Update to 2.28.7 > eaa8292e4 * gnu: Add python-pycurl. >=20 > Mark, can you take a look at Oleg=E2=80=99s suggestions below? We=E2=80= =99re almost > there! >=20 > Thanks in advance, > Ludo=E2=80=99. >=20 > Oleg Pykhalov skribis: >=20 > >> From c36fde0cfda0d5f9830876abbff804504004451d Mon Sep 17 00:00:00 2001 > >> From: Mark Meyer > >> Date: Fri, 15 Dec 2017 12:35:38 +0100 > >> Subject: [PATCH] gnu: Add virtaal. > >> > >> * gnu/packages/text-editors.scm (virtaal): New public variable. > >> --- > >> gnu/packages/text-editors.scm | 33 +++++++++++++++++++++++++++++++++ > >> 1 file changed, 33 insertions(+) > >> > >> diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors= .scm > >> index 44b42ce9b..773000ff4 100644 > >> --- a/gnu/packages/text-editors.scm > >> +++ b/gnu/packages/text-editors.scm > >> @@ -6,6 +6,7 @@ > >> ;;; Copyright 2017 ng0 > >> ;;; Copyright 2014 Taylan Ulrich Bayrl/Kammer > >> ;;; Copyright 2017 Tobias Geerinckx-Rice > >> +;;; Copyright 2017 Mark Meyer > >> ;;; > >> ;;; This file is part of GNU Guix. > >> ;;; > >> @@ -29,6 +30,7 @@ > >> #:use-module (guix utils) > >> #:use-module (guix build-system gnu) > >> #:use-module (guix build-system glib-or-gtk) > >> + #:use-module (guix build-system python) > >> #:use-module ((guix licenses) #:prefix license:) > >> #:use-module (gnu packages) > >> #:use-module (gnu packages assembly) > >> @@ -41,11 +43,42 @@ > >> #:use-module (gnu packages lua) > >> #:use-module (gnu packages ncurses) > >> #:use-module (gnu packages pkg-config) > >> + #:use-module (gnu packages python) > >> + #:use-module (gnu packages python-web) > >> #:use-module (gnu packages regex) > >> #:use-module (gnu packages ruby) > >> #:use-module (gnu packages terminals) > >> #:use-module (gnu packages xml)) > >>=20=20 > >> +(define-public virtaal > >> + (package > >> + (name "virtaal") > >> + (version "0.7.1") > >> + (source (origin > >> + (method url-fetch) > >> + (uri (string-append "mirror://sourceforge/translate/Vir= taal/" > >> + version "/virtaal-" version ".tar.b= z2")) > >> + (sha256 > >> + (base32 > >> + "0cyimjp3191qlmw6n0ipqdr9xr0cq4f6dqvz4rl9q31h6l3kywf9= ")))) > >> + (build-system python-build-system) > >> + (arguments > >> + `(#:python ,python-2 > >> + #:use-setuptools? #f > >> + #:tests? #f)) > > > > Could you check tests in virtaal-0.7.1/virtaal/test/ please? > > > >> + (propagated-inputs > >> + `(("python2-pycurl" ,python2-pycurl) > >> + ("python2-pygtk" ,python2-pygtk) > >> + ("python2-lxml" ,python2-lxml) > >> + ("python2-translate-toolkit" ,python2-translate-toolkit) > >> + ("python2-simplejson" ,python2-simplejson))) > >> + (synopsis "An editor for translation files") > > > > gnu/packages/text-editors.scm:75:14: virtaal@0.7.1: no article allowed = at the beginning of the synopsis > > > >> + (description > >> + "Virtaal, a feature rich translation tool that allows you to foc= us on > >> +translation, without the tool getting in the way.") > >> + (home-page "http://virtaal.translatehouse.org/") > >> + (license license:gpl2))) > >> + > >> (define-public vis > >> (package > >> (name "vis") > > > > Could't be it builded With Python 3? I see in > > that they > > use only python 2.7 and 2.7, but still? > > > > Thanks, > > Oleg. --=20 Mark Meyer mark@ofosos.org