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

22 lines
730 B
Bash

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