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

Filipe Laíns ffy00 at archlinux.org
Thu Oct 17 16:49:29 UTC 2019


    Date: Thursday, October 17, 2019 @ 16:49:28
  Author: ffy00
Revision: 516477

fix missing flask dependency (4.0.4-6)

In the last commit I applied a backport of a upstream commit moving the
onboardingapp from tornado to flask. I forgot to fix the package dependencies.

Fixes FS#64157

Modified:
  mitmproxy/trunk/PKGBUILD

----------+
 PKGBUILD |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-17 16:31:04 UTC (rev 516476)
+++ PKGBUILD	2019-10-17 16:49:28 UTC (rev 516477)
@@ -6,7 +6,7 @@
 
 pkgname=mitmproxy
 pkgver=4.0.4
-pkgrel=4
+pkgrel=6
 pkgdesc='SSL-capable man-in-the-middle HTTP proxy'
 arch=('any')
 url='https://mitmproxy.org'
@@ -14,9 +14,9 @@
 depends=('python-blinker' 'python-brotlipy' 'python-click' 'python-cryptography' 'python-h2'
          'python-hyperframe' 'python-kaitaistruct' 'python-ldap3' 'python-passlib' 'python-protobuf'
          'python-pyasn1' 'python-pyopenssl' 'python-pyparsing' 'python-pyperclip'
-         'python-ruamel-yaml' 'python-setuptools' 'python-sortedcontainers' 'python-tornado'
+         'python-ruamel-yaml' 'python-setuptools' 'python-sortedcontainers' 'python-flask'
          'python-urwid' 'python-wsproto')
-checkdepends=('python-asynctest' 'python-beautifulsoup4' 'python-flask' 'python-parver'
+checkdepends=('python-asynctest' 'python-beautifulsoup4' 'python-tornado' 'python-parver'
               'python-pytest-runner' 'python-pytest-asyncio' 'python-requests')
 provides=('pathod')
 conflicts=('pathod')
@@ -43,7 +43,10 @@
   sed '176,188d' \
       -i ../70777a1b6ed64af9cafcdef223a8a260ecc96864.patch
   patch -p1 < ../70777a1b6ed64af9cafcdef223a8a260ecc96864.patch
+
+  # Fix outdated tornado
   patch -p1 < ../move-onboardingapp-from-tornado-to-flask-backport.patch
+  sed -i '/tornado/d' setup.py
 
   # Remove failing tests
   rm  test/mitmproxy/addons/test_readfile.py \



More information about the arch-commits mailing list