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

Felix Yan felixonmars at archlinux.org
Thu Feb 23 05:52:53 UTC 2017


    Date: Thursday, February 23, 2017 @ 05:52:52
  Author: felixonmars
Revision: 213571

upgpkg: mitmproxy 2.0.0-1

Modified:
  mitmproxy/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-02-23 05:51:03 UTC (rev 213570)
+++ PKGBUILD	2017-02-23 05:52:52 UTC (rev 213571)
@@ -4,7 +4,7 @@
 # Contributor: Olivier Biesmans <olivier at biesmans dot fr>
 
 pkgname=mitmproxy
-pkgver=1.0.2
+pkgver=2.0.0
 pkgrel=1
 pkgdesc="SSL-capable man-in-the-middle HTTP proxy"
 arch=('any')
@@ -11,14 +11,15 @@
 url="http://mitmproxy.org/"
 license=('GPL')
 depends=('python-blinker' 'python-brotlipy' 'python-click' 'python-construct' 'python-cryptography'
-         'python-cssutils' 'python-flask' 'python-h2' 'python-html2text' 'python-hyperframe'
-         'python-jsbeautifier' 'python-pillow' 'python-passlib' 'python-pyasn1' 'python-pyopenssl'
-         'python-pyparsing' 'python-pyperclip' 'python-ruamel-yaml' 'python-sortedcontainers'
-         'python-requests' 'python-tornado' 'python-urwid' 'python-watchdog')
-optdepends=('python-protobuf: Contentviews - Extended content decoding')
+         'python-cssutils' 'python-h2' 'python-html2text' 'python-hyperframe' 'python-jsbeautifier'
+         'python-kaitaistruct' 'python-passlib' 'python-pyasn1' 'python-pyopenssl'
+         'python-pyparsing' 'python-pyperclip' 'python-requests' 'python-ruamel-yaml'
+         'python-setuptools' 'python-sortedcontainers' 'python-tornado' 'python-urwid'
+         'python-watchdog')
+optdepends=('protobuf: Contentviews - Extended content decoding')
 makedepends=('git')
-checkdepends=('python-beautifulsoup4' 'python-mock' 'python-pytest-runner' 'python-pytest-timeout'
-              'python-pytz')
+checkdepends=('python-beautifulsoup4' 'python-flask' 'python-pytz' 'python-pytest-runner'
+              'protobuf')
 provides=('pathod')
 conflicts=('pathod')
 replaces=('pathod')
@@ -28,7 +29,7 @@
 prepare() {
   cd mitmproxy
 
-  # Let's remove all the upper bounds, use system certificate store and ssl.match_hostname
+  # Let's remove all the upper bounds and use system certificate store
   sed -e '/certifi/d' \
       -e 's/, *<[0-9=.]*//' \
       -i setup.py
@@ -39,9 +40,9 @@
 
 check() {
   cd mitmproxy
-  LC_CTYPE=en_US.UTF-8 python setup.py ptr
+  LC_CTYPE=en_US.UTF-8 python setup.py pytest
 }
- 
+
 package() {
   cd mitmproxy
   python setup.py install --root="$pkgdir" -O1



More information about the arch-commits mailing list