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:
Guillaume Le Vaillant 2021-08-23 17:41:15 +02:00
parent 721bf4c001
commit 25adb1b6cd
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -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.")