void-packages/srcpkgs/python3-PyQt5-networkauth/template

28 lines
1008 B
Bash

# Template file for 'python3-PyQt5-networkauth'
pkgname=python3-PyQt5-networkauth
version=5.15.5
revision=1
wrksrc=PyQtNetworkAuth-$version
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"
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=2230b6f56f4c9ad2e88bf5ac648e2f3bee9cd757550de0fb98fe0bcb31217b16
lib32disabled=yes
CFLAGS=-I$XBPS_CROSS_BASE/usr/include/python$py3_ver
CXXFLAGS="$CFLAGS"
python3-PyQt5-networkauth-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove ${py3_sitelib}/PyQt5/bindings
}
}