2021-12-31 01:01:44 +01:00
|
|
|
# Template file for 'mitmproxy'
|
|
|
|
pkgname=mitmproxy
|
|
|
|
version=8.1.1
|
2022-07-22 05:26:17 +02:00
|
|
|
revision=2
|
2021-12-31 01:01:44 +01:00
|
|
|
build_style=python3-module
|
|
|
|
hostmakedepends="python3-setuptools"
|
|
|
|
depends="python3-Brotli python3-Flask python3-asgiref python3-blinker python3-certifi
|
|
|
|
python3-click python3-cryptography python3-h11 python3-h2 python3-hyperframe python3-kaitaistruct
|
|
|
|
python3-ldap3 python3-msgpack python3-openssl python3-parsing python3-passlib python3-protobuf
|
2022-07-22 05:26:17 +02:00
|
|
|
python3-publicsuffix2 python3-pyperclip python3-ruamel.yaml python3-sortedcontainers
|
2021-12-31 01:01:44 +01:00
|
|
|
python3-tornado python3-urwid python3-wsproto python3-zstandard"
|
|
|
|
checkdepends="${depends} python3-hypothesis python3-parver
|
|
|
|
python3-pytest-asyncio python3-pytest-cov python3-pytest-timeout python3-requests"
|
|
|
|
short_desc="Interactive TLS-capable intercepting HTTP proxy"
|
|
|
|
maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://mitmproxy.org"
|
|
|
|
changelog="https://raw.githubusercontent.com/mitmproxy/mitmproxy/main/CHANGELOG.md"
|
|
|
|
distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz"
|
|
|
|
checksum=212e81bec40e1d2a894d73a337f076a3010d981249e513565e9246f29822d06c
|
|
|
|
|
|
|
|
_skip="(test_get_version)" # This test fails without a git repository
|
|
|
|
|
|
|
|
if [ ${XBPS_TARGET_MACHINE%-musl} = "i686" ]; then
|
|
|
|
_skip+="or(test_refresh)"
|
|
|
|
fi
|
|
|
|
|
|
|
|
make_check_args="-k not($_skip)"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE
|
|
|
|
}
|