[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: python2-gamera: Disable wxpython support.
From: |
guix-commits |
Subject: |
01/02: gnu: python2-gamera: Disable wxpython support. |
Date: |
Mon, 23 Aug 2021 11:57:22 -0400 (EDT) |
glv pushed a commit to branch core-updates-frozen
in repository guix.
commit 25adb1b6cdf00b3ec78b6fe9e47af97b0dc42180
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Mon Aug 23 17:41:15 2021 +0200
gnu: python2-gamera: Disable wxpython support.
The package doesn't build when wxpython support is activated, and the only
dependent (didjvu) doesn't need it.
* gnu/packages/python-xyz.scm (python2-gamera)[inputs]: Remove
python2-wxpython.
[arguments]: Add 'disable-wx-support' phase.
---
gnu/packages/python-xyz.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f499a40..994001d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25276,10 +25276,16 @@ process.")
(inputs
`(("libpng" ,libpng)
("libtiff" ,libtiff)
- ("python2-wxpython" ,python2-wxpython)
("zlib" ,zlib)))
(arguments
- `(#:python ,python-2))
+ `(#:python ,python-2
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'disable-wx-support
+ (lambda _
+ (substitute* "setup.py"
+ (("no_wx = False")
+ "no_wx = True")))))))
(synopsis "Framework for building document analysis applications")
(description
"Gamera is a toolkit for building document image recognition systems.")