sip: rename to sip4

This commit is contained in:
Đoàn Trần Công Danh 2021-01-08 08:05:44 +07:00
parent 1500a2ae50
commit 1423fd8ea8
4 changed files with 10 additions and 7 deletions

View File

@ -1 +1 @@
sip
sip4

View File

@ -1 +1 @@
sip
sip4

View File

@ -1,7 +1,8 @@
# Template file for 'sip'
pkgname=sip
# Template file for 'sip4'
pkgname=sip4
version=4.19.24
revision=3
revision=4
wrksrc="sip-$version"
hostmakedepends="python3-devel"
makedepends="${hostmakedepends}"
short_desc="Python extension module generator for C/C++ libraries"
@ -10,12 +11,14 @@ license="GPL-2.0-only, GPL-3.0-only, custom:SIP"
homepage="https://riverbankcomputing.com/software/sip/intro"
distfiles="https://www.riverbankcomputing.com/static/Downloads/sip/${version}/sip-${version}.tar.gz"
checksum=edcd3790bb01938191eef0f6117de0bf56d1136626c0ddb678f3a558d62e41e5
replaces="sip<=${version}_${revision}"
provides="sip-${version}_${revision}"
do_build() {
python3 configure.py \
CC="${CC}" CFLAGS="${CFLAGS}" CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" \
LINK="${CXX}" LINK_SHLIB="${CXX}" LFLAGS="${LDFLAGS}" STRIP="" \
INCDIR="${XBPS_CROSS_BASE}/${py3_inc}" ${pyqt5}
INCDIR="${XBPS_CROSS_BASE}/${py3_inc}"
make ${makejobs}
}
@ -40,7 +43,7 @@ python3-sip_package() {
}
python3-sip-devel_package() {
depends="python3-sip-${version}_${revision} sip-${version}_${revision}"
depends="python3-sip-${version}_${revision} sip4-${version}_${revision}"
short_desc="Python3 SIP bindings - development files"
pkg_install() {
vmove ${py3_inc}