From 25adb1b6cdf00b3ec78b6fe9e47af97b0dc42180 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Mon, 23 Aug 2021 17:41:15 +0200 Subject: 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(-) (limited to 'gnu/packages') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f499a40ca4..994001d72f 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.") -- cgit v1.2.3