wxPython4: update to 4.0.6.

- Also fix an issue with permissions from source tarball that leads to a
  broken package. Reported upstream at
    https://github.com/wxWidgets/Phoenix/issues/1363
This commit is contained in:
Andrew Benson 2019-09-19 07:35:15 -05:00 committed by Helmut Pozimski
parent fba38c27c8
commit ab41c3bf18

View file

@ -1,22 +1,22 @@
# Template file for 'wxPython4'
pkgname=wxPython4
version=4.0.4
version=4.0.6
revision=1
wrksrc="wxPython-${version}"
build_style=python3-module
pycompile_module="wx"
make_build_args="--skip-build"
make_install_args="--skip-build"
hostmakedepends="pkg-config python3-setuptools"
hostmakedepends="pkg-config python3-setuptools python3-pathlib2"
makedepends="python3-devel wxWidgets-gtk3-devel SDL2-devel webkit2gtk-devel
gst-plugins-base1-devel"
depends="python3"
short_desc="WxWidgets GUI toolkit library (Python3 Bindings)"
maintainer="Jasper Chan <jasperchan515@gmail.com>"
license="wxWindows"
license="custom:wxWindows"
homepage="http://www.wxpython.org/"
distfiles="${PYPI_SITE}/w/wxPython/wxPython-${version}.tar.gz"
checksum=0d9ef4260cb2f3e23ed9dcf6baa905ba585ac7d631613cddc299c4c83463ae29
checksum=35cc8ae9dd5246e2c9861bb796026bbcb9fb083e4d49650f776622171ecdab37
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" python3"
@ -24,6 +24,7 @@ if [ "$CROSS_BUILD" ]; then
fi
pre_build() {
chmod -R go+rX $wrksrc
if [ "$CROSS_BUILD" ]; then
PYPREFIX="$XBPS_CROSS_BASE"
CFLAGS+=" -I${XBPS_CROSS_BASE}/${py3_inc} -I${XBPS_CROSS_BASE}/usr/include"