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

22 lines
733 B
Bash

# Template file for 'python3-PyQt-builder'
pkgname=python3-PyQt-builder
version=1.9.0
revision=1
wrksrc=PyQt-builder-$version
build_style=python3-module
hostmakedepends="python3-setuptools sip"
depends="python3 sip>=6.0.0"
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=54520b4d40d6e6d1307f9cebab4730ae78e01873c88866aa1e5192c24801005a
post_install() {
rm -rf $DESTDIR/$py3_sitelib/pyqtbuild/bundle
sed -n '1,/SUCH DAMAGE[.]/p' setup.py >NOTICE
vlicense NOTICE
vlicense LICENSE
}