From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:45338) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i070J-0002Lu-MO for guix-patches@gnu.org; Tue, 20 Aug 2019 12:29:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i070I-0004Ho-DI for guix-patches@gnu.org; Tue, 20 Aug 2019 12:29:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53200) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i070I-0004Hf-9x for guix-patches@gnu.org; Tue, 20 Aug 2019 12:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i070I-0001tP-63 for guix-patches@gnu.org; Tue, 20 Aug 2019 12:29:02 -0400 Subject: [bug#37098] [PATCH 06/20] gnu: Add python2-tegaki-tools. References: <864l2bx2yz.fsf@gmail.com> In-Reply-To: <864l2bx2yz.fsf@gmail.com> Resent-Message-ID: From: Alex Vong Date: Wed, 21 Aug 2019 00:28:22 +0800 Message-ID: <86sgpvu7h5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: 37098@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0006-gnu-Add-python2-tegaki-tools.patch Content-Transfer-Encoding: quoted-printable From=20693c0d7fa4e7cda42531986ffb0c5105c8082f0d Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Thu, 8 Aug 2019 13:56:56 +0800 Subject: [PATCH 06/20] gnu: Add python2-tegaki-tools. * gnu/packages/language.scm (python2-tegaki-tools): New variable. =2D-- gnu/packages/language.scm | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/gnu/packages/language.scm b/gnu/packages/language.scm index bc02ff9681..d12ca7451e 100644 =2D-- a/gnu/packages/language.scm +++ b/gnu/packages/language.scm @@ -35,7 +35,7 @@ #:use-module (guix build-system perl) #:use-module (guix build-system python) #:use-module ((guix licenses) =2D #:select (bsd-3 gpl2 gpl2+ gpl3 perl-license zpl2.1)) + #:select (bsd-3 gpl2 gpl2+ gpl3 gpl3+ perl-license zpl2.1)) #:use-module (guix download) #:use-module (guix utils)) =20 @@ -567,3 +567,30 @@ suitable for both the desktop and mobile devices.") ("python2-tegaki-python" ,python2-tegaki-python))) (synopsis "Chinese and Japanese Handwriting Recognition (Base UI libra= ry)") (license gpl2+))) ; all files + +(define-public python2-tegaki-tools + (package + (inherit python2-tegaki-wagomu) + (name "python2-tegaki-tools") + (version "0.3.1") + (source + (origin + (method url-fetch) + (uri (tegaki-release-uri "tegaki-tools" version)) + (sha256 + (base32 + "0xxv97ggh2jgldw3r7y59lv3fhz733r6l7mdn6nh4m0gvb0ja971")) + (modules remove-pre-compiled-files-modules) + (snippet (remove-pre-compiled-files "pyc")))) + (arguments + (substitute-keyword-arguments (package-arguments python2-tegaki-wagom= u) + ((#:phases _) '%standard-phases))) + (inputs + `(("python2-tegaki-pygtk" ,python2-tegaki-pygtk))) + ;; override inherited inputs + (native-inputs '()) + (propagated-inputs '()) + (synopsis "Chinese and Japanese Handwriting Recognition (Advanced tool= s)") + ;; Files in gifenc/ are licensed under gpl3+ while other files are lic= ensed + ;; under gpl2+. Therefore, the combined work is licensed under gpl3+. + (license gpl3+))) =2D-=20 2.22.0 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQQwb8uPLAHCXSnTBVZh71Au9gJS8gUCXVwfpgAKCRBh71Au9gJS 8l7QAQDywAWoTMH1w76mUPEG9cx3gl7ej5KfZmqVz7lEwTeiBAEAwWCJX00N76Kd WNeywL1AiURK2Qklkqm1Z7mUcKPlXgs= =OfhN -----END PGP SIGNATURE----- --==-=-=--