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

Felix Yan fyan at archlinux.org
Thu Mar 31 06:06:54 UTC 2016


    Date: Thursday, March 31, 2016 @ 08:06:54
  Author: fyan
Revision: 169006

upgpkg: python2-netlib 0.16-3

Modified:
  python2-netlib/trunk/PKGBUILD

----------+
 PKGBUILD |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-31 06:05:45 UTC (rev 169005)
+++ PKGBUILD	2016-03-31 06:06:54 UTC (rev 169006)
@@ -4,7 +4,7 @@
 
 pkgname=python2-netlib
 pkgver=0.16
-pkgrel=2
+pkgrel=3
 pkgdesc="A collection of network utilities used by pathod and mitmproxy"
 url="https://github.com/mitmproxy/netlib"
 license=('MIT')
@@ -18,7 +18,9 @@
 prepare() {
   cd netlib-$pkgver
 
-  sed -i 's/cryptography>=1.2.2, <1.3/cryptography>=1.2.2, <1.4/' setup.py
+  sed -e 's/cryptography>=1.2.2, <1.3/cryptography>=1.2.2, <1.4/' \
+      -e 's/pyOpenSSL>=0.15.1, <0.16/pyOpenSSL>=0.15.1, <17/' \
+      -i setup.py
 
   # Use system certificate store, and system ssl.match_hostname
   sed -e '/certifi/d' \



More information about the arch-commits mailing list