python3-PyQt5-networkauth: update to 5.15.5.

This commit is contained in:
Đoàn Trần Công Danh 2021-10-27 07:47:06 +07:00 committed by Đoàn Trần Công Danh
parent 5518ca7350
commit 241c56192c

View file

@ -1,9 +1,9 @@
# Template file for 'python3-PyQt5-networkauth'
pkgname=python3-PyQt5-networkauth
version=5.15.4
revision=2
version=5.15.5
revision=1
wrksrc=PyQtNetworkAuth-$version
build_helper="qmake"
build_style=sip-build
hostmakedepends="qt5-qmake python3-PyQt5-devel pkg-config sip
python3-PyQt-builder"
makedepends="python3-devel python3-PyQt5-devel qt5-networkauth-devel"
@ -13,32 +13,11 @@ maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-only"
homepage="https://www.riverbankcomputing.com/software/pyqtnetworkauth/"
distfiles="${PYPI_SITE}/P/PyQtNetworkAuth/PyQtNetworkAuth-${version}.tar.gz"
checksum=893b9f8afb26a64757e9fa3436261b8bfcb4e696efc2a364a9dc8ac44db67fa7
checksum=2230b6f56f4c9ad2e88bf5ac648e2f3bee9cd757550de0fb98fe0bcb31217b16
lib32disabled=yes
CFLAGS=-I$XBPS_CROSS_BASE/usr/include/python$py3_ver
CXXFLAGS="$CFLAGS"
do_configure() {
mkdir -p build
sip-build --no-make \
--api-dir /usr/share/qt5/qsci/api/python \
--build-dir build
if [ "$CROSS_BUILD" ]; then
# -I/usr/include/python$py3_ver is set by sip-build :(
find build -name Makefile |
xargs sed -i "s,-I\\(/usr/include\\),-I$XBPS_CROSS_BASE\\1,g"
fi
}
do_build() {
make -C build ${makejobs}
}
do_install() {
make -C build DESTDIR=${DESTDIR} INSTALL_ROOT=${DESTDIR} install
}
python3-PyQt5-networkauth-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"