sip: Update to 4.16.9
This commit is contained in:
@@ -12,8 +12,8 @@ arch=('any')
|
||||
license=('GPL')
|
||||
url="http://www.riverbankcomputing.co.uk/software/pyqt"
|
||||
makedepends=("${MINGW_PACKAGE_PREFIX}-python2-sip"
|
||||
"${MINGW_PACKAGE_PREFIX}-python3-sip"
|
||||
"${MINGW_PACKAGE_PREFIX}-qt4")
|
||||
"${MINGW_PACKAGE_PREFIX}-python3-sip"
|
||||
"${MINGW_PACKAGE_PREFIX}-qt4")
|
||||
options=('strip' 'staticlibs')
|
||||
source=("http://downloads.sourceforge.net/project/pyqt/PyQt4/PyQt-$pkgver/PyQt-win-gpl-${pkgver}.zip"
|
||||
001-mingw-python.patch)
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
# Contributor: Alexey Pavlov <alexpux@gmail.com>
|
||||
|
||||
_realname=sip
|
||||
pkgbase=mingw-w64-${_realname}
|
||||
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}" "${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
|
||||
pkgver=4.16.8
|
||||
pkgrel=2
|
||||
pkgdesc="Tool to create Python bindings for C and C++ libraries"
|
||||
pkgver=4.16.9
|
||||
pkgrel=1
|
||||
pkgdesc="Tool to create Python bindings for C and C++ libraries (mingw-w64)"
|
||||
arch=('any')
|
||||
license=('GPL')
|
||||
url="http://www.riverbankcomputing.co.uk/software/sip"
|
||||
@@ -14,7 +15,7 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
|
||||
"${MINGW_PACKAGE_PREFIX}-python3")
|
||||
source=("http://downloads.sourceforge.net/project/pyqt/${_realname}/${_realname}-${pkgver}/${_realname}-${pkgver}.tar.gz"
|
||||
"0001-mingw-python.patch")
|
||||
md5sums=('8e48cd78bcd31f9310a701a4111c2739'
|
||||
md5sums=('7a1dfff4e6fade0e4adee2c4e3d3aa9a'
|
||||
'0f812155edb59dd9dcb7bd187c5646ae')
|
||||
|
||||
prepare() {
|
||||
@@ -26,9 +27,9 @@ prepare() {
|
||||
|
||||
build() {
|
||||
for builddir in python{2,3}-${MINGW_CHOST}; do
|
||||
[[ -d $builddir ]] && rm -rf $builddir
|
||||
cp -r ${_realname}-${pkgver} $builddir
|
||||
pushd $builddir
|
||||
[[ -d $builddir ]] && rm -rf ${builddir}
|
||||
cp -r ${_realname}-${pkgver} ${builddir}
|
||||
pushd ${builddir}
|
||||
${MINGW_PREFIX}/bin/${builddir%-${MINGW_CHOST}} configure.py \
|
||||
CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}"
|
||||
make
|
||||
@@ -37,7 +38,7 @@ build() {
|
||||
}
|
||||
|
||||
package_sip() {
|
||||
pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries"
|
||||
pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries (mingw-w64)"
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-gcc-libs")
|
||||
|
||||
cd python2-${MINGW_CHOST}
|
||||
@@ -47,7 +48,7 @@ package_sip() {
|
||||
}
|
||||
|
||||
package_python3-sip() {
|
||||
pkgdesc="Python 3.x SIP bindings for C and C++ libraries"
|
||||
pkgdesc="Python 3.x SIP bindings for C and C++ libraries (mingw-w64)"
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-sip" "${MINGW_PACKAGE_PREFIX}-python3")
|
||||
|
||||
cd python3-${MINGW_CHOST}
|
||||
@@ -60,7 +61,7 @@ package_python3-sip() {
|
||||
}
|
||||
|
||||
package_python2-sip() {
|
||||
pkgdesc="Python 2.x SIP bindings for C and C++ libraries"
|
||||
pkgdesc="Python 2.x SIP bindings for C and C++ libraries (mingw-w64)"
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-sip" "${MINGW_PACKAGE_PREFIX}-python2")
|
||||
|
||||
cd python2-${MINGW_CHOST}
|
||||
|
||||
Reference in New Issue
Block a user