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.1
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=8d669fe8fa434a3e47abde3b40d924d91932e8e19d88b20c778a3e1c77621ebc
post_install() {
rm -rf $DESTDIR/$py3_sitelib/pyqtbuild/bundle
sed -n '1,/SUCH DAMAGE[.]/p' setup.py >NOTICE
vlicense NOTICE
vlicense LICENSE
}