sip: update to 4.19.8

This commit is contained in:
Alessio Sergi 2018-04-11 19:08:41 +02:00
parent e9cf89a5bc
commit 21268e10a0

View File

@ -1,16 +1,16 @@
# Template file for 'sip'
pkgname=sip
version=4.19.7
version=4.19.8
revision=1
wrksrc="sip-${version}"
hostmakedepends="python-devel python3-devel"
makedepends="${hostmakedepends}"
short_desc="Python extension module generator for C/C++ libraries"
maintainer="Alessio Sergi <al3hex@gmail.com>"
homepage="https://www.riverbankcomputing.co.uk/software/sip/intro"
homepage="https://riverbankcomputing.com/software/sip/intro"
license="GPL-2, GPL-3, SIP"
distfiles="${SOURCEFORGE_SITE}/pyqt/sip/sip-${version}/sip-${version}.tar.gz"
checksum=25b50d29dd4b72965e7980c41e3320e460eff481a177beeddebf8c3be84b8cde
checksum=7eaf7a2ea7d4d38a56dd6d2506574464bddf7cf284c960801679942377c297bc
pre_build() {
mkdir -p sip-${py2_ver}
@ -48,12 +48,6 @@ do_install() {
vinstall sipconfig.py 644 $py3_sitelib
vinstall sipdistutils.py 644 $py3_sitelib
}
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