29 lines
938 B
Bash
29 lines
938 B
Bash
# Template file for 'sip'
|
|
pkgname=sip
|
|
version=6.0.2
|
|
revision=1
|
|
build_style=python3-module
|
|
hostmakedepends="python3-devel python3-setuptools python3-packaging python3-toml"
|
|
makedepends="python3-devel"
|
|
depends="python3-setuptools python3-packaging python3-toml"
|
|
short_desc="SIP - Python 3 bindings generator for C/C++ libraries"
|
|
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
|
|
license="GPL-2.0-only, GPL-3.0-only, custom:SIP"
|
|
homepage="https://riverbankcomputing.com/software/sip/intro"
|
|
distfiles="${PYPI_SITE}/s/sip/sip-${version}.tar.gz"
|
|
checksum=38633bfaa479b1dd35df8f414ffc5c5a342f174ca0c6a21d0e8eb359e33c35b9
|
|
lib32disabled=yes
|
|
replaces="sip5<=${version}_${revision}"
|
|
provides="sip5-${version}_${revision}"
|
|
|
|
post_install() {
|
|
sed -n '1,/SUCH DAMAGE/p' sipbuild/project.py >NOTICE
|
|
vlicense NOTICE
|
|
vlicense LICENSE
|
|
}
|
|
|
|
sip5_package() {
|
|
short_desc+=" - transition"
|
|
build_style=meta
|
|
depends="sip>=${version}_${revision}"
|
|
}
|