diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-03-09 14:16:09 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-03-09 14:16:09 +0000 |
commit | b95c94b6ae5f0a34eb564fc3c94eb52eba9685bc (patch) | |
tree | 9367823821bdc5e6091e36c614a39dd22adc9d62 /testing/py-sip | |
parent | d28790dd2570f5a023241b03013ab641c3072b98 (diff) | |
download | aports-b95c94b6ae5f0a34eb564fc3c94eb52eba9685bc.tar.bz2 aports-b95c94b6ae5f0a34eb564fc3c94eb52eba9685bc.tar.xz |
testing/py-sip: upgrade to 4.17
Diffstat (limited to 'testing/py-sip')
-rw-r--r-- | testing/py-sip/APKBUILD | 15 |
1 files changed, 8 insertions, 7 deletions
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 <francesco.colista@gmail.com> -# Maintainer: +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> 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" |