python3-PyQt5-networkauth: update to 5.15.3
Splited from python3-PyQt5
This commit is contained in:
parent
411b8f15cc
commit
b75e592cef
2 changed files with 48 additions and 0 deletions
1
srcpkgs/python3-PyQt5-networkauth-devel
Symbolic link
1
srcpkgs/python3-PyQt5-networkauth-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
python3-PyQt5-networkauth
|
47
srcpkgs/python3-PyQt5-networkauth/template
Normal file
47
srcpkgs/python3-PyQt5-networkauth/template
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Template file for 'python3-PyQt5-networkauth'
|
||||
pkgname=python3-PyQt5-networkauth
|
||||
version=5.15.3
|
||||
revision=1
|
||||
wrksrc=PyQtNetworkAuth-$version
|
||||
build_helper="qmake"
|
||||
hostmakedepends="qt5-qmake python3-PyQt5-devel pkg-config sip
|
||||
python3-PyQt-builder"
|
||||
makedepends="python3-devel python3-PyQt5-devel qt5-networkauth-devel"
|
||||
depends="python3-PyQt5>=$version"
|
||||
short_desc="Python bindings for the Qt5 Network Authorization library"
|
||||
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=2590eae76d4b87ceb9f0d857a5631e13dd14f7fdab2b5e696df61f77e4e3fd82
|
||||
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}"
|
||||
pkg_install() {
|
||||
vmove ${py3_sitelib}/PyQt5/bindings
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue