[arch-commits] Commit in mitmproxy/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Jul 19 02:34:13 UTC 2020
Date: Sunday, July 19, 2020 @ 02:34:13
Author: felixonmars
Revision: 664514
upgpkg: mitmproxy 5.2-1
Modified:
mitmproxy/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-19 02:21:38 UTC (rev 664513)
+++ PKGBUILD 2020-07-19 02:34:13 UTC (rev 664514)
@@ -5,7 +5,7 @@
# Contributor: Dobroslaw Kijowski
pkgname=mitmproxy
-pkgver=5.1.1
+pkgver=5.2
pkgrel=1
pkgdesc='SSL-capable man-in-the-middle HTTP proxy'
arch=('any')
@@ -22,14 +22,16 @@
conflicts=('pathod')
replaces=('pathod')
source=("$pkgname-$pkgver.tar.gz::https://github.com/mitmproxy/mitmproxy/archive/v$pkgver.tar.gz")
-sha512sums=('ac5cd82d4d89590b57625661c493aca6a702605c612ea1acd9e0d0806067d47f60085ee68260bba2a10dc343410ae6a76ea1575287a0e312e4467a4e8485c6e1')
+sha512sums=('6073c73b24618d6f64c4e99f199ebb6bc4157a3f83bfa7aff10a113f8dde823715e95bdf4202a1526dc0856d120858d32842b814327c3b98452b629fccb1790d')
prepare() {
cd $pkgname-$pkgver
# Let's remove all the upper bounds and use system ca-certificatescate store
+ # urwid is pinned because the issue seems to affect Mac only
sed -e '/certifi/d' \
-e 's/, *<[0-9=.]*//' \
+ -e 's/,!=2.1.0//' \
-e 's/==/>=/' \
-i setup.py
sed -e '/import certifi/d' \
@@ -44,7 +46,7 @@
check() {
cd $pkgname-$pkgver
- python setup.py pytest
+ python setup.py pytest --addopts "--deselect test/mitmproxy/test_version.py::test_get_version"
}
package() {
More information about the arch-commits
mailing list