GNU bug report logs -
#37101
[PATCH 02/20] gnu: Add python2-zinnia.
Previous Next
Reported by: Alex Vong <alexvong1995 <at> gmail.com>
Date: Tue, 20 Aug 2019 15:41:03 UTC
Severity: normal
Tags: patch
Done: Alex Vong <alexvong1995 <at> gmail.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37101 in the body.
You can then email your comments to 37101 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#37101
; Package
guix-patches
.
(Tue, 20 Aug 2019 15:41:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Alex Vong <alexvong1995 <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Tue, 20 Aug 2019 15:41:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[0002-gnu-Add-python2-zinnia.patch (text/x-diff, inline)]
From 0126c99dc0261c2f8d691e825f6c1ef0e99fa9d6 Mon Sep 17 00:00:00 2001
From: Alex Vong <alexvong1995 <at> gmail.com>
Date: Tue, 6 Aug 2019 23:52:41 +0800
Subject: [PATCH 02/20] gnu: Add python2-zinnia.
* gnu/packages/ocr.scm (python2-zinnia): New variable.
---
gnu/packages/ocr.scm | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/gnu/packages/ocr.scm b/gnu/packages/ocr.scm
index 14ea7e443b..1266e7e419 100644
--- a/gnu/packages/ocr.scm
+++ b/gnu/packages/ocr.scm
@@ -25,7 +25,9 @@
#:use-module (guix download)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system python)
#:use-module (gnu packages compression)
+ #:use-module (gnu packages python)
#:use-module (gnu packages image))
(define-public ocrad
@@ -131,3 +133,21 @@ that allows us to create any hand-written recognition systems with low-cost.")
"file://zinnia/aclocal.m4")
license:x11 ; 'install-sh'
license:public-domain))))) ; 'install-sh'
+
+;;; python 2 bindings, license under the same terms as zinnia
+(define-public python2-zinnia
+ (package
+ (inherit zinnia)
+ (name "python2-zinnia")
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2 ; CObject API is used, it was removed in Python 3.2
+ #:tests? #f ; avoid circular dependency on tegaki-zinnia-japanese
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "zinnia/python")
+ #t)))))
+ (inputs
+ `(("zinnia" ,zinnia)))))
--
2.22.0
[signature.asc (application/pgp-signature, inline)]
bug closed, send any further explanations to
37101 <at> debbugs.gnu.org and Alex Vong <alexvong1995 <at> gmail.com>
Request was from
Alex Vong <alexvong1995 <at> gmail.com>
to
control <at> debbugs.gnu.org
.
(Tue, 20 Aug 2019 16:22:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 18 Sep 2019 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 282 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.