Skip to content

Commit

Permalink
mitmproxy: update to 11.0.2.
Browse files Browse the repository at this point in the history
fixes #53682
  • Loading branch information
classabbyamp committed Dec 26, 2024
1 parent 7284c6f commit db3d73e
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions srcpkgs/mitmproxy/template
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Template file for 'mitmproxy'
pkgname=mitmproxy
version=9.0.1
revision=3
build_style=python3-module
version=11.0.2
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3-Brotli python3-Flask python3-asgiref python3-certifi python3-click
depends="python3-aioquic python3-Brotli python3-Flask python3-asgiref python3-certifi
python3-cryptography python3-h11 python3-h2 python3-hyperframe python3-kaitaistruct
python3-ldap3 python3-mitmproxy_wireguard python3-msgpack python3-openssl python3-parsing
python3-passlib python3-protobuf python3-publicsuffix2 python3-pyperclip python3-ruamel.yaml
python3-ldap3 python3-mitmproxy-rs python3-msgpack python3-openssl python3-parsing
python3-passlib python3-publicsuffix2 python3-pyperclip python3-ruamel.yaml
python3-sortedcontainers 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"
Expand All @@ -16,16 +16,20 @@ maintainer="Evgeny Ermakov <[email protected]>"
license="MIT"
homepage="https://mitmproxy.org"
changelog="https://raw.githubusercontent.com/mitmproxy/mitmproxy/main/CHANGELOG.md"
distfiles="https://github.com/mitmproxy/mitmproxy/archive/${version}.tar.gz"
checksum=2acd2c16e5bc02cd1dab8c58003254a71a2ee0ec0366001f624f85c980a2b43a
distfiles="https://github.com/mitmproxy/mitmproxy/archive/refs/tags/v${version}.tar.gz"
checksum=bd308c4d403e6c2d202720c4f57aefd6b055a36f910751d1ef836f24f4f7ace9

_skip="(test_get_version)" # This test fails without a git repository
_skip+="or(test_wireguard)" # Tries to execute a helper binary compiled for glibc

if [ ${XBPS_TARGET_MACHINE%-musl} = "i686" ]; then
if [ "${XBPS_TARGET_MACHINE%-musl}" = 'i686' ]; then
_skip+="or(test_refresh)"
fi

if [ "${XBPS_BUILD_ENVIRONMENT}" = 'void-packages-ci' ]; then
_skip+="or(test_tun_mode)"
fi

make_check_args="-k not($_skip)"

post_install() {
Expand Down

0 comments on commit db3d73e

Please sign in to comment.