python-PyQt5: python-enum34 is also required at runtime

This commit is contained in:
Alessio Sergi 2019-01-01 16:01:54 +01:00
parent 4366454c18
commit 561bff6f4e
1 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'python-PyQt5'
pkgname=python-PyQt5
version=5.11.3
revision=2
revision=3
_sipver=4.19.13
lib32disabled=yes
wrksrc="PyQt5_gpl-${version}"
@ -15,11 +15,11 @@ hostmakedepends="pkg-config
qt5-x11extras-devel qt5-xmlpatterns-devel qt5-networkauth-devel pulseaudio-devel
python-enum34"
makedepends="${hostmakedepends/pkg-config/}"
depends="python-sip-PyQt5>=${_sipver}"
depends="python-sip-PyQt5>=${_sipver} python-enum34"
short_desc="Python2 bindings for the Qt5 toolkit"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://riverbankcomputing.com/software/pyqt/intro"
license="GPL-3"
license="GPL-3.0-only"
distfiles="${SOURCEFORGE_SITE}/pyqt/PyQt5_gpl-${version}.tar.gz"
checksum=c9b57d15601d436faf35dacf8e0acefa220194829a653e771e80b189b3261073
@ -63,7 +63,7 @@ EOF
_configuration="--configuration $wrksrc/pyqt5-$pyver/pyqt5_${XBPS_CROSS_TRIPLET}.cfg"
fi
python${pyver} configure.py --confirm-license --assume-shared $_sysroot $_configuration \
python${pyver} configure.py --confirm-license --assume-shared --no-dist-info $_sysroot $_configuration \
QMAKE_CC="${CC}" QMAKE_CFLAGS="${CFLAGS}" QMAKE_CXX="${CXX}" QMAKE_CXXFLAGS="${CXXFLAGS}" \
QMAKE_LINK="${CXX}" QMAKE_LINK_SHLIB="${CXX}" QMAKE_LFLAGS="${LDFLAGS}" QMAKE_STRIP=""
make ${makejobs}