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

Felix Yan fyan at archlinux.org
Tue Feb 9 09:06:19 UTC 2016


    Date: Tuesday, February 9, 2016 @ 10:06:19
  Author: fyan
Revision: 160986

upgpkg: python2-netlib 0.15.1-3

fix hpack dependency

Modified:
  python2-netlib/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-02-09 08:42:00 UTC (rev 160985)
+++ PKGBUILD	2016-02-09 09:06:19 UTC (rev 160986)
@@ -4,7 +4,7 @@
 
 pkgname=python2-netlib
 pkgver=0.15.1
-pkgrel=2
+pkgrel=3
 pkgdesc="A collection of network utilities used by pathod and mitmproxy"
 url="https://github.com/mitmproxy/netlib"
 license=('MIT')
@@ -18,8 +18,10 @@
 prepare() {
   cd netlib-$pkgver
 
-  # Allow cryptography 1.2.*
-  sed -i 's/cryptography>=1.1.1, <1.2/cryptography>=1.1.1, <1.3/' setup.py
+  # Allow cryptography 1.2.*, hpack 2.1.*
+  sed -e 's/cryptography>=1.1.1, <1.2/cryptography>=1.1.1, <1.3/' \
+      -e 's/hpack>=2.0.1, <2.1/hpack>=2.0.1, <3.0/' \
+      -i setup.py
 
   # Use system certificate store, and system ssl.match_hostname
   sed -e '/certifi/d' \



More information about the arch-commits mailing list