sip: update to 4.16.5
This commit is contained in:
parent
f00f536b95
commit
cdcc14962c
1 changed files with 6 additions and 17 deletions
|
@ -1,17 +1,16 @@
|
||||||
# Template file for 'sip'
|
# Template file for 'sip'
|
||||||
pkgname=sip
|
pkgname=sip
|
||||||
version=4.16.4
|
version=4.16.5
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="sip-${version}"
|
wrksrc="sip-${version}"
|
||||||
hostmakedepends="python-devel python3.4-devel"
|
hostmakedepends="python-devel python3.4-devel"
|
||||||
makedepends="${hostmakedepends}"
|
makedepends="${hostmakedepends}"
|
||||||
replaces="python-sip<4.16.2_2"
|
|
||||||
short_desc="Python extension module generator for C/C++ libraries"
|
short_desc="Python extension module generator for C/C++ libraries"
|
||||||
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
maintainer="Alessio Sergi <al3hex@gmail.com>"
|
||||||
homepage="http://www.riverbankcomputing.co.uk/software/sip/intro"
|
homepage="http://www.riverbankcomputing.co.uk/software/sip/intro"
|
||||||
license="GPL-2, GPL-3, SIP"
|
license="GPL-2, GPL-3, SIP"
|
||||||
distfiles="${SOURCEFORGE_SITE}/pyqt/${pkgname}-${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/pyqt/${pkgname}-${version}.tar.gz"
|
||||||
checksum=ceda443fc5e129e67a067e2cd7b73ff037f8b10b50e407baa2b1d9f2199d57f5
|
checksum=a00ba34c30bedc0f61916eb10bd12867b4754910a766647e3e58f88bd00f1e87
|
||||||
|
|
||||||
_do_sip_build() {
|
_do_sip_build() {
|
||||||
local pyver=${1:-2.7} pysufx=
|
local pyver=${1:-2.7} pysufx=
|
||||||
|
@ -26,21 +25,18 @@ _do_sip_build() {
|
||||||
INCDIR="${XBPS_CROSS_BASE}/usr/include/python${pyver}${pysufx}"
|
INCDIR="${XBPS_CROSS_BASE}/usr/include/python${pyver}${pysufx}"
|
||||||
make ${makejobs}
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
cp -a ${wrksrc} /tmp/python3.4-sip-build
|
cp -a ${wrksrc} /tmp/sip-3.4
|
||||||
mv /tmp/python3.4-sip-build ${wrksrc}
|
mv /tmp/sip-3.4 ${wrksrc}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
# build python-sip
|
# build python-sip
|
||||||
_do_sip_build
|
_do_sip_build
|
||||||
|
|
||||||
# build python3.4-sip
|
# build python3.4-sip
|
||||||
cd ${wrksrc}/python3.4-sip-build
|
cd ${wrksrc}/sip-3.4
|
||||||
_do_sip_build 3.4
|
_do_sip_build 3.4
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
# install sip
|
# install sip
|
||||||
make DESTDIR=${DESTDIR} install -C sipgen
|
make DESTDIR=${DESTDIR} install -C sipgen
|
||||||
|
@ -51,14 +47,13 @@ do_install() {
|
||||||
vinstall sipdistutils.py 644 usr/lib/python2.7/site-packages
|
vinstall sipdistutils.py 644 usr/lib/python2.7/site-packages
|
||||||
|
|
||||||
# install python3.4-sip
|
# install python3.4-sip
|
||||||
cd ${wrksrc}/python3.4-sip-build
|
cd ${wrksrc}/sip-3.4
|
||||||
make DESTDIR=${DESTDIR} install -C siplib
|
make DESTDIR=${DESTDIR} install -C siplib
|
||||||
vinstall sipconfig.py 644 usr/lib/python3.4/site-packages
|
vinstall sipconfig.py 644 usr/lib/python3.4/site-packages
|
||||||
vinstall sipdistutils.py 644 usr/lib/python3.4/site-packages
|
vinstall sipdistutils.py 644 usr/lib/python3.4/site-packages
|
||||||
}
|
}
|
||||||
|
|
||||||
python-sip_package() {
|
python-sip_package() {
|
||||||
replaces="python-sip<4.16.2_2"
|
|
||||||
depends="${sourcepkg}>=${version}_${revision} python"
|
depends="${sourcepkg}>=${version}_${revision} python"
|
||||||
pycompile_module="sipconfig.py"
|
pycompile_module="sipconfig.py"
|
||||||
short_desc+=" - Python2 SIP bindings"
|
short_desc+=" - Python2 SIP bindings"
|
||||||
|
@ -67,9 +62,7 @@ python-sip_package() {
|
||||||
vmove usr/lib/python2.7/site-packages/sipconfig.py
|
vmove usr/lib/python2.7/site-packages/sipconfig.py
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
python-sip-devel_package() {
|
python-sip-devel_package() {
|
||||||
replaces="python-sip<4.16.2_2"
|
|
||||||
depends="python-sip>=${version}_${revision}"
|
depends="python-sip>=${version}_${revision}"
|
||||||
pycompile_module="sipdistutils.py"
|
pycompile_module="sipdistutils.py"
|
||||||
short_desc+=" - Python2 SIP bindings (development files)"
|
short_desc+=" - Python2 SIP bindings (development files)"
|
||||||
|
@ -78,9 +71,7 @@ python-sip-devel_package() {
|
||||||
vmove usr/lib/python2.7/site-packages/sipdistutils.py
|
vmove usr/lib/python2.7/site-packages/sipdistutils.py
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-sip_package() {
|
python3.4-sip_package() {
|
||||||
replaces="python3.4-sip<4.16.2_2"
|
|
||||||
depends="${sourcepkg}>=${version}_${revision} python3.4"
|
depends="${sourcepkg}>=${version}_${revision} python3.4"
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="sipconfig.py"
|
pycompile_module="sipconfig.py"
|
||||||
|
@ -90,9 +81,7 @@ python3.4-sip_package() {
|
||||||
vmove usr/lib/python3.4/site-packages/sipconfig.py
|
vmove usr/lib/python3.4/site-packages/sipconfig.py
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-sip-devel_package() {
|
python3.4-sip-devel_package() {
|
||||||
replaces="python3.4-sip<4.16.2_2"
|
|
||||||
depends="python3.4-sip>=${version}_${revision}"
|
depends="python3.4-sip>=${version}_${revision}"
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="sipdistutils.py"
|
pycompile_module="sipdistutils.py"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue