sip: Update to 4.16.6

This commit is contained in:
Alexpux
2015-03-02 13:53:44 +03:00
parent b71b548be7
commit 697d669eab
2 changed files with 5 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ diff -uNr sip-4.16.2/configure.py sip-4.16.2-mingw/configure.py
build_platform = "win32-msvc2010"
elif py_version >= 0x020600:
build_platform = "win32-msvc2008"
@@ -211,16 +214,28 @@
@@ -211,16 +214,29 @@
plat_py_inc_dir = sysconfig.get_python_inc()
plat_py_conf_inc_dir = os.path.dirname(sysconfig.get_config_h_filename())
@@ -46,6 +46,7 @@ diff -uNr sip-4.16.2/configure.py sip-4.16.2-mingw/configure.py
+ plat_bin_dir = temp_sys_exec_prefix + "/bin"
+ temp_sys_prefix = os.popen(' '.join(['cygpath', '--unix', sys.prefix])).readline().strip()
+ plat_sip_dir = temp_sys_prefix + "/share/sip"
+ plat_py_venv_inc_dir = os.popen(' '.join(['cygpath', '--unix', plat_py_venv_inc_dir])).readline().strip()
+ else:
+ plat_py_lib_dir = lib_dir + "/config"
+ plat_bin_dir = sys.exec_prefix + "/bin"

View File

@@ -3,7 +3,7 @@
_realname=sip
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}" "${MINGW_PACKAGE_PREFIX}-python2-${_realname}" "${MINGW_PACKAGE_PREFIX}-python3-${_realname}")
pkgver=4.16.5
pkgver=4.16.6
pkgrel=1
pkgdesc="Tool to create Python bindings for C and C++ libraries"
arch=('any')
@@ -15,8 +15,8 @@ makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
source=("http://downloads.sourceforge.net/project/pyqt/${_realname}/${_realname}-${pkgver}/${_realname}-${pkgver}.tar.gz"
"0001-mingw-python.patch")
md5sums=('6d01ea966a53e4c7ae5c5e48c40e49e5'
'a01b87229009bacfeb440366dd932648')
md5sums=('44e87c4c98206f465d3f07f4caa0c903'
'0f812155edb59dd9dcb7bd187c5646ae')
prepare() {
cd "${srcdir}"/${_realname}-${pkgver}