grass: rebuild against new wxPython

This commit is contained in:
Andrew J. Hesford 2023-09-25 08:02:51 -04:00
parent 63eca1afe8
commit e640bbb332

View file

@ -1,7 +1,7 @@
# Template file for 'grass'
pkgname=grass
version=8.2.1
revision=2
revision=3
_binver=${version//./}
_binver=${_binver:0:2}
build_style=gnu-configure
@ -11,7 +11,7 @@ hostmakedepends="flex libgdal-tools pkg-config python3-numpy python3-six tar"
makedepends="proj-devel tiff-devel libgdal-devel sqlite-devel
fftw-devel cairo-devel glu-devel"
depends="python3-numpy python3-dateutil python3-Pillow python3-matplotlib
python3-six python3-ply wxPython4"
python3-six python3-ply wxPython"
short_desc="Geographic Resources Analysis Support System - GIS"
maintainer="Alex Jarosch <research@alexj.at>"
license="GPL-2.0-or-later"
@ -22,7 +22,7 @@ python_version=3
nocross="tries to execute target binaries"
post_install() {
# This package is broken with wxPython4 (<=4.0.7),
# hence the GUI is compulsorily disabled.
# This package is broken with wxPython (<=4.0.7) and the GUI
# is disabled pending further testing with newer wxPython
vsed -i "${DESTDIR}/usr/bin/grass" -e "s/\(default_gui =\).*/\1 \"text\"/"
}