From 9d2c29e96c6d1eaac2f79639f664bc31a2c7474a Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Mon, 16 Jul 2018 13:44:02 +0300 Subject: [PATCH] libproxy: Rebuild for Python 3.7 --- mingw-w64-libproxy/007-python37-support.patch | 11 +++++++++++ mingw-w64-libproxy/PKGBUILD | 9 ++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 mingw-w64-libproxy/007-python37-support.patch diff --git a/mingw-w64-libproxy/007-python37-support.patch b/mingw-w64-libproxy/007-python37-support.patch new file mode 100644 index 0000000000..4fc343d154 --- /dev/null +++ b/mingw-w64-libproxy/007-python37-support.patch @@ -0,0 +1,11 @@ +--- libproxy-0.4.15/cmake/FindPython3Interp.cmake.orig 2018-07-16 13:40:30.196949100 +0300 ++++ libproxy-0.4.15/cmake/FindPython3Interp.cmake 2018-07-16 13:40:35.656958700 +0300 +@@ -39,7 +39,7 @@ + + unset(_Python3_NAMES) + +-set(_Python3_VERSIONS 3.6 3.5 3.4 3.3 3.2 3.1 3.0) ++set(_Python3_VERSIONS 3.7 3.6 3.5 3.4 3.3 3.2 3.1 3.0) + + if(Python3Interp_FIND_VERSION) + if(Python3Interp_FIND_VERSION_COUNT GREATER 1) diff --git a/mingw-w64-libproxy/PKGBUILD b/mingw-w64-libproxy/PKGBUILD index f9761da20f..a3b2afe95c 100644 --- a/mingw-w64-libproxy/PKGBUILD +++ b/mingw-w64-libproxy/PKGBUILD @@ -4,7 +4,7 @@ _realname=libproxy pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" pkgver=0.4.15 -pkgrel=1 +pkgrel=2 pkgdesc="A library that provides automatic proxy configuration management (mingw-w64)" arch=('any') url="https://libproxy.github.io/libproxy/" @@ -20,13 +20,15 @@ source=("${_realname}-${pkgver}.tar.gz::https://github.com/libproxy/libproxy/arc 002-fix-win32-close-scoket.patch 004-allow-bindings.patch 005-modules.patch - 006-python-site-package-dir.patch) + 006-python-site-package-dir.patch + 007-python37-support.patch) sha256sums=('18f58b0a0043b6881774187427ead158d310127fc46a1c668ad6d207fb28b4e0' 'f20ce4f17c1a858b3eac84a14226c5e368ea581b0b5ab3428f6e1f9d22d44124' '88e5988413ee2f24a893c4a64f43a7574a395ae63139d05e66a8eb1d14f14902' '0c3182da531c117f80e05871af73d1c2c5d3828ee828f91bba212c9252747ddc' 'c2e2193a6cafcd45dddc1993ea1e61a85c7d9e7b99a5f0e05a0754c52f5ac0dd' - '035efcd364e736f8987ea99d11250b3e2987ba31cefbd434003faf0b3da789b6') + '035efcd364e736f8987ea99d11250b3e2987ba31cefbd434003faf0b3da789b6' + '07dc2752fbb29ac5cfda401eae1e1a8a062acc8bbee13aedcbfcf1714e785629') prepare() { cd "${srcdir}/${_realname}-${pkgver}" @@ -35,6 +37,7 @@ prepare() { patch -p1 -i ${srcdir}/004-allow-bindings.patch patch -p1 -i ${srcdir}/005-modules.patch patch -p1 -i ${srcdir}/006-python-site-package-dir.patch + patch -p1 -i ${srcdir}/007-python37-support.patch } build() {