[arch-commits] Commit in python2-netlib/trunk (PKGBUILD)

Felix Yan fyan at archlinux.org
Sat Mar 19 03:41:28 UTC 2016


    Date: Saturday, March 19, 2016 @ 04:41:28
  Author: fyan
Revision: 167617

upgpkg: python2-netlib 0.16-2

allow cryptography 1.3 with our patched pyopenssl

Modified:
  python2-netlib/trunk/PKGBUILD

----------+
 PKGBUILD |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-19 03:19:41 UTC (rev 167616)
+++ PKGBUILD	2016-03-19 03:41:28 UTC (rev 167617)
@@ -4,7 +4,7 @@
 
 pkgname=python2-netlib
 pkgver=0.16
-pkgrel=1
+pkgrel=2
 pkgdesc="A collection of network utilities used by pathod and mitmproxy"
 url="https://github.com/mitmproxy/netlib"
 license=('MIT')
@@ -18,6 +18,8 @@
 prepare() {
   cd netlib-$pkgver
 
+  sed -i 's/cryptography>=1.2.2, <1.3/cryptography>=1.2.2, <1.4/' setup.py
+
   # Use system certificate store, and system ssl.match_hostname
   sed -e '/certifi/d' \
       -e '/backports.ssl_match_hostname/d' \



More information about the arch-commits mailing list