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: Thu, 10 Nov 2022 12:56:12 +0100	[thread overview]
Message-ID: <20221110115612.f3Ky9NSbTFHYTxtZvW2JrNH_6rEPkLFH6Qsw8fJx0Qs@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: 5651 bytes --]

From ef17409a952ce0073984808318968b9fc0bc7946 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 1/3] python3-zstandard: update to 0.19.0.

---
 srcpkgs/python3-zstandard/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
index 68a138ecd03f..352d445c47c9 100644
--- a/srcpkgs/python3-zstandard/template
+++ b/srcpkgs/python3-zstandard/template
@@ -1,7 +1,8 @@
 # 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"
 hostmakedepends="python3-setuptools"
@@ -14,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 a1dfdc4343c9c820c95f41ac4ac59ee4895d62ae 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 2/3] New package: python3-mitmproxy_wireguard-0.1.17

---
 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..7ffe4982439f
--- /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.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 <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=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() {
+	# Taken from ../python3-adblock/template
+	maturin build -o . --release --target "${RUST_TARGET}" --manylinux off
+	mv mitmproxy_wireguard-${version}-*.whl mitmproxy_wireguard-${version}-py3-none-any.whl
+}
+
+post_install() {
+	vlicense LICENSE
+}

From f266448de2a49935494b2256034ac71da6e194fb 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 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 <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-10 11:56 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 [this message]
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
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=20221110115612.f3Ky9NSbTFHYTxtZvW2JrNH_6rEPkLFH6Qsw8fJx0Qs@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).