From b95c94b6ae5f0a34eb564fc3c94eb52eba9685bc Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Wed, 9 Mar 2016 14:16:09 +0000 Subject: testing/py-sip: upgrade to 4.17 --- testing/py-sip/APKBUILD | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'testing/py-sip') diff --git a/testing/py-sip/APKBUILD b/testing/py-sip/APKBUILD index f430438918..a2a29510ee 100644 --- a/testing/py-sip/APKBUILD +++ b/testing/py-sip/APKBUILD @@ -1,8 +1,8 @@ -# Contributor: Francesco Colista -# Maintainer: +# Contributor: Francesco Colista +# Maintainer: Francesco Colista pkgname=py-sip _pkgname=sip -pkgver=4.15.1 +pkgver=4.17 pkgrel=0 pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries" url="http://www.riverbankcomputing.com/software/sip/" @@ -18,10 +18,11 @@ source="http://sourceforge.net/projects/pyqt/files/sip/sip-$pkgver/sip-$pkgver.t _builddir="$srcdir"/$_pkgname-$pkgver build() { cd "$_builddir" + local sip_api_major_nr=$(sed -nre 's:^#define SIP_API_MAJOR_NR\s+([0-9]+):\1:p' siplib/sip.h.in) python configure.py make CC="${CC:-gcc}" \ CXX="${CXX:-g++}" \ - CFLAGS="$CFLAGS" \ + CFLAGS="$CFLAGS -fPIC" \ CXXFLAGS="$CXXFLAGS" \ || return 1 } @@ -32,6 +33,6 @@ package() { install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE } -md5sums="ec1ce361ac3618fe05359ec6f5368463 sip-4.15.1.tar.gz" -sha256sums="0e2c698d95685ec24c00c27ea05be55782b094616429a4256f63850530d676ad sip-4.15.1.tar.gz" -sha512sums="b746b35c0d138da7cc73a0f44392aabda7900eda908f8957917bf6e19f046f625ccaec533c2ff2e3f977f87a83185fad446625ddf0faccd2b0250871ea4914c7 sip-4.15.1.tar.gz" +md5sums="ca51677770fa62dd5087877688cf97ba sip-4.17.tar.gz" +sha256sums="603026822adf8673fca6e0ea20b02c3c4a2dccb309647656f7269adc8de89060 sip-4.17.tar.gz" +sha512sums="ac9af0b0e8424152a9768bccacd4db393fd3f4e5c8cf171863d9e615564c744c5be4d0b4af82c5ceed8d27f9845e308f559df30153e6d5bce8d4e2af6e5192d9 sip-4.17.tar.gz" -- cgit v1.2.3