mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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.
This commit is contained in:
parent
721bf4c001
commit
25adb1b6cd
1 changed files with 8 additions and 2 deletions
|
@ -25276,10 +25276,16 @@ process.")
|
||||||
(inputs
|
(inputs
|
||||||
`(("libpng" ,libpng)
|
`(("libpng" ,libpng)
|
||||||
("libtiff" ,libtiff)
|
("libtiff" ,libtiff)
|
||||||
("python2-wxpython" ,python2-wxpython)
|
|
||||||
("zlib" ,zlib)))
|
("zlib" ,zlib)))
|
||||||
(arguments
|
(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")
|
(synopsis "Framework for building document analysis applications")
|
||||||
(description
|
(description
|
||||||
"Gamera is a toolkit for building document image recognition systems.")
|
"Gamera is a toolkit for building document image recognition systems.")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue