wxPython: remove package

This commit is contained in:
Andrew J. Hesford 2023-09-24 23:26:53 -04:00
parent ee0b701690
commit 61bfffd3b2
2 changed files with 0 additions and 48 deletions

View file

@ -1 +0,0 @@
wxPython

View file

@ -1,47 +0,0 @@
# Template file for 'wxPython'
pkgname=wxPython
version=3.0.2.0
revision=11
hostmakedepends="pkg-config"
makedepends="
zlib-devel libpng-devel libjpeg-turbo-devel tiff-devel expat-devel gtk+-devel
libSM-devel MesaLib-devel glu-devel
libnotify-devel python-devel wxWidgets-devel"
depends="python"
short_desc="Python Bindings for the wxWidgets GUI toolkit library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="WxWindows-exception-3.1"
homepage="https://www.wxpython.org/"
distfiles="${SOURCEFORGE_SITE}/wxpython/${pkgname}-src-${version}.tar.bz2"
checksum=d54129e5fbea4fb8091c87b2980760b72c22a386cb3b9dd2eebc928ef5e8df61
if [ -n "${CROSS_BUILD}" ]; then
hostmakedepends+=" python"
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/python${py2_ver}"
fi
pre_configure() {
mv wxPython/wx/tools/Editra/{editra,Editra}
}
do_build() {
cd wxPython
python2.7 setup.py build
}
do_install() {
cd wxPython
# The path where includes are going to be installed is prefixed with WXPREFIX obtained
# from 'wx-config --prefix' but in a cross build this is '$XBPS_CROSS_BASE/usr'.
sed -i -e "s|WXPREFIX +|'/usr' +|" config.py
python2.7 setup.py install --root=${DESTDIR}
vlicense ../docs/licence.txt LICENSE
}
wxPython-devel_package() {
depends="wxWidgets-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
}
}