void-packages/srcpkgs/python3-PyQt-builder/template

22 lines
732 B
Bash

# Template file for 'python3-PyQt-builder'
pkgname=python3-PyQt-builder
version=1.12.1
revision=2
wrksrc=PyQt-builder-$version
build_style=python3-module
hostmakedepends="python3-setuptools sip"
depends="python3 sip>=6.3"
short_desc="PEP 517 compliant PyQt build system"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-2.0-only, GPL-3.0-only, custom:SIP"
homepage="https://www.riverbankcomputing.com/software/pyqt/"
distfiles="$PYPI_SITE/P/PyQt-builder/PyQt-builder-$version.tar.gz"
checksum=9a71e9cac134702467bd93ed9c7a5a47dc4386d93501bdcafb14cd08b3041d40
post_install() {
rm -rf $DESTDIR/$py3_sitelib/pyqtbuild/bundle
sed -n '1,/SUCH DAMAGE[.]/p' setup.py >NOTICE
vlicense NOTICE
vlicense LICENSE
}