[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/20: gnu: Add python2-zinnia.
From: |
guix-commits |
Subject: |
02/20: gnu: Add python2-zinnia. |
Date: |
Tue, 17 Sep 2019 01:34:22 -0400 (EDT) |
alexvong1995 pushed a commit to branch master
in repository guix.
commit 16dd1fd044b3d47939707e0a863cb461c7455d25
Author: Alex Vong <address@hidden>
Date: Tue Aug 6 23:52:41 2019 +0800
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 14ea7e4..1266e7e 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)))))
- branch master updated (82c4ad9 -> 0ed97e6), guix-commits, 2019/09/17
- 02/20: gnu: Add python2-zinnia.,
guix-commits <=
- 01/20: gnu: Add zinnia., guix-commits, 2019/09/17
- 06/20: gnu: Add python2-tegaki-tools., guix-commits, 2019/09/17
- 08/20: gnu: Add tegaki-zinnia-japanese., guix-commits, 2019/09/17
- 14/20: gnu: Add tegaki-zinnia-traditional-chinese., guix-commits, 2019/09/17
- 18/20: gnu: Add tegaki-wagomu-japanese-joyo., guix-commits, 2019/09/17
- 12/20: gnu: Add tegaki-zinnia-simplified-chinese., guix-commits, 2019/09/17
- 16/20: gnu: Add tegaki-wagomu-japanese., guix-commits, 2019/09/17
- 15/20: gnu: Add tegaki-zinnia-traditional-chinese-light., guix-commits, 2019/09/17
- 05/20: gnu: Add python2-tegaki-pygtk., guix-commits, 2019/09/17
- 04/20: gnu: Add python2-tegaki-python., guix-commits, 2019/09/17