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

21 lines
703 B
Bash

# Template file for 'python3-PyQt-builder'
pkgname=python3-PyQt-builder
version=1.15.4
revision=1
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=39f8c75db17d9ce17cb6bbf3df1650b5cebc1ea4e5bd73843d21cc96612b2ae1
post_install() {
rm -rf $DESTDIR/$py3_sitelib/pyqtbuild/bundle
sed -n '1,/SUCH DAMAGE[.]/p' setup.py >NOTICE
vlicense NOTICE
vlicense LICENSE
}