sip: update to 4.18

Remove references to -specs.
This commit is contained in:
Alessio Sergi 2016-04-16 23:48:46 +02:00
parent 6be4503838
commit 4177b16dba
1 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'sip'
pkgname=sip
version=4.17
version=4.18
revision=1
wrksrc="sip-${version}"
hostmakedepends="python-devel python3.4-devel"
@ -10,7 +10,7 @@ maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="http://www.riverbankcomputing.co.uk/software/sip/intro"
license="GPL-2, GPL-3, SIP"
distfiles="${SOURCEFORGE_SITE}/pyqt/sip-${version}.tar.gz"
checksum=603026822adf8673fca6e0ea20b02c3c4a2dccb309647656f7269adc8de89060
checksum=f1dc5c81c07a9ad97edcd4a0af964a41e420024ba7ca165afd2b351efd249cb6
_do_sip_build() {
local pyver=${1:-2.7} pysufx=
@ -52,6 +52,12 @@ do_install() {
vinstall sipconfig.py 644 usr/lib/python3.4/site-packages
vinstall sipdistutils.py 644 usr/lib/python3.4/site-packages
}
post_install() {
# Remove references to hardening -specs.
sed -i ${DESTDIR}/usr/lib/python*/site-packages/sipconfig.py \
-e "s|-specs=/void-packages/common/environment/configure/gccspecs/hardened-cc1||g" \
-e "s|-specs=/void-packages/common/environment/configure/gccspecs/hardened-ld||g"
}
python-sip_package() {
lib32disabled=yes
@ -61,6 +67,7 @@ python-sip_package() {
pkg_install() {
vmove usr/lib/python2.7/site-packages/sip.so
vmove usr/lib/python2.7/site-packages/sipconfig.py
vmove usr/lib/python2.7/site-packages/sip.pyi
}
}
python-sip-devel_package() {
@ -81,6 +88,7 @@ python3.4-sip_package() {
pkg_install() {
vmove usr/lib/python3.4/site-packages/sip.so
vmove usr/lib/python3.4/site-packages/sipconfig.py
vmove usr/lib/python3.4/site-packages/sip.pyi
}
}
python3.4-sip-devel_package() {