From 8438ac83bec39994f8d643117eb981b9f9c51884 Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov Date: Sun, 6 Nov 2022 00:23:12 +1100 Subject: [PATCH 1/3] python3-zstandard: update to 0.19.0. --- srcpkgs/python3-zstandard/template | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template index e17fdc46f9c8..352d445c47c9 100644 --- a/srcpkgs/python3-zstandard/template +++ b/srcpkgs/python3-zstandard/template @@ -1,7 +1,7 @@ # Template file for 'python3-zstandard' pkgname=python3-zstandard -version=0.18.0 -revision=3 +version=0.19.0 +revision=1 wrksrc="python-zstandard-${version}" build_style=python3-module make_build_args="--system-zstd" @@ -15,7 +15,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: From fe10ab184ca02f954698ae0c1652f6d2dea3f0da Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov Date: Sun, 6 Nov 2022 00:24:00 +1100 Subject: [PATCH 2/3] New package: python3-mitmproxy_wireguard-0.1.17 --- srcpkgs/python3-mitmproxy_wireguard/template | 31 ++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 srcpkgs/python3-mitmproxy_wireguard/template diff --git a/srcpkgs/python3-mitmproxy_wireguard/template b/srcpkgs/python3-mitmproxy_wireguard/template new file mode 100644 index 000000000000..fd0c9d224f36 --- /dev/null +++ b/srcpkgs/python3-mitmproxy_wireguard/template @@ -0,0 +1,31 @@ +# Template file for 'python3-mitmproxy_wireguard' +pkgname=python3-mitmproxy_wireguard +version=0.1.17 +revision=1 +wrksrc="mitmproxy_wireguard-${version}" +build_style=python3-pep517 +build_helper=rust +hostmakedepends="cargo maturin" +makedepends="python3-devel" +depends="python3" +short_desc="WireGuard frontend for mitmproxy" +maintainer="Evgeny Ermakov " +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=4d433e4c9bc76aa79b1bc8bdf972789265bb63f610c1b214156ff1416ea946cf + +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() { + maturin build -o . --release --target "${RUST_TARGET}" --manylinux off +} + +post_install() { + vlicense LICENSE +} From fd248d60c94a54ce27ac6ff3ffaf998e02027de0 Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov Date: Sun, 6 Nov 2022 00:24:31 +1100 Subject: [PATCH 3/3] mitmproxy: update to 9.0.1. --- srcpkgs/mitmproxy/template | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template index ea33d3571a35..a9d1e996d392 100644 --- a/srcpkgs/mitmproxy/template +++ b/srcpkgs/mitmproxy/template @@ -1,14 +1,14 @@ # 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" @@ -16,10 +16,11 @@ maintainer="Evgeny Ermakov " 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)"