Github messages for voidlinux
 help / color / mirror / Atom feed
From: unspecd <unspecd@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] mitmproxy: update to 9.0.1.
Date: Mon, 28 Nov 2022 19:22:03 +0100	[thread overview]
Message-ID: <20221128182203.tzQNZwWgRRvhk_xOGDXaQw-yjcqdJ8vIql0aDcd7j6U@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-40343@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 575 bytes --]

There is an updated pull request by unspecd against master on the void-packages repository

https://github.com/unspecd/void-packages pkg/mitmproxy
https://github.com/void-linux/void-packages/pull/40343

mitmproxy: update to 9.0.1.
#### Testing the changes
- I tested the changes in this PR: **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-musl)
- I built this PR locally for these architectures (if supported. mark crossbuilds):


A patch file from https://github.com/void-linux/void-packages/pull/40343.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-pkg/mitmproxy-40343.patch --]
[-- Type: text/x-diff, Size: 7125 bytes --]

From 2fae2366a33af8da4c68fa4f27b7522ec99930ef Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Tue, 29 Nov 2022 04:25:17 +1100
Subject: [PATCH 1/4] python3-parver: update to 0.4.

---
 srcpkgs/python3-parver/template | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/python3-parver/template b/srcpkgs/python3-parver/template
index 59ea717039fb..7a5046e89c8b 100644
--- a/srcpkgs/python3-parver/template
+++ b/srcpkgs/python3-parver/template
@@ -1,10 +1,10 @@
 # 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>"
@@ -12,7 +12,8 @@ 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

From 10b163940480505669ed4e2d481dd8a71e019474 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Sun, 6 Nov 2022 00:23:12 +1100
Subject: [PATCH 2/4] 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 68a138ecd03f..3296feb90d65 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
 build_style=python3-module
 make_build_args="--system-zstd"
 hostmakedepends="python3-setuptools"
@@ -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:

From ddcd81b969fa17863dfe077c7c52611fe6f571a5 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Sun, 6 Nov 2022 00:24:00 +1100
Subject: [PATCH 3/4] New package: python3-mitmproxy_wireguard-0.1.19

---
 srcpkgs/python3-mitmproxy_wireguard/template | 33 ++++++++++++++++++++
 1 file changed, 33 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..8beee277ffc3
--- /dev/null
+++ b/srcpkgs/python3-mitmproxy_wireguard/template
@@ -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
+}

From 7b509105f37754a5c86df8699835885c874cda93 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Sun, 6 Nov 2022 00:24:31 +1100
Subject: [PATCH 4/4] 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 <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)"

  parent reply	other threads:[~2022-11-28 18:22 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-05 13:49 [PR PATCH] " unspecd
2022-11-06 11:06 ` [PR PATCH] [Updated] " unspecd
2022-11-08 10:16 ` unspecd
2022-11-10 11:56 ` unspecd
2022-11-10 12:09 ` unspecd
2022-11-10 12:12 ` unspecd
2022-11-10 12:14 ` unspecd
2022-11-10 13:10 ` paper42
2022-11-10 13:14 ` [PR PATCH] [Updated] " unspecd
2022-11-10 13:15 ` unspecd
2022-11-22 12:13 ` [PR PATCH] [Updated] " unspecd
2022-11-28 18:22 ` unspecd [this message]
2022-12-31  0:59 ` [PR PATCH] [Closed]: " sgn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221128182203.tzQNZwWgRRvhk_xOGDXaQw-yjcqdJ8vIql0aDcd7j6U@z \
    --to=unspecd@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).