Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mitmproxy: update to 9.0.1. #40343

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
19 changes: 10 additions & 9 deletions srcpkgs/mitmproxy/template
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
# Template file for 'mitmproxy'
pkgname=mitmproxy
version=8.1.1
revision=3
version=9.0.1
revision=1
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
python3-publicsuffix2 python3-pyperclip python3-ruamel.yaml python3-sortedcontainers
python3-tornado python3-urwid python3-wsproto python3-zstandard"
depends="python3-Brotli python3-Flask python3-asgiref python3-certifi python3-click
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-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"
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
distfiles="https://github.com/mitmproxy/mitmproxy/archive/${version}.tar.gz"
checksum=2acd2c16e5bc02cd1dab8c58003254a71a2ee0ec0366001f624f85c980a2b43a

_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
_skip+="or(test_refresh)"
Expand Down
33 changes: 33 additions & 0 deletions srcpkgs/python3-mitmproxy_wireguard/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Template file for 'python3-mitmproxy_wireguard'
pkgname=python3-mitmproxy_wireguard
version=0.1.19
revision=1
build_style=python3-pep517
build_helper=rust
hostmakedepends="cargo maturin"
makedepends="python3-devel"
depends="python3"
short_desc="WireGuard frontend for mitmproxy"
maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
license="MIT"
homepage="https://github.com/decathorpe/mitmproxy_wireguard"
changelog="https://raw.githubusercontent.com/decathorpe/mitmproxy_wireguard/main/CHANGELOG.md"
distfiles="https://github.com/decathorpe/mitmproxy_wireguard/archive/${version}.tar.gz"
checksum=749b5b45222b629f4cced154cc4bf70ba7ae3061db02e2ea0ae45a4ae6246463

if [ "$CROSS_BUILD" ]; then
makedepends+=" rust-std"
export PYO3_CROSS_LIB_DIR="${XBPS_CROSS_BASE}/usr/lib"
export PYO3_CROSS_INCLUDE_DIR="${XBPS_CROSS_BASE}/usr/include"
fi

do_build() {
# Taken from ../python3-adblock/template
maturin build -o . --release --target "${RUST_TARGET}" --manylinux off
mkdir -p dist
mv mitmproxy_wireguard-${version}-*.whl dist/mitmproxy_wireguard-${version}-py3-none-any.whl
}

post_install() {
vlicense LICENSE
}
13 changes: 7 additions & 6 deletions srcpkgs/python3-parver/template
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
# Template file for 'python3-parver'
pkgname=python3-parver
version=0.3.1
revision=2
build_style=python3-module
hostmakedepends="python3-setuptools"
depends="python3-Arpeggio python3-attrs python3-six"
version=0.4
revision=1
build_style=python3-pep517
hostmakedepends="python3-wheel"
depends="python3-Arpeggio python3-attrs"
checkdepends="${depends} python3-hypothesis python3-pretend python3-pytest"
short_desc="Allows parsing and manipulation of PEP 440 version numbers"
maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
license="MIT"
homepage="https://github.com/RazerM/parver"
changelog="https://raw.githubusercontent.com/RazerM/parver/master/CHANGELOG.md"
distfiles="https://github.com/RazerM/parver/archive/${version}.tar.gz"
checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544
checksum=ffc75ffb4a80a91c6d1dc74d00e593f81d1dceda4b523a62683f2d93f15d0cfe
make_check_pre="env PYTHONPATH=src"

post_install() {
vlicense LICENSE
Expand Down
6 changes: 3 additions & 3 deletions srcpkgs/python3-zstandard/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'python3-zstandard'
pkgname=python3-zstandard
version=0.18.0
revision=3
version=0.19.0
revision=1
build_style=python3-module
make_build_args="--system-zstd"
hostmakedepends="python3-setuptools"
Expand All @@ -14,7 +14,7 @@ license="BSD-3-Clause"
homepage="https://github.com/indygreg/python-zstandard"
changelog="https://raw.githubusercontent.com/indygreg/python-zstandard/main/docs/news.rst"
distfiles="https://github.com/indygreg/python-zstandard/archive/${version}.tar.gz"
checksum=a6c7e2b8d4ec262269ccbc7ce66073370a06d6a0fc866946b7ce429b97e0c4ac
checksum=8106c216bcaed7b70e6515b407adbfd21dd84c9855c9771530e0a3561b130454

pre_check() {
# The skipped test ignored due to failure, see:
Expand Down