Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Pkg/mitmproxy
@ 2021-12-31  0:10 unspecd
  2021-12-31  0:23 ` [PR PATCH] [Updated] New package: mitmproxy-7.0.4 unspecd
                   ` (19 more replies)
  0 siblings, 20 replies; 21+ messages in thread
From: unspecd @ 2021-12-31  0:10 UTC (permalink / raw)
  To: ml

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

There is a new 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/34776

Pkg/mitmproxy
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Depends on #34769, #34770, #34772, #34773, #34774, #34775.

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

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

From 6706ef432021c609dcf7df511ec6f7b1d2fd46cc Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH 1/3] New package: python3-zstandard-0.15.0

---
 srcpkgs/python3-zstandard/template | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..116839ff76fe
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,22 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.15.0
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+# TODO: build error
+# make_build_args="--system-zstd"
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel libzstd-devel"
+depends="python3"
+checkdepends="python3-hypothesis"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=5d5a2908e329d599933e3a6d3437506a7141bffbfdca98d8734fc9f1d5314bde
+
+post_install() {
+	vlicense LICENSE
+}

From dbcb022d68ed69b1e4273265927f9584b0ace4d9 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:30 +1100
Subject: [PATCH 2/3] New package: python3-parver-0.3.1

---
 srcpkgs/python3-parver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-parver/template

diff --git a/srcpkgs/python3-parver/template b/srcpkgs/python3-parver/template
new file mode 100644
index 000000000000..68800130d269
--- /dev/null
+++ b/srcpkgs/python3-parver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-parver'
+pkgname=python3-parver
+version=0.3.1
+revision=1
+wrksrc="parver-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Arpeggio python3-attrs python3-six"
+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"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544
+
+post_install() {
+	vlicense LICENSE
+}

From 45c269bf0f3466bd9200f31b71247ce50499a92e Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:44 +1100
Subject: [PATCH 3/3] New package: mitmproxy-7.0.4

---
 srcpkgs/mitmproxy/template | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/mitmproxy/template

diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template
new file mode 100644
index 000000000000..f288a99ca40e
--- /dev/null
+++ b/srcpkgs/mitmproxy/template
@@ -0,0 +1,40 @@
+# Template file for 'mitmproxy'
+pkgname=mitmproxy
+version=7.0.4
+revision=1
+build_style=python3-module
+#conf_files=""
+# TODO:
+#  - update
+#    - PyInstaller-4.1 -> PyInstaller-4.7
+#  - install
+#    - pdoc
+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-pyzstd 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"
+distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz"
+checksum=8728d18c69053f0043acebcdabf46f2eeea51f0f0b60c528e1d356cf48ed2ca2
+
+make_check_args="-k not(test_get_version)" # TODO
+#  > assert version.get_dev_version() == "3.0.0rc2 (+2, commit cafecaf)"
+#  E AssertionError: assert '3.0.0rc2' == '3.0.0rc2 (+2...mmit cafecaf)'
+#  E   - 3.0.0rc2 (+2, commit cafecaf)
+#  E   + 3.0.0rc2
+
+post_patch() {
+	# commit 68bce90754a546d15ea9a5fa75ff324da3a18086
+	vsed -i -e 's cryptography>=3.3,<3.5 cryptography>=36,<37 ' setup.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
@ 2021-12-31  0:23 ` unspecd
  2021-12-31 18:03 ` unspecd
                   ` (18 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2021-12-31  0:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1300 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/34776

New package: mitmproxy-7.0.4
[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Resolves #4432.
Depends on #34769, #34770, #34772, #34773, #34774, #34775.

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

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

From a7be7c909e427942b298c196740b907b577644b2 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:30 +1100
Subject: [PATCH 1/2] New package: python3-parver-0.3.1

---
 srcpkgs/python3-parver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-parver/template

diff --git a/srcpkgs/python3-parver/template b/srcpkgs/python3-parver/template
new file mode 100644
index 000000000000..68800130d269
--- /dev/null
+++ b/srcpkgs/python3-parver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-parver'
+pkgname=python3-parver
+version=0.3.1
+revision=1
+wrksrc="parver-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Arpeggio python3-attrs python3-six"
+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"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544
+
+post_install() {
+	vlicense LICENSE
+}

From ddc0c5362aa4ef140d3918cb399c5e28f4b14809 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:44 +1100
Subject: [PATCH 2/2] New package: mitmproxy-7.0.4

---
 srcpkgs/mitmproxy/template | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/mitmproxy/template

diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template
new file mode 100644
index 000000000000..f288a99ca40e
--- /dev/null
+++ b/srcpkgs/mitmproxy/template
@@ -0,0 +1,40 @@
+# Template file for 'mitmproxy'
+pkgname=mitmproxy
+version=7.0.4
+revision=1
+build_style=python3-module
+#conf_files=""
+# TODO:
+#  - update
+#    - PyInstaller-4.1 -> PyInstaller-4.7
+#  - install
+#    - pdoc
+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-pyzstd 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"
+distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz"
+checksum=8728d18c69053f0043acebcdabf46f2eeea51f0f0b60c528e1d356cf48ed2ca2
+
+make_check_args="-k not(test_get_version)" # TODO
+#  > assert version.get_dev_version() == "3.0.0rc2 (+2, commit cafecaf)"
+#  E AssertionError: assert '3.0.0rc2' == '3.0.0rc2 (+2...mmit cafecaf)'
+#  E   - 3.0.0rc2 (+2, commit cafecaf)
+#  E   + 3.0.0rc2
+
+post_patch() {
+	# commit 68bce90754a546d15ea9a5fa75ff324da3a18086
+	vsed -i -e 's cryptography>=3.3,<3.5 cryptography>=36,<37 ' setup.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
  2021-12-31  0:23 ` [PR PATCH] [Updated] New package: mitmproxy-7.0.4 unspecd
@ 2021-12-31 18:03 ` unspecd
  2021-12-31 18:26 ` paper42
                   ` (17 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2021-12-31 18:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1308 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/34776

New package: mitmproxy-7.0.4
[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Resolves #4432.
Depends on #34769, #34770, #34772, #34773, #34774, #34775, #34777.

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

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

From 4925559633b10f394e52e367d62bac79733c5539 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:44 +1100
Subject: [PATCH] New package: mitmproxy-7.0.4

---
 srcpkgs/mitmproxy/template | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/mitmproxy/template

diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template
new file mode 100644
index 000000000000..f288a99ca40e
--- /dev/null
+++ b/srcpkgs/mitmproxy/template
@@ -0,0 +1,40 @@
+# Template file for 'mitmproxy'
+pkgname=mitmproxy
+version=7.0.4
+revision=1
+build_style=python3-module
+#conf_files=""
+# TODO:
+#  - update
+#    - PyInstaller-4.1 -> PyInstaller-4.7
+#  - install
+#    - pdoc
+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-pyzstd 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"
+distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz"
+checksum=8728d18c69053f0043acebcdabf46f2eeea51f0f0b60c528e1d356cf48ed2ca2
+
+make_check_args="-k not(test_get_version)" # TODO
+#  > assert version.get_dev_version() == "3.0.0rc2 (+2, commit cafecaf)"
+#  E AssertionError: assert '3.0.0rc2' == '3.0.0rc2 (+2...mmit cafecaf)'
+#  E   - 3.0.0rc2 (+2, commit cafecaf)
+#  E   + 3.0.0rc2
+
+post_patch() {
+	# commit 68bce90754a546d15ea9a5fa75ff324da3a18086
+	vsed -i -e 's cryptography>=3.3,<3.5 cryptography>=36,<37 ' setup.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
  2021-12-31  0:23 ` [PR PATCH] [Updated] New package: mitmproxy-7.0.4 unspecd
  2021-12-31 18:03 ` unspecd
@ 2021-12-31 18:26 ` paper42
  2021-12-31 19:03 ` [PR PATCH] [Updated] " unspecd
                   ` (16 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: paper42 @ 2021-12-31 18:26 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/34776#issuecomment-1003431988

Comment:
please put all the dependencies to this PR

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (2 preceding siblings ...)
  2021-12-31 18:26 ` paper42
@ 2021-12-31 19:03 ` unspecd
  2021-12-31 19:06 ` unspecd
                   ` (15 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2021-12-31 19:03 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1308 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/34776

New package: mitmproxy-7.0.4
[ci skip]

<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Resolves #4432.
Depends on #34769, #34770, #34772, #34773, #34775, #34777, #34791.

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

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

From b31e5b7a44aaf0f9340ec3129a9ab4317bed1acb Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:18:21 +1100
Subject: [PATCH 1/9] python3-h2: update to 4.1.0.

---
 srcpkgs/python3-h2/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-h2/template b/srcpkgs/python3-h2/template
index 29668e4cec4f..24cd2b540bd8 100644
--- a/srcpkgs/python3-h2/template
+++ b/srcpkgs/python3-h2/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-h2'
 pkgname=python3-h2
-version=4.0.0
-revision=2
+version=4.1.0
+revision=1
 wrksrc="h2-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-hpack python3-hyperframe"
+depends="python3-hpack python3-hyperframe"
+checkdepends="${depends} python3-hypothesis python3-pytest"
 short_desc="HTTP/2 State-Machine based protocol implementation (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/python-hyper/h2"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=78753b52cebb63f87097c9a5f969004a61ec4a41f967e41dcc287e26dd9b4143
+checksum=4a17b1ec23152bd94ab6260ea61f6cc02de92bd7c36762f13e34fdecea454b41
 
 post_install() {
 	vlicense LICENSE

From d0828157be3141b45195f114cc47fe689691baef Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:25:29 +1100
Subject: [PATCH 2/9] python3-passlib: update to 1.7.4.

---
 srcpkgs/python3-passlib/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-passlib/template b/srcpkgs/python3-passlib/template
index 86a22fd6f01d..78a24bbc0a8b 100644
--- a/srcpkgs/python3-passlib/template
+++ b/srcpkgs/python3-passlib/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-passlib'
 pkgname=python3-passlib
-version=1.7.1
-revision=6
+version=1.7.4
+revision=1
 wrksrc="passlib-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-bcrypt python3-nose"
 short_desc="Comprehensive password hashing framework for Python3"
 maintainer="Alin Dobre <alin.dobre@outlook.com>"
 license="BSD-3-Clause"
-homepage="https://bitbucket.org/ecollins/passlib"
+homepage="https://passlib.readthedocs.io"
 distfiles="${PYPI_SITE}/p/passlib/passlib-${version}.tar.gz"
-checksum=3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0
+checksum=defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04
 
 post_install() {
 	vlicense LICENSE

From 818727d83f0bb3c8cdd6bf2ae3872f15c88ea088 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:44:00 +1100
Subject: [PATCH 3/9] New package: python3-asgiref-3.4.1

---
 srcpkgs/python3-asgiref/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-asgiref/template

diff --git a/srcpkgs/python3-asgiref/template b/srcpkgs/python3-asgiref/template
new file mode 100644
index 000000000000..4af692950534
--- /dev/null
+++ b/srcpkgs/python3-asgiref/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-asgiref'
+pkgname=python3-asgiref
+version=3.4.1
+revision=1
+wrksrc="asgiref-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-pytest-asyncio"
+short_desc="ASGI base libraries"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/django/asgiref"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=6ddea3b9cab652c4efb19d0eccaff44eab1c42ef7589c0963654eaaaa8829570
+
+post_install() {
+	vlicense LICENSE
+}

From 93e3a39cea2033502aa9e816e7d7b2c31b673cd5 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:47:28 +1100
Subject: [PATCH 4/9] New package: python3-kaitaistruct-0.9

---
 srcpkgs/python3-kaitaistruct/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-kaitaistruct/template

diff --git a/srcpkgs/python3-kaitaistruct/template b/srcpkgs/python3-kaitaistruct/template
new file mode 100644
index 000000000000..b3bce973689a
--- /dev/null
+++ b/srcpkgs/python3-kaitaistruct/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-kaitaistruct'
+pkgname=python3-kaitaistruct
+version=0.9
+revision=1
+wrksrc="kaitai_struct_python_runtime-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Kaitai Struct API for Python"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://kaitai.io"
+distfiles="https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/${version}.tar.gz"
+checksum=d21207d17603d87f263c8adcd45235ce22d154ba6faba0945e4f1a9d8d95e7e9
+make_check=no  # Package ships no tests
+
+post_install() {
+	vlicense LICENSE
+}

From 1b379af3231f0597ea020ba084f907bf06cad78c Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:29:13 +1100
Subject: [PATCH 5/9] New package: python3-Arpeggio-1.10.2

---
 srcpkgs/python3-Arpeggio/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-Arpeggio/template

diff --git a/srcpkgs/python3-Arpeggio/template b/srcpkgs/python3-Arpeggio/template
new file mode 100644
index 000000000000..94c472262b5a
--- /dev/null
+++ b/srcpkgs/python3-Arpeggio/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-Arpeggio'
+pkgname=python3-Arpeggio
+version=1.10.2
+revision=1
+wrksrc="Arpeggio-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Recursive descent parser with memoization based on PEG grammars"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://github.com/textX/Arpeggio"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=edb463a27bf6ac53819c4ad810e543cc8656ec89eed5943ba9e310bb44e197f4
+
+post_patch() {
+	# Package does not *need* pytest-runner to build, and Void doesn't have it
+	vsed -e '/pytest-runner/d' -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 624480239c44c40adbf6c81cdf2fa3d5305fa0b8 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:55:22 +1100
Subject: [PATCH 6/9] New package: python3-publicsuffix2-2019.12.21

---
 srcpkgs/python3-publicsuffix2/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-publicsuffix2/template

diff --git a/srcpkgs/python3-publicsuffix2/template b/srcpkgs/python3-publicsuffix2/template
new file mode 100644
index 000000000000..0fe2a1e19fec
--- /dev/null
+++ b/srcpkgs/python3-publicsuffix2/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-publicsuffix2'
+pkgname=python3-publicsuffix2
+version=2019.12.21
+revision=1
+wrksrc="python-publicsuffix2-release-2.${version//./-}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip python3-wheel"
+depends="python3"
+checkdepends="python3-requests"
+short_desc="Get a public suffix for a domain name using the Public Suffix List"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT, MPL-2.0"
+homepage="https://github.com/nexB/python-publicsuffix2"
+distfiles="${homepage}/archive/release-2.${version//./-}.tar.gz"
+checksum=b4ef022fccd7b4968151af208b0f890e55c00b24892a1a826b2b7a381215bafa
+
+post_install() {
+	vlicense publicsuffix2.LICENSE
+}

From 7c42fdcebb8199462a08d53ae53eb6c2dbae1582 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH 7/9] New package: python3-zstandard-0.15.2

---
 srcpkgs/python3-zstandard/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..d3cd173b53e1
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.15.2
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-hypothesis"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=5f947c9b0a2e5b3831bff2e7132cfbd7cc22ea8a400da2304e0c089d5c22a876
+
+pre_check() {
+	# The skipped test ignored due to failure, see:
+	# https://github.com/indygreg/python-zstandard/issues/147#issuecomment-874278901
+	if [ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then
+		vsed -i -e '/def test_estimated_compression_context_size/s/test//' tests/test_data_structures*.py
+	fi
+}
+
+post_install() {
+	vlicense LICENSE
+}

From dea2b1974091bc3a27ce6826ec0b382d244503cb Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:30 +1100
Subject: [PATCH 8/9] New package: python3-parver-0.3.1

---
 srcpkgs/python3-parver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-parver/template

diff --git a/srcpkgs/python3-parver/template b/srcpkgs/python3-parver/template
new file mode 100644
index 000000000000..68800130d269
--- /dev/null
+++ b/srcpkgs/python3-parver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-parver'
+pkgname=python3-parver
+version=0.3.1
+revision=1
+wrksrc="parver-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Arpeggio python3-attrs python3-six"
+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"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544
+
+post_install() {
+	vlicense LICENSE
+}

From 9c2cd93f4628674313ea11f07aa2691a8d328b62 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:44 +1100
Subject: [PATCH 9/9] New package: mitmproxy-7.0.4

---
 srcpkgs/mitmproxy/template | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/mitmproxy/template

diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template
new file mode 100644
index 000000000000..f288a99ca40e
--- /dev/null
+++ b/srcpkgs/mitmproxy/template
@@ -0,0 +1,40 @@
+# Template file for 'mitmproxy'
+pkgname=mitmproxy
+version=7.0.4
+revision=1
+build_style=python3-module
+#conf_files=""
+# TODO:
+#  - update
+#    - PyInstaller-4.1 -> PyInstaller-4.7
+#  - install
+#    - pdoc
+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-pyzstd 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"
+distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz"
+checksum=8728d18c69053f0043acebcdabf46f2eeea51f0f0b60c528e1d356cf48ed2ca2
+
+make_check_args="-k not(test_get_version)" # TODO
+#  > assert version.get_dev_version() == "3.0.0rc2 (+2, commit cafecaf)"
+#  E AssertionError: assert '3.0.0rc2' == '3.0.0rc2 (+2...mmit cafecaf)'
+#  E   - 3.0.0rc2 (+2, commit cafecaf)
+#  E   + 3.0.0rc2
+
+post_patch() {
+	# commit 68bce90754a546d15ea9a5fa75ff324da3a18086
+	vsed -i -e 's cryptography>=3.3,<3.5 cryptography>=36,<37 ' setup.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (3 preceding siblings ...)
  2021-12-31 19:03 ` [PR PATCH] [Updated] " unspecd
@ 2021-12-31 19:06 ` unspecd
  2021-12-31 19:07 ` unspecd
                   ` (14 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2021-12-31 19:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1295 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/34776

New package: mitmproxy-7.0.4
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Resolves #4432.
Depends on #34769, #34770, #34772, #34773, #34775, #34777, #34791.

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

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

From b31e5b7a44aaf0f9340ec3129a9ab4317bed1acb Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:18:21 +1100
Subject: [PATCH 1/9] python3-h2: update to 4.1.0.

---
 srcpkgs/python3-h2/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-h2/template b/srcpkgs/python3-h2/template
index 29668e4cec4f..24cd2b540bd8 100644
--- a/srcpkgs/python3-h2/template
+++ b/srcpkgs/python3-h2/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-h2'
 pkgname=python3-h2
-version=4.0.0
-revision=2
+version=4.1.0
+revision=1
 wrksrc="h2-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-hpack python3-hyperframe"
+depends="python3-hpack python3-hyperframe"
+checkdepends="${depends} python3-hypothesis python3-pytest"
 short_desc="HTTP/2 State-Machine based protocol implementation (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/python-hyper/h2"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=78753b52cebb63f87097c9a5f969004a61ec4a41f967e41dcc287e26dd9b4143
+checksum=4a17b1ec23152bd94ab6260ea61f6cc02de92bd7c36762f13e34fdecea454b41
 
 post_install() {
 	vlicense LICENSE

From d0828157be3141b45195f114cc47fe689691baef Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:25:29 +1100
Subject: [PATCH 2/9] python3-passlib: update to 1.7.4.

---
 srcpkgs/python3-passlib/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-passlib/template b/srcpkgs/python3-passlib/template
index 86a22fd6f01d..78a24bbc0a8b 100644
--- a/srcpkgs/python3-passlib/template
+++ b/srcpkgs/python3-passlib/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-passlib'
 pkgname=python3-passlib
-version=1.7.1
-revision=6
+version=1.7.4
+revision=1
 wrksrc="passlib-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-bcrypt python3-nose"
 short_desc="Comprehensive password hashing framework for Python3"
 maintainer="Alin Dobre <alin.dobre@outlook.com>"
 license="BSD-3-Clause"
-homepage="https://bitbucket.org/ecollins/passlib"
+homepage="https://passlib.readthedocs.io"
 distfiles="${PYPI_SITE}/p/passlib/passlib-${version}.tar.gz"
-checksum=3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0
+checksum=defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04
 
 post_install() {
 	vlicense LICENSE

From 818727d83f0bb3c8cdd6bf2ae3872f15c88ea088 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:44:00 +1100
Subject: [PATCH 3/9] New package: python3-asgiref-3.4.1

---
 srcpkgs/python3-asgiref/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-asgiref/template

diff --git a/srcpkgs/python3-asgiref/template b/srcpkgs/python3-asgiref/template
new file mode 100644
index 000000000000..4af692950534
--- /dev/null
+++ b/srcpkgs/python3-asgiref/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-asgiref'
+pkgname=python3-asgiref
+version=3.4.1
+revision=1
+wrksrc="asgiref-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-pytest-asyncio"
+short_desc="ASGI base libraries"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/django/asgiref"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=6ddea3b9cab652c4efb19d0eccaff44eab1c42ef7589c0963654eaaaa8829570
+
+post_install() {
+	vlicense LICENSE
+}

From 93e3a39cea2033502aa9e816e7d7b2c31b673cd5 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:47:28 +1100
Subject: [PATCH 4/9] New package: python3-kaitaistruct-0.9

---
 srcpkgs/python3-kaitaistruct/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-kaitaistruct/template

diff --git a/srcpkgs/python3-kaitaistruct/template b/srcpkgs/python3-kaitaistruct/template
new file mode 100644
index 000000000000..b3bce973689a
--- /dev/null
+++ b/srcpkgs/python3-kaitaistruct/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-kaitaistruct'
+pkgname=python3-kaitaistruct
+version=0.9
+revision=1
+wrksrc="kaitai_struct_python_runtime-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Kaitai Struct API for Python"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://kaitai.io"
+distfiles="https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/${version}.tar.gz"
+checksum=d21207d17603d87f263c8adcd45235ce22d154ba6faba0945e4f1a9d8d95e7e9
+make_check=no  # Package ships no tests
+
+post_install() {
+	vlicense LICENSE
+}

From 1b379af3231f0597ea020ba084f907bf06cad78c Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:29:13 +1100
Subject: [PATCH 5/9] New package: python3-Arpeggio-1.10.2

---
 srcpkgs/python3-Arpeggio/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-Arpeggio/template

diff --git a/srcpkgs/python3-Arpeggio/template b/srcpkgs/python3-Arpeggio/template
new file mode 100644
index 000000000000..94c472262b5a
--- /dev/null
+++ b/srcpkgs/python3-Arpeggio/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-Arpeggio'
+pkgname=python3-Arpeggio
+version=1.10.2
+revision=1
+wrksrc="Arpeggio-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Recursive descent parser with memoization based on PEG grammars"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://github.com/textX/Arpeggio"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=edb463a27bf6ac53819c4ad810e543cc8656ec89eed5943ba9e310bb44e197f4
+
+post_patch() {
+	# Package does not *need* pytest-runner to build, and Void doesn't have it
+	vsed -e '/pytest-runner/d' -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 624480239c44c40adbf6c81cdf2fa3d5305fa0b8 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:55:22 +1100
Subject: [PATCH 6/9] New package: python3-publicsuffix2-2019.12.21

---
 srcpkgs/python3-publicsuffix2/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-publicsuffix2/template

diff --git a/srcpkgs/python3-publicsuffix2/template b/srcpkgs/python3-publicsuffix2/template
new file mode 100644
index 000000000000..0fe2a1e19fec
--- /dev/null
+++ b/srcpkgs/python3-publicsuffix2/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-publicsuffix2'
+pkgname=python3-publicsuffix2
+version=2019.12.21
+revision=1
+wrksrc="python-publicsuffix2-release-2.${version//./-}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip python3-wheel"
+depends="python3"
+checkdepends="python3-requests"
+short_desc="Get a public suffix for a domain name using the Public Suffix List"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT, MPL-2.0"
+homepage="https://github.com/nexB/python-publicsuffix2"
+distfiles="${homepage}/archive/release-2.${version//./-}.tar.gz"
+checksum=b4ef022fccd7b4968151af208b0f890e55c00b24892a1a826b2b7a381215bafa
+
+post_install() {
+	vlicense publicsuffix2.LICENSE
+}

From 7c42fdcebb8199462a08d53ae53eb6c2dbae1582 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH 7/9] New package: python3-zstandard-0.15.2

---
 srcpkgs/python3-zstandard/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..d3cd173b53e1
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.15.2
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-hypothesis"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=5f947c9b0a2e5b3831bff2e7132cfbd7cc22ea8a400da2304e0c089d5c22a876
+
+pre_check() {
+	# The skipped test ignored due to failure, see:
+	# https://github.com/indygreg/python-zstandard/issues/147#issuecomment-874278901
+	if [ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then
+		vsed -i -e '/def test_estimated_compression_context_size/s/test//' tests/test_data_structures*.py
+	fi
+}
+
+post_install() {
+	vlicense LICENSE
+}

From dea2b1974091bc3a27ce6826ec0b382d244503cb Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:30 +1100
Subject: [PATCH 8/9] New package: python3-parver-0.3.1

---
 srcpkgs/python3-parver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-parver/template

diff --git a/srcpkgs/python3-parver/template b/srcpkgs/python3-parver/template
new file mode 100644
index 000000000000..68800130d269
--- /dev/null
+++ b/srcpkgs/python3-parver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-parver'
+pkgname=python3-parver
+version=0.3.1
+revision=1
+wrksrc="parver-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Arpeggio python3-attrs python3-six"
+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"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544
+
+post_install() {
+	vlicense LICENSE
+}

From 0d287fa04e55da4d55373a02f7758a3ae8465dd0 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:44 +1100
Subject: [PATCH 9/9] New package: mitmproxy-7.0.4

[ci skip]
---
 srcpkgs/mitmproxy/template | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/mitmproxy/template

diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template
new file mode 100644
index 000000000000..f288a99ca40e
--- /dev/null
+++ b/srcpkgs/mitmproxy/template
@@ -0,0 +1,40 @@
+# Template file for 'mitmproxy'
+pkgname=mitmproxy
+version=7.0.4
+revision=1
+build_style=python3-module
+#conf_files=""
+# TODO:
+#  - update
+#    - PyInstaller-4.1 -> PyInstaller-4.7
+#  - install
+#    - pdoc
+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-pyzstd 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"
+distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz"
+checksum=8728d18c69053f0043acebcdabf46f2eeea51f0f0b60c528e1d356cf48ed2ca2
+
+make_check_args="-k not(test_get_version)" # TODO
+#  > assert version.get_dev_version() == "3.0.0rc2 (+2, commit cafecaf)"
+#  E AssertionError: assert '3.0.0rc2' == '3.0.0rc2 (+2...mmit cafecaf)'
+#  E   - 3.0.0rc2 (+2, commit cafecaf)
+#  E   + 3.0.0rc2
+
+post_patch() {
+	# commit 68bce90754a546d15ea9a5fa75ff324da3a18086
+	vsed -i -e 's cryptography>=3.3,<3.5 cryptography>=36,<37 ' setup.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (4 preceding siblings ...)
  2021-12-31 19:06 ` unspecd
@ 2021-12-31 19:07 ` unspecd
  2021-12-31 21:17 ` unspecd
                   ` (13 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2021-12-31 19:07 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1295 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/34776

New package: mitmproxy-7.0.4
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Resolves #4432.
Depends on #34769, #34770, #34772, #34773, #34775, #34777, #34791.

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

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

From b31e5b7a44aaf0f9340ec3129a9ab4317bed1acb Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:18:21 +1100
Subject: [PATCH 1/9] python3-h2: update to 4.1.0.

---
 srcpkgs/python3-h2/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-h2/template b/srcpkgs/python3-h2/template
index 29668e4cec4f..24cd2b540bd8 100644
--- a/srcpkgs/python3-h2/template
+++ b/srcpkgs/python3-h2/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-h2'
 pkgname=python3-h2
-version=4.0.0
-revision=2
+version=4.1.0
+revision=1
 wrksrc="h2-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-hpack python3-hyperframe"
+depends="python3-hpack python3-hyperframe"
+checkdepends="${depends} python3-hypothesis python3-pytest"
 short_desc="HTTP/2 State-Machine based protocol implementation (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/python-hyper/h2"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=78753b52cebb63f87097c9a5f969004a61ec4a41f967e41dcc287e26dd9b4143
+checksum=4a17b1ec23152bd94ab6260ea61f6cc02de92bd7c36762f13e34fdecea454b41
 
 post_install() {
 	vlicense LICENSE

From d0828157be3141b45195f114cc47fe689691baef Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:25:29 +1100
Subject: [PATCH 2/9] python3-passlib: update to 1.7.4.

---
 srcpkgs/python3-passlib/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-passlib/template b/srcpkgs/python3-passlib/template
index 86a22fd6f01d..78a24bbc0a8b 100644
--- a/srcpkgs/python3-passlib/template
+++ b/srcpkgs/python3-passlib/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-passlib'
 pkgname=python3-passlib
-version=1.7.1
-revision=6
+version=1.7.4
+revision=1
 wrksrc="passlib-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-bcrypt python3-nose"
 short_desc="Comprehensive password hashing framework for Python3"
 maintainer="Alin Dobre <alin.dobre@outlook.com>"
 license="BSD-3-Clause"
-homepage="https://bitbucket.org/ecollins/passlib"
+homepage="https://passlib.readthedocs.io"
 distfiles="${PYPI_SITE}/p/passlib/passlib-${version}.tar.gz"
-checksum=3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0
+checksum=defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04
 
 post_install() {
 	vlicense LICENSE

From 818727d83f0bb3c8cdd6bf2ae3872f15c88ea088 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:44:00 +1100
Subject: [PATCH 3/9] New package: python3-asgiref-3.4.1

---
 srcpkgs/python3-asgiref/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-asgiref/template

diff --git a/srcpkgs/python3-asgiref/template b/srcpkgs/python3-asgiref/template
new file mode 100644
index 000000000000..4af692950534
--- /dev/null
+++ b/srcpkgs/python3-asgiref/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-asgiref'
+pkgname=python3-asgiref
+version=3.4.1
+revision=1
+wrksrc="asgiref-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-pytest-asyncio"
+short_desc="ASGI base libraries"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/django/asgiref"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=6ddea3b9cab652c4efb19d0eccaff44eab1c42ef7589c0963654eaaaa8829570
+
+post_install() {
+	vlicense LICENSE
+}

From 93e3a39cea2033502aa9e816e7d7b2c31b673cd5 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:47:28 +1100
Subject: [PATCH 4/9] New package: python3-kaitaistruct-0.9

---
 srcpkgs/python3-kaitaistruct/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-kaitaistruct/template

diff --git a/srcpkgs/python3-kaitaistruct/template b/srcpkgs/python3-kaitaistruct/template
new file mode 100644
index 000000000000..b3bce973689a
--- /dev/null
+++ b/srcpkgs/python3-kaitaistruct/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-kaitaistruct'
+pkgname=python3-kaitaistruct
+version=0.9
+revision=1
+wrksrc="kaitai_struct_python_runtime-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Kaitai Struct API for Python"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://kaitai.io"
+distfiles="https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/${version}.tar.gz"
+checksum=d21207d17603d87f263c8adcd45235ce22d154ba6faba0945e4f1a9d8d95e7e9
+make_check=no  # Package ships no tests
+
+post_install() {
+	vlicense LICENSE
+}

From 1b379af3231f0597ea020ba084f907bf06cad78c Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:29:13 +1100
Subject: [PATCH 5/9] New package: python3-Arpeggio-1.10.2

---
 srcpkgs/python3-Arpeggio/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-Arpeggio/template

diff --git a/srcpkgs/python3-Arpeggio/template b/srcpkgs/python3-Arpeggio/template
new file mode 100644
index 000000000000..94c472262b5a
--- /dev/null
+++ b/srcpkgs/python3-Arpeggio/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-Arpeggio'
+pkgname=python3-Arpeggio
+version=1.10.2
+revision=1
+wrksrc="Arpeggio-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Recursive descent parser with memoization based on PEG grammars"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://github.com/textX/Arpeggio"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=edb463a27bf6ac53819c4ad810e543cc8656ec89eed5943ba9e310bb44e197f4
+
+post_patch() {
+	# Package does not *need* pytest-runner to build, and Void doesn't have it
+	vsed -e '/pytest-runner/d' -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 624480239c44c40adbf6c81cdf2fa3d5305fa0b8 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:55:22 +1100
Subject: [PATCH 6/9] New package: python3-publicsuffix2-2019.12.21

---
 srcpkgs/python3-publicsuffix2/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-publicsuffix2/template

diff --git a/srcpkgs/python3-publicsuffix2/template b/srcpkgs/python3-publicsuffix2/template
new file mode 100644
index 000000000000..0fe2a1e19fec
--- /dev/null
+++ b/srcpkgs/python3-publicsuffix2/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-publicsuffix2'
+pkgname=python3-publicsuffix2
+version=2019.12.21
+revision=1
+wrksrc="python-publicsuffix2-release-2.${version//./-}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip python3-wheel"
+depends="python3"
+checkdepends="python3-requests"
+short_desc="Get a public suffix for a domain name using the Public Suffix List"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT, MPL-2.0"
+homepage="https://github.com/nexB/python-publicsuffix2"
+distfiles="${homepage}/archive/release-2.${version//./-}.tar.gz"
+checksum=b4ef022fccd7b4968151af208b0f890e55c00b24892a1a826b2b7a381215bafa
+
+post_install() {
+	vlicense publicsuffix2.LICENSE
+}

From 7c42fdcebb8199462a08d53ae53eb6c2dbae1582 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH 7/9] New package: python3-zstandard-0.15.2

---
 srcpkgs/python3-zstandard/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..d3cd173b53e1
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.15.2
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-hypothesis"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=5f947c9b0a2e5b3831bff2e7132cfbd7cc22ea8a400da2304e0c089d5c22a876
+
+pre_check() {
+	# The skipped test ignored due to failure, see:
+	# https://github.com/indygreg/python-zstandard/issues/147#issuecomment-874278901
+	if [ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then
+		vsed -i -e '/def test_estimated_compression_context_size/s/test//' tests/test_data_structures*.py
+	fi
+}
+
+post_install() {
+	vlicense LICENSE
+}

From dea2b1974091bc3a27ce6826ec0b382d244503cb Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:30 +1100
Subject: [PATCH 8/9] New package: python3-parver-0.3.1

---
 srcpkgs/python3-parver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-parver/template

diff --git a/srcpkgs/python3-parver/template b/srcpkgs/python3-parver/template
new file mode 100644
index 000000000000..68800130d269
--- /dev/null
+++ b/srcpkgs/python3-parver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-parver'
+pkgname=python3-parver
+version=0.3.1
+revision=1
+wrksrc="parver-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Arpeggio python3-attrs python3-six"
+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"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544
+
+post_install() {
+	vlicense LICENSE
+}

From 6ee7e1d14c6e3f1b1eb2758381617bbdc953386f Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:44 +1100
Subject: [PATCH 9/9] New package: mitmproxy-7.0.4

---
 srcpkgs/mitmproxy/template | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/mitmproxy/template

diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template
new file mode 100644
index 000000000000..f288a99ca40e
--- /dev/null
+++ b/srcpkgs/mitmproxy/template
@@ -0,0 +1,40 @@
+# Template file for 'mitmproxy'
+pkgname=mitmproxy
+version=7.0.4
+revision=1
+build_style=python3-module
+#conf_files=""
+# TODO:
+#  - update
+#    - PyInstaller-4.1 -> PyInstaller-4.7
+#  - install
+#    - pdoc
+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-pyzstd 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"
+distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz"
+checksum=8728d18c69053f0043acebcdabf46f2eeea51f0f0b60c528e1d356cf48ed2ca2
+
+make_check_args="-k not(test_get_version)" # TODO
+#  > assert version.get_dev_version() == "3.0.0rc2 (+2, commit cafecaf)"
+#  E AssertionError: assert '3.0.0rc2' == '3.0.0rc2 (+2...mmit cafecaf)'
+#  E   - 3.0.0rc2 (+2, commit cafecaf)
+#  E   + 3.0.0rc2
+
+post_patch() {
+	# commit 68bce90754a546d15ea9a5fa75ff324da3a18086
+	vsed -i -e 's cryptography>=3.3,<3.5 cryptography>=36,<37 ' setup.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (5 preceding siblings ...)
  2021-12-31 19:07 ` unspecd
@ 2021-12-31 21:17 ` unspecd
  2021-12-31 21:31 ` unspecd
                   ` (12 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2021-12-31 21:17 UTC (permalink / raw)
  To: ml

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

New comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/pull/34776#issuecomment-1003452634

Comment:
Should I close those PRs?


^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (6 preceding siblings ...)
  2021-12-31 21:17 ` unspecd
@ 2021-12-31 21:31 ` unspecd
  2021-12-31 21:35 ` unspecd
                   ` (11 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2021-12-31 21:31 UTC (permalink / raw)
  To: ml

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

New comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/pull/34776#issuecomment-1003454128

Comment:
One test failed on i686: `OverflowError: timestamp out of range for platform time_t`.
I do not think this is a bug, I guess there's an error in the test.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (7 preceding siblings ...)
  2021-12-31 21:31 ` unspecd
@ 2021-12-31 21:35 ` unspecd
  2021-12-31 21:38 ` [PR PATCH] [Updated] " unspecd
                   ` (10 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2021-12-31 21:35 UTC (permalink / raw)
  To: ml

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

New comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/pull/34776#issuecomment-1003454128

Comment:
One test failed on i686: `OverflowError: timestamp out of range for platform time_t`.
I don't think this is a bug, I guess there's an error in the test.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (8 preceding siblings ...)
  2021-12-31 21:35 ` unspecd
@ 2021-12-31 21:38 ` unspecd
  2022-01-01 17:18 ` paper42
                   ` (9 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2021-12-31 21:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1295 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/34776

New package: mitmproxy-7.0.4
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Resolves #4432.
Depends on #34769, #34770, #34772, #34773, #34775, #34777, #34791.

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

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

From b31e5b7a44aaf0f9340ec3129a9ab4317bed1acb Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:18:21 +1100
Subject: [PATCH 1/9] python3-h2: update to 4.1.0.

---
 srcpkgs/python3-h2/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-h2/template b/srcpkgs/python3-h2/template
index 29668e4cec4f..24cd2b540bd8 100644
--- a/srcpkgs/python3-h2/template
+++ b/srcpkgs/python3-h2/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-h2'
 pkgname=python3-h2
-version=4.0.0
-revision=2
+version=4.1.0
+revision=1
 wrksrc="h2-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-hpack python3-hyperframe"
+depends="python3-hpack python3-hyperframe"
+checkdepends="${depends} python3-hypothesis python3-pytest"
 short_desc="HTTP/2 State-Machine based protocol implementation (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/python-hyper/h2"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=78753b52cebb63f87097c9a5f969004a61ec4a41f967e41dcc287e26dd9b4143
+checksum=4a17b1ec23152bd94ab6260ea61f6cc02de92bd7c36762f13e34fdecea454b41
 
 post_install() {
 	vlicense LICENSE

From d0828157be3141b45195f114cc47fe689691baef Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:25:29 +1100
Subject: [PATCH 2/9] python3-passlib: update to 1.7.4.

---
 srcpkgs/python3-passlib/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-passlib/template b/srcpkgs/python3-passlib/template
index 86a22fd6f01d..78a24bbc0a8b 100644
--- a/srcpkgs/python3-passlib/template
+++ b/srcpkgs/python3-passlib/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-passlib'
 pkgname=python3-passlib
-version=1.7.1
-revision=6
+version=1.7.4
+revision=1
 wrksrc="passlib-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-bcrypt python3-nose"
 short_desc="Comprehensive password hashing framework for Python3"
 maintainer="Alin Dobre <alin.dobre@outlook.com>"
 license="BSD-3-Clause"
-homepage="https://bitbucket.org/ecollins/passlib"
+homepage="https://passlib.readthedocs.io"
 distfiles="${PYPI_SITE}/p/passlib/passlib-${version}.tar.gz"
-checksum=3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0
+checksum=defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04
 
 post_install() {
 	vlicense LICENSE

From 818727d83f0bb3c8cdd6bf2ae3872f15c88ea088 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:44:00 +1100
Subject: [PATCH 3/9] New package: python3-asgiref-3.4.1

---
 srcpkgs/python3-asgiref/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-asgiref/template

diff --git a/srcpkgs/python3-asgiref/template b/srcpkgs/python3-asgiref/template
new file mode 100644
index 000000000000..4af692950534
--- /dev/null
+++ b/srcpkgs/python3-asgiref/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-asgiref'
+pkgname=python3-asgiref
+version=3.4.1
+revision=1
+wrksrc="asgiref-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-pytest-asyncio"
+short_desc="ASGI base libraries"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/django/asgiref"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=6ddea3b9cab652c4efb19d0eccaff44eab1c42ef7589c0963654eaaaa8829570
+
+post_install() {
+	vlicense LICENSE
+}

From 93e3a39cea2033502aa9e816e7d7b2c31b673cd5 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:47:28 +1100
Subject: [PATCH 4/9] New package: python3-kaitaistruct-0.9

---
 srcpkgs/python3-kaitaistruct/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-kaitaistruct/template

diff --git a/srcpkgs/python3-kaitaistruct/template b/srcpkgs/python3-kaitaistruct/template
new file mode 100644
index 000000000000..b3bce973689a
--- /dev/null
+++ b/srcpkgs/python3-kaitaistruct/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-kaitaistruct'
+pkgname=python3-kaitaistruct
+version=0.9
+revision=1
+wrksrc="kaitai_struct_python_runtime-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Kaitai Struct API for Python"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://kaitai.io"
+distfiles="https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/${version}.tar.gz"
+checksum=d21207d17603d87f263c8adcd45235ce22d154ba6faba0945e4f1a9d8d95e7e9
+make_check=no  # Package ships no tests
+
+post_install() {
+	vlicense LICENSE
+}

From 1b379af3231f0597ea020ba084f907bf06cad78c Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:29:13 +1100
Subject: [PATCH 5/9] New package: python3-Arpeggio-1.10.2

---
 srcpkgs/python3-Arpeggio/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-Arpeggio/template

diff --git a/srcpkgs/python3-Arpeggio/template b/srcpkgs/python3-Arpeggio/template
new file mode 100644
index 000000000000..94c472262b5a
--- /dev/null
+++ b/srcpkgs/python3-Arpeggio/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-Arpeggio'
+pkgname=python3-Arpeggio
+version=1.10.2
+revision=1
+wrksrc="Arpeggio-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Recursive descent parser with memoization based on PEG grammars"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://github.com/textX/Arpeggio"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=edb463a27bf6ac53819c4ad810e543cc8656ec89eed5943ba9e310bb44e197f4
+
+post_patch() {
+	# Package does not *need* pytest-runner to build, and Void doesn't have it
+	vsed -e '/pytest-runner/d' -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 624480239c44c40adbf6c81cdf2fa3d5305fa0b8 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:55:22 +1100
Subject: [PATCH 6/9] New package: python3-publicsuffix2-2019.12.21

---
 srcpkgs/python3-publicsuffix2/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-publicsuffix2/template

diff --git a/srcpkgs/python3-publicsuffix2/template b/srcpkgs/python3-publicsuffix2/template
new file mode 100644
index 000000000000..0fe2a1e19fec
--- /dev/null
+++ b/srcpkgs/python3-publicsuffix2/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-publicsuffix2'
+pkgname=python3-publicsuffix2
+version=2019.12.21
+revision=1
+wrksrc="python-publicsuffix2-release-2.${version//./-}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip python3-wheel"
+depends="python3"
+checkdepends="python3-requests"
+short_desc="Get a public suffix for a domain name using the Public Suffix List"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT, MPL-2.0"
+homepage="https://github.com/nexB/python-publicsuffix2"
+distfiles="${homepage}/archive/release-2.${version//./-}.tar.gz"
+checksum=b4ef022fccd7b4968151af208b0f890e55c00b24892a1a826b2b7a381215bafa
+
+post_install() {
+	vlicense publicsuffix2.LICENSE
+}

From 7c42fdcebb8199462a08d53ae53eb6c2dbae1582 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH 7/9] New package: python3-zstandard-0.15.2

---
 srcpkgs/python3-zstandard/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..d3cd173b53e1
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.15.2
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-hypothesis"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=5f947c9b0a2e5b3831bff2e7132cfbd7cc22ea8a400da2304e0c089d5c22a876
+
+pre_check() {
+	# The skipped test ignored due to failure, see:
+	# https://github.com/indygreg/python-zstandard/issues/147#issuecomment-874278901
+	if [ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then
+		vsed -i -e '/def test_estimated_compression_context_size/s/test//' tests/test_data_structures*.py
+	fi
+}
+
+post_install() {
+	vlicense LICENSE
+}

From dea2b1974091bc3a27ce6826ec0b382d244503cb Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:30 +1100
Subject: [PATCH 8/9] New package: python3-parver-0.3.1

---
 srcpkgs/python3-parver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-parver/template

diff --git a/srcpkgs/python3-parver/template b/srcpkgs/python3-parver/template
new file mode 100644
index 000000000000..68800130d269
--- /dev/null
+++ b/srcpkgs/python3-parver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-parver'
+pkgname=python3-parver
+version=0.3.1
+revision=1
+wrksrc="parver-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Arpeggio python3-attrs python3-six"
+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"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544
+
+post_install() {
+	vlicense LICENSE
+}

From f5d09241d0a8bad79b7943ff13f7cf70dd2d0181 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:44 +1100
Subject: [PATCH 9/9] New package: mitmproxy-7.0.4

---
 srcpkgs/mitmproxy/template | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 srcpkgs/mitmproxy/template

diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template
new file mode 100644
index 000000000000..0c49c1547acf
--- /dev/null
+++ b/srcpkgs/mitmproxy/template
@@ -0,0 +1,34 @@
+# Template file for 'mitmproxy'
+pkgname=mitmproxy
+version=7.0.4
+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-pyzstd 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"
+distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz"
+checksum=8728d18c69053f0043acebcdabf46f2eeea51f0f0b60c528e1d356cf48ed2ca2
+
+make_check_args="-k not(test_get_version)" # TODO
+#  > assert version.get_dev_version() == "3.0.0rc2 (+2, commit cafecaf)"
+#  E AssertionError: assert '3.0.0rc2' == '3.0.0rc2 (+2...mmit cafecaf)'
+#  E   - 3.0.0rc2 (+2, commit cafecaf)
+#  E   + 3.0.0rc2
+
+post_patch() {
+	# commit 68bce90754a546d15ea9a5fa75ff324da3a18086
+	vsed -i -e 's cryptography>=3.3,<3.5 cryptography>=36,<37 ' setup.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (9 preceding siblings ...)
  2021-12-31 21:38 ` [PR PATCH] [Updated] " unspecd
@ 2022-01-01 17:18 ` paper42
  2022-01-04  3:14 ` [PR PATCH] [Updated] " unspecd
                   ` (8 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: paper42 @ 2022-01-01 17:18 UTC (permalink / raw)
  To: ml

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

New comment by paper42 on void-packages repository

https://github.com/void-linux/void-packages/pull/34776#issuecomment-1003588393

Comment:
> Should I close those PRs?

yes

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (10 preceding siblings ...)
  2022-01-01 17:18 ` paper42
@ 2022-01-04  3:14 ` unspecd
  2022-01-04  3:28 ` unspecd
                   ` (7 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2022-01-04  3:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1297 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/34776

New package: mitmproxy-7.0.4
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Resolves #4432.
Depends on ~#34769, #34770, #34772, #34773, #34775, #34777, #34791~.

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

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

From b31e5b7a44aaf0f9340ec3129a9ab4317bed1acb Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:18:21 +1100
Subject: [PATCH 1/9] python3-h2: update to 4.1.0.

---
 srcpkgs/python3-h2/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-h2/template b/srcpkgs/python3-h2/template
index 29668e4cec4f..24cd2b540bd8 100644
--- a/srcpkgs/python3-h2/template
+++ b/srcpkgs/python3-h2/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-h2'
 pkgname=python3-h2
-version=4.0.0
-revision=2
+version=4.1.0
+revision=1
 wrksrc="h2-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-hpack python3-hyperframe"
+depends="python3-hpack python3-hyperframe"
+checkdepends="${depends} python3-hypothesis python3-pytest"
 short_desc="HTTP/2 State-Machine based protocol implementation (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/python-hyper/h2"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=78753b52cebb63f87097c9a5f969004a61ec4a41f967e41dcc287e26dd9b4143
+checksum=4a17b1ec23152bd94ab6260ea61f6cc02de92bd7c36762f13e34fdecea454b41
 
 post_install() {
 	vlicense LICENSE

From d0828157be3141b45195f114cc47fe689691baef Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:25:29 +1100
Subject: [PATCH 2/9] python3-passlib: update to 1.7.4.

---
 srcpkgs/python3-passlib/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-passlib/template b/srcpkgs/python3-passlib/template
index 86a22fd6f01d..78a24bbc0a8b 100644
--- a/srcpkgs/python3-passlib/template
+++ b/srcpkgs/python3-passlib/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-passlib'
 pkgname=python3-passlib
-version=1.7.1
-revision=6
+version=1.7.4
+revision=1
 wrksrc="passlib-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-bcrypt python3-nose"
 short_desc="Comprehensive password hashing framework for Python3"
 maintainer="Alin Dobre <alin.dobre@outlook.com>"
 license="BSD-3-Clause"
-homepage="https://bitbucket.org/ecollins/passlib"
+homepage="https://passlib.readthedocs.io"
 distfiles="${PYPI_SITE}/p/passlib/passlib-${version}.tar.gz"
-checksum=3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0
+checksum=defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04
 
 post_install() {
 	vlicense LICENSE

From 818727d83f0bb3c8cdd6bf2ae3872f15c88ea088 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:44:00 +1100
Subject: [PATCH 3/9] New package: python3-asgiref-3.4.1

---
 srcpkgs/python3-asgiref/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-asgiref/template

diff --git a/srcpkgs/python3-asgiref/template b/srcpkgs/python3-asgiref/template
new file mode 100644
index 000000000000..4af692950534
--- /dev/null
+++ b/srcpkgs/python3-asgiref/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-asgiref'
+pkgname=python3-asgiref
+version=3.4.1
+revision=1
+wrksrc="asgiref-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-pytest-asyncio"
+short_desc="ASGI base libraries"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/django/asgiref"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=6ddea3b9cab652c4efb19d0eccaff44eab1c42ef7589c0963654eaaaa8829570
+
+post_install() {
+	vlicense LICENSE
+}

From 93e3a39cea2033502aa9e816e7d7b2c31b673cd5 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:47:28 +1100
Subject: [PATCH 4/9] New package: python3-kaitaistruct-0.9

---
 srcpkgs/python3-kaitaistruct/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-kaitaistruct/template

diff --git a/srcpkgs/python3-kaitaistruct/template b/srcpkgs/python3-kaitaistruct/template
new file mode 100644
index 000000000000..b3bce973689a
--- /dev/null
+++ b/srcpkgs/python3-kaitaistruct/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-kaitaistruct'
+pkgname=python3-kaitaistruct
+version=0.9
+revision=1
+wrksrc="kaitai_struct_python_runtime-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Kaitai Struct API for Python"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://kaitai.io"
+distfiles="https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/${version}.tar.gz"
+checksum=d21207d17603d87f263c8adcd45235ce22d154ba6faba0945e4f1a9d8d95e7e9
+make_check=no  # Package ships no tests
+
+post_install() {
+	vlicense LICENSE
+}

From 1b379af3231f0597ea020ba084f907bf06cad78c Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:29:13 +1100
Subject: [PATCH 5/9] New package: python3-Arpeggio-1.10.2

---
 srcpkgs/python3-Arpeggio/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-Arpeggio/template

diff --git a/srcpkgs/python3-Arpeggio/template b/srcpkgs/python3-Arpeggio/template
new file mode 100644
index 000000000000..94c472262b5a
--- /dev/null
+++ b/srcpkgs/python3-Arpeggio/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-Arpeggio'
+pkgname=python3-Arpeggio
+version=1.10.2
+revision=1
+wrksrc="Arpeggio-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Recursive descent parser with memoization based on PEG grammars"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://github.com/textX/Arpeggio"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=edb463a27bf6ac53819c4ad810e543cc8656ec89eed5943ba9e310bb44e197f4
+
+post_patch() {
+	# Package does not *need* pytest-runner to build, and Void doesn't have it
+	vsed -e '/pytest-runner/d' -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 624480239c44c40adbf6c81cdf2fa3d5305fa0b8 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:55:22 +1100
Subject: [PATCH 6/9] New package: python3-publicsuffix2-2019.12.21

---
 srcpkgs/python3-publicsuffix2/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-publicsuffix2/template

diff --git a/srcpkgs/python3-publicsuffix2/template b/srcpkgs/python3-publicsuffix2/template
new file mode 100644
index 000000000000..0fe2a1e19fec
--- /dev/null
+++ b/srcpkgs/python3-publicsuffix2/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-publicsuffix2'
+pkgname=python3-publicsuffix2
+version=2019.12.21
+revision=1
+wrksrc="python-publicsuffix2-release-2.${version//./-}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip python3-wheel"
+depends="python3"
+checkdepends="python3-requests"
+short_desc="Get a public suffix for a domain name using the Public Suffix List"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT, MPL-2.0"
+homepage="https://github.com/nexB/python-publicsuffix2"
+distfiles="${homepage}/archive/release-2.${version//./-}.tar.gz"
+checksum=b4ef022fccd7b4968151af208b0f890e55c00b24892a1a826b2b7a381215bafa
+
+post_install() {
+	vlicense publicsuffix2.LICENSE
+}

From 7c42fdcebb8199462a08d53ae53eb6c2dbae1582 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH 7/9] New package: python3-zstandard-0.15.2

---
 srcpkgs/python3-zstandard/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..d3cd173b53e1
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.15.2
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-hypothesis"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=5f947c9b0a2e5b3831bff2e7132cfbd7cc22ea8a400da2304e0c089d5c22a876
+
+pre_check() {
+	# The skipped test ignored due to failure, see:
+	# https://github.com/indygreg/python-zstandard/issues/147#issuecomment-874278901
+	if [ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then
+		vsed -i -e '/def test_estimated_compression_context_size/s/test//' tests/test_data_structures*.py
+	fi
+}
+
+post_install() {
+	vlicense LICENSE
+}

From dea2b1974091bc3a27ce6826ec0b382d244503cb Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:30 +1100
Subject: [PATCH 8/9] New package: python3-parver-0.3.1

---
 srcpkgs/python3-parver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-parver/template

diff --git a/srcpkgs/python3-parver/template b/srcpkgs/python3-parver/template
new file mode 100644
index 000000000000..68800130d269
--- /dev/null
+++ b/srcpkgs/python3-parver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-parver'
+pkgname=python3-parver
+version=0.3.1
+revision=1
+wrksrc="parver-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Arpeggio python3-attrs python3-six"
+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"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544
+
+post_install() {
+	vlicense LICENSE
+}

From 37dbcbef94d03581aef8bb58d876aa3b3cb5803d Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:44 +1100
Subject: [PATCH 9/9] New package: mitmproxy-7.0.4

---
 srcpkgs/mitmproxy/template | 40 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
 create mode 100644 srcpkgs/mitmproxy/template

diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template
new file mode 100644
index 000000000000..1fb9e1062559
--- /dev/null
+++ b/srcpkgs/mitmproxy/template
@@ -0,0 +1,40 @@
+# Template file for 'mitmproxy'
+pkgname=mitmproxy
+version=7.0.4
+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-pyzstd 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"
+distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz"
+checksum=8728d18c69053f0043acebcdabf46f2eeea51f0f0b60c528e1d356cf48ed2ca2
+
+_skip="(test_get_version)"
+#  > assert version.get_dev_version() == "3.0.0rc2 (+2, commit cafecaf)"
+#  E AssertionError: assert '3.0.0rc2' == '3.0.0rc2 (+2...mmit cafecaf)'
+#  E   - 3.0.0rc2 (+2, commit cafecaf)
+#  E   + 3.0.0rc2
+
+if [ ${XBPS_TARGET_MACHINE%-musl} = "i686" ]; then
+	_skip+="or(test_refresh)"
+fi
+
+make_check_args="-k not($_skip)"
+
+post_patch() {
+	# commit 68bce90754a546d15ea9a5fa75ff324da3a18086
+	vsed -i -e 's cryptography>=3.3,<3.5 cryptography>=36,<37 ' setup.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (11 preceding siblings ...)
  2022-01-04  3:14 ` [PR PATCH] [Updated] " unspecd
@ 2022-01-04  3:28 ` unspecd
  2022-01-14 22:06 ` [PR PATCH] [Updated] " unspecd
                   ` (6 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2022-01-04  3:28 UTC (permalink / raw)
  To: ml

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

New comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/pull/34776#issuecomment-1004503098

Comment:
https://github.com/mitmproxy/mitmproxy/issues/5030#issuecomment-1003725946

I'll skip that test for now.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (12 preceding siblings ...)
  2022-01-04  3:28 ` unspecd
@ 2022-01-14 22:06 ` unspecd
  2022-01-15 20:23 ` [PR REVIEW] " unspecd
                   ` (5 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2022-01-14 22:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1297 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/34776

New package: mitmproxy-7.0.4
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Resolves #4432.
Depends on ~#34769, #34770, #34772, #34773, #34775, #34777, #34791~.

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

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

From 00c6844b405eaa8f275241c5bf3b68a8f4b30b23 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:18:21 +1100
Subject: [PATCH 1/9] python3-h2: update to 4.1.0.

---
 srcpkgs/python3-h2/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-h2/template b/srcpkgs/python3-h2/template
index 29668e4cec4f..24cd2b540bd8 100644
--- a/srcpkgs/python3-h2/template
+++ b/srcpkgs/python3-h2/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-h2'
 pkgname=python3-h2
-version=4.0.0
-revision=2
+version=4.1.0
+revision=1
 wrksrc="h2-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-hpack python3-hyperframe"
+depends="python3-hpack python3-hyperframe"
+checkdepends="${depends} python3-hypothesis python3-pytest"
 short_desc="HTTP/2 State-Machine based protocol implementation (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/python-hyper/h2"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=78753b52cebb63f87097c9a5f969004a61ec4a41f967e41dcc287e26dd9b4143
+checksum=4a17b1ec23152bd94ab6260ea61f6cc02de92bd7c36762f13e34fdecea454b41
 
 post_install() {
 	vlicense LICENSE

From e34f9b5017db142e54dc850c3ef74d21daf4c7c9 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:25:29 +1100
Subject: [PATCH 2/9] python3-passlib: update to 1.7.4.

---
 srcpkgs/python3-passlib/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-passlib/template b/srcpkgs/python3-passlib/template
index 86a22fd6f01d..78a24bbc0a8b 100644
--- a/srcpkgs/python3-passlib/template
+++ b/srcpkgs/python3-passlib/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-passlib'
 pkgname=python3-passlib
-version=1.7.1
-revision=6
+version=1.7.4
+revision=1
 wrksrc="passlib-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-bcrypt python3-nose"
 short_desc="Comprehensive password hashing framework for Python3"
 maintainer="Alin Dobre <alin.dobre@outlook.com>"
 license="BSD-3-Clause"
-homepage="https://bitbucket.org/ecollins/passlib"
+homepage="https://passlib.readthedocs.io"
 distfiles="${PYPI_SITE}/p/passlib/passlib-${version}.tar.gz"
-checksum=3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0
+checksum=defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04
 
 post_install() {
 	vlicense LICENSE

From 951164c5bdad2ecf0d04273550c0a3abb35668a5 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:44:00 +1100
Subject: [PATCH 3/9] New package: python3-asgiref-3.4.1

---
 srcpkgs/python3-asgiref/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-asgiref/template

diff --git a/srcpkgs/python3-asgiref/template b/srcpkgs/python3-asgiref/template
new file mode 100644
index 000000000000..4af692950534
--- /dev/null
+++ b/srcpkgs/python3-asgiref/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-asgiref'
+pkgname=python3-asgiref
+version=3.4.1
+revision=1
+wrksrc="asgiref-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-pytest-asyncio"
+short_desc="ASGI base libraries"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/django/asgiref"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=6ddea3b9cab652c4efb19d0eccaff44eab1c42ef7589c0963654eaaaa8829570
+
+post_install() {
+	vlicense LICENSE
+}

From a4946cb936b4315af1f4f3e202104c2873a139ec Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:47:28 +1100
Subject: [PATCH 4/9] New package: python3-kaitaistruct-0.9

---
 srcpkgs/python3-kaitaistruct/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-kaitaistruct/template

diff --git a/srcpkgs/python3-kaitaistruct/template b/srcpkgs/python3-kaitaistruct/template
new file mode 100644
index 000000000000..b3bce973689a
--- /dev/null
+++ b/srcpkgs/python3-kaitaistruct/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-kaitaistruct'
+pkgname=python3-kaitaistruct
+version=0.9
+revision=1
+wrksrc="kaitai_struct_python_runtime-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Kaitai Struct API for Python"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://kaitai.io"
+distfiles="https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/${version}.tar.gz"
+checksum=d21207d17603d87f263c8adcd45235ce22d154ba6faba0945e4f1a9d8d95e7e9
+make_check=no  # Package ships no tests
+
+post_install() {
+	vlicense LICENSE
+}

From 64924daf6f5415b15c88c4faab27c03c8e0d0ee3 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:29:13 +1100
Subject: [PATCH 5/9] New package: python3-Arpeggio-1.10.2

---
 srcpkgs/python3-Arpeggio/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-Arpeggio/template

diff --git a/srcpkgs/python3-Arpeggio/template b/srcpkgs/python3-Arpeggio/template
new file mode 100644
index 000000000000..94c472262b5a
--- /dev/null
+++ b/srcpkgs/python3-Arpeggio/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-Arpeggio'
+pkgname=python3-Arpeggio
+version=1.10.2
+revision=1
+wrksrc="Arpeggio-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Recursive descent parser with memoization based on PEG grammars"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://github.com/textX/Arpeggio"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=edb463a27bf6ac53819c4ad810e543cc8656ec89eed5943ba9e310bb44e197f4
+
+post_patch() {
+	# Package does not *need* pytest-runner to build, and Void doesn't have it
+	vsed -e '/pytest-runner/d' -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

From c614b512415fe51916b1b975fa5c22ae913bd2f4 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:55:22 +1100
Subject: [PATCH 6/9] New package: python3-publicsuffix2-2019.12.21

---
 srcpkgs/python3-publicsuffix2/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-publicsuffix2/template

diff --git a/srcpkgs/python3-publicsuffix2/template b/srcpkgs/python3-publicsuffix2/template
new file mode 100644
index 000000000000..0fe2a1e19fec
--- /dev/null
+++ b/srcpkgs/python3-publicsuffix2/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-publicsuffix2'
+pkgname=python3-publicsuffix2
+version=2019.12.21
+revision=1
+wrksrc="python-publicsuffix2-release-2.${version//./-}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip python3-wheel"
+depends="python3"
+checkdepends="python3-requests"
+short_desc="Get a public suffix for a domain name using the Public Suffix List"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT, MPL-2.0"
+homepage="https://github.com/nexB/python-publicsuffix2"
+distfiles="${homepage}/archive/release-2.${version//./-}.tar.gz"
+checksum=b4ef022fccd7b4968151af208b0f890e55c00b24892a1a826b2b7a381215bafa
+
+post_install() {
+	vlicense publicsuffix2.LICENSE
+}

From ee13cb62bf7f90fc939bfa9c36abffe0d5510489 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH 7/9] New package: python3-zstandard-0.15.2

---
 srcpkgs/python3-zstandard/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..d3cd173b53e1
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.15.2
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-hypothesis"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=5f947c9b0a2e5b3831bff2e7132cfbd7cc22ea8a400da2304e0c089d5c22a876
+
+pre_check() {
+	# The skipped test ignored due to failure, see:
+	# https://github.com/indygreg/python-zstandard/issues/147#issuecomment-874278901
+	if [ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then
+		vsed -i -e '/def test_estimated_compression_context_size/s/test//' tests/test_data_structures*.py
+	fi
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 26a3d0246a5dfa41db80d86b3908300839daa33f Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:30 +1100
Subject: [PATCH 8/9] New package: python3-parver-0.3.1

---
 srcpkgs/python3-parver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-parver/template

diff --git a/srcpkgs/python3-parver/template b/srcpkgs/python3-parver/template
new file mode 100644
index 000000000000..68800130d269
--- /dev/null
+++ b/srcpkgs/python3-parver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-parver'
+pkgname=python3-parver
+version=0.3.1
+revision=1
+wrksrc="parver-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Arpeggio python3-attrs python3-six"
+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"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544
+
+post_install() {
+	vlicense LICENSE
+}

From ddcde34552c99b1ec20ea3a957d40ff3b81f74c9 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:44 +1100
Subject: [PATCH 9/9] New package: mitmproxy-7.0.4

---
 srcpkgs/mitmproxy/template | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 srcpkgs/mitmproxy/template

diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template
new file mode 100644
index 000000000000..78f54b82c04d
--- /dev/null
+++ b/srcpkgs/mitmproxy/template
@@ -0,0 +1,36 @@
+# Template file for 'mitmproxy'
+pkgname=mitmproxy
+version=7.0.4
+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-pyzstd 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"
+distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz"
+checksum=8728d18c69053f0043acebcdabf46f2eeea51f0f0b60c528e1d356cf48ed2ca2
+
+_skip="(test_get_version)" # This test fails without a git repository
+
+if [ ${XBPS_TARGET_MACHINE%-musl} = "i686" ]; then
+	_skip+="or(test_refresh)"
+fi
+
+make_check_args="-k not($_skip)"
+
+post_patch() {
+	# See https://github.com/mitmproxy/mitmproxy/commit/68bce90754a546d15ea9a5fa75ff324da3a18086
+	vsed -i -e 's cryptography>=3.3,<3.5 cryptography>=36,<37 ' setup.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR REVIEW] New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (13 preceding siblings ...)
  2022-01-14 22:06 ` [PR PATCH] [Updated] " unspecd
@ 2022-01-15 20:23 ` unspecd
  2022-03-22  7:35 ` [PR PATCH] [Updated] " unspecd
                   ` (4 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2022-01-15 20:23 UTC (permalink / raw)
  To: ml

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

New review comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/pull/34776#discussion_r785348701

Comment:
https://github.com/mitmproxy/mitmproxy/issues/5057#issuecomment-1013706881

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (14 preceding siblings ...)
  2022-01-15 20:23 ` [PR REVIEW] " unspecd
@ 2022-03-22  7:35 ` unspecd
  2022-03-22  7:42 ` unspecd
                   ` (3 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2022-03-22  7:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1293 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/34776

New package: mitmproxy-7.0.4
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Resolves #4432.
Depends on ~#34769, #34770, #34772, #34773, #34775, #34777, #34791~.

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

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

From de49d21376f4411ffed6771fb24624081e63457d Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:18:21 +1100
Subject: [PATCH 1/9] python3-h2: update to 4.1.0.

---
 srcpkgs/python3-h2/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-h2/template b/srcpkgs/python3-h2/template
index 29668e4cec4f..24cd2b540bd8 100644
--- a/srcpkgs/python3-h2/template
+++ b/srcpkgs/python3-h2/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-h2'
 pkgname=python3-h2
-version=4.0.0
-revision=2
+version=4.1.0
+revision=1
 wrksrc="h2-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-hpack python3-hyperframe"
+depends="python3-hpack python3-hyperframe"
+checkdepends="${depends} python3-hypothesis python3-pytest"
 short_desc="HTTP/2 State-Machine based protocol implementation (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/python-hyper/h2"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=78753b52cebb63f87097c9a5f969004a61ec4a41f967e41dcc287e26dd9b4143
+checksum=4a17b1ec23152bd94ab6260ea61f6cc02de92bd7c36762f13e34fdecea454b41
 
 post_install() {
 	vlicense LICENSE

From 8dc6cb687cb98f3955e2887e9470292e6ad11d8c Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:25:29 +1100
Subject: [PATCH 2/9] python3-passlib: update to 1.7.4.

---
 srcpkgs/python3-passlib/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-passlib/template b/srcpkgs/python3-passlib/template
index 86a22fd6f01d..78a24bbc0a8b 100644
--- a/srcpkgs/python3-passlib/template
+++ b/srcpkgs/python3-passlib/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-passlib'
 pkgname=python3-passlib
-version=1.7.1
-revision=6
+version=1.7.4
+revision=1
 wrksrc="passlib-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-bcrypt python3-nose"
 short_desc="Comprehensive password hashing framework for Python3"
 maintainer="Alin Dobre <alin.dobre@outlook.com>"
 license="BSD-3-Clause"
-homepage="https://bitbucket.org/ecollins/passlib"
+homepage="https://passlib.readthedocs.io"
 distfiles="${PYPI_SITE}/p/passlib/passlib-${version}.tar.gz"
-checksum=3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0
+checksum=defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04
 
 post_install() {
 	vlicense LICENSE

From 7cdd15ca42d6d5e7cb338bbed280f75c2fd1b331 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:44:00 +1100
Subject: [PATCH 3/9] New package: python3-asgiref-3.4.1

---
 srcpkgs/python3-asgiref/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-asgiref/template

diff --git a/srcpkgs/python3-asgiref/template b/srcpkgs/python3-asgiref/template
new file mode 100644
index 000000000000..4af692950534
--- /dev/null
+++ b/srcpkgs/python3-asgiref/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-asgiref'
+pkgname=python3-asgiref
+version=3.4.1
+revision=1
+wrksrc="asgiref-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-pytest-asyncio"
+short_desc="ASGI base libraries"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/django/asgiref"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=6ddea3b9cab652c4efb19d0eccaff44eab1c42ef7589c0963654eaaaa8829570
+
+post_install() {
+	vlicense LICENSE
+}

From 56e9734e919f26fbc019d7ad74520b274f2a09f9 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:47:28 +1100
Subject: [PATCH 4/9] New package: python3-kaitaistruct-0.9

---
 srcpkgs/python3-kaitaistruct/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-kaitaistruct/template

diff --git a/srcpkgs/python3-kaitaistruct/template b/srcpkgs/python3-kaitaistruct/template
new file mode 100644
index 000000000000..b3bce973689a
--- /dev/null
+++ b/srcpkgs/python3-kaitaistruct/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-kaitaistruct'
+pkgname=python3-kaitaistruct
+version=0.9
+revision=1
+wrksrc="kaitai_struct_python_runtime-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Kaitai Struct API for Python"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://kaitai.io"
+distfiles="https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/${version}.tar.gz"
+checksum=d21207d17603d87f263c8adcd45235ce22d154ba6faba0945e4f1a9d8d95e7e9
+make_check=no  # Package ships no tests
+
+post_install() {
+	vlicense LICENSE
+}

From 9e83ded7d5a53fedbf103b4dc243918bb4d8b4a5 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:29:13 +1100
Subject: [PATCH 5/9] New package: python3-Arpeggio-1.10.2

---
 srcpkgs/python3-Arpeggio/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-Arpeggio/template

diff --git a/srcpkgs/python3-Arpeggio/template b/srcpkgs/python3-Arpeggio/template
new file mode 100644
index 000000000000..94c472262b5a
--- /dev/null
+++ b/srcpkgs/python3-Arpeggio/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-Arpeggio'
+pkgname=python3-Arpeggio
+version=1.10.2
+revision=1
+wrksrc="Arpeggio-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Recursive descent parser with memoization based on PEG grammars"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://github.com/textX/Arpeggio"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=edb463a27bf6ac53819c4ad810e543cc8656ec89eed5943ba9e310bb44e197f4
+
+post_patch() {
+	# Package does not *need* pytest-runner to build, and Void doesn't have it
+	vsed -e '/pytest-runner/d' -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

From dbaa0dbeb2d58f55cb7db8ebaed54f2a774e4207 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:55:22 +1100
Subject: [PATCH 6/9] New package: python3-publicsuffix2-2019.12.21

---
 srcpkgs/python3-publicsuffix2/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-publicsuffix2/template

diff --git a/srcpkgs/python3-publicsuffix2/template b/srcpkgs/python3-publicsuffix2/template
new file mode 100644
index 000000000000..0fe2a1e19fec
--- /dev/null
+++ b/srcpkgs/python3-publicsuffix2/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-publicsuffix2'
+pkgname=python3-publicsuffix2
+version=2019.12.21
+revision=1
+wrksrc="python-publicsuffix2-release-2.${version//./-}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip python3-wheel"
+depends="python3"
+checkdepends="python3-requests"
+short_desc="Get a public suffix for a domain name using the Public Suffix List"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT, MPL-2.0"
+homepage="https://github.com/nexB/python-publicsuffix2"
+distfiles="${homepage}/archive/release-2.${version//./-}.tar.gz"
+checksum=b4ef022fccd7b4968151af208b0f890e55c00b24892a1a826b2b7a381215bafa
+
+post_install() {
+	vlicense publicsuffix2.LICENSE
+}

From 7f8b48989c6d6d71f564a7084c36a1965328f140 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH 7/9] New package: python3-zstandard-0.15.2

---
 srcpkgs/python3-zstandard/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..4b10cb00cf35
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.16.0
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-hypothesis"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=d8c7d651a6592f41dd68591bed978761ba2a54c8990f1fea4c6a5bb58cc34350
+
+pre_check() {
+	# The skipped test ignored due to failure, see:
+	# https://github.com/indygreg/python-zstandard/issues/147#issuecomment-874278901
+	if [ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then
+		vsed -i -e '/def test_estimated_compression_context_size/s/test//' tests/test_data_structures*.py
+	fi
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 77210884a03a8ffb65cf827650128ed441b6f04f Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:30 +1100
Subject: [PATCH 8/9] New package: python3-parver-0.3.1

---
 srcpkgs/python3-parver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-parver/template

diff --git a/srcpkgs/python3-parver/template b/srcpkgs/python3-parver/template
new file mode 100644
index 000000000000..68800130d269
--- /dev/null
+++ b/srcpkgs/python3-parver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-parver'
+pkgname=python3-parver
+version=0.3.1
+revision=1
+wrksrc="parver-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Arpeggio python3-attrs python3-six"
+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"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544
+
+post_install() {
+	vlicense LICENSE
+}

From ce8841fe0a1880da382cf4e1e5f26aada3395178 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:44 +1100
Subject: [PATCH 9/9] New package: mitmproxy-7.0.4

---
 srcpkgs/mitmproxy/template | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 srcpkgs/mitmproxy/template

diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template
new file mode 100644
index 000000000000..5cb085b0f5fe
--- /dev/null
+++ b/srcpkgs/mitmproxy/template
@@ -0,0 +1,31 @@
+# Template file for 'mitmproxy'
+pkgname=mitmproxy
+version=8.0.0
+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-pyzstd 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"
+distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz"
+checksum=9bf403660169327e1b9c8b1701f9f45923e72eba935005cb357f1f4bca1815b5
+
+_skip="(test_get_version)" # This test fails without a git repository
+
+if [ ${XBPS_TARGET_MACHINE%-musl} = "i686" ]; then
+	_skip+="or(test_refresh)"
+fi
+
+make_check_args="-k not($_skip)"
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] New package: mitmproxy-7.0.4
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (15 preceding siblings ...)
  2022-03-22  7:35 ` [PR PATCH] [Updated] " unspecd
@ 2022-03-22  7:42 ` unspecd
  2022-03-22  7:59 ` New package: mitmproxy-8.0.0 unspecd
                   ` (2 subsequent siblings)
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2022-03-22  7:42 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1293 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/34776

New package: mitmproxy-7.0.4
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Resolves #4432.
Depends on ~#34769, #34770, #34772, #34773, #34775, #34777, #34791~.

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

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

From de49d21376f4411ffed6771fb24624081e63457d Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:18:21 +1100
Subject: [PATCH 1/9] python3-h2: update to 4.1.0.

---
 srcpkgs/python3-h2/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-h2/template b/srcpkgs/python3-h2/template
index 29668e4cec4f..24cd2b540bd8 100644
--- a/srcpkgs/python3-h2/template
+++ b/srcpkgs/python3-h2/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-h2'
 pkgname=python3-h2
-version=4.0.0
-revision=2
+version=4.1.0
+revision=1
 wrksrc="h2-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-hpack python3-hyperframe"
+depends="python3-hpack python3-hyperframe"
+checkdepends="${depends} python3-hypothesis python3-pytest"
 short_desc="HTTP/2 State-Machine based protocol implementation (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/python-hyper/h2"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=78753b52cebb63f87097c9a5f969004a61ec4a41f967e41dcc287e26dd9b4143
+checksum=4a17b1ec23152bd94ab6260ea61f6cc02de92bd7c36762f13e34fdecea454b41
 
 post_install() {
 	vlicense LICENSE

From 8dc6cb687cb98f3955e2887e9470292e6ad11d8c Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:25:29 +1100
Subject: [PATCH 2/9] python3-passlib: update to 1.7.4.

---
 srcpkgs/python3-passlib/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-passlib/template b/srcpkgs/python3-passlib/template
index 86a22fd6f01d..78a24bbc0a8b 100644
--- a/srcpkgs/python3-passlib/template
+++ b/srcpkgs/python3-passlib/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-passlib'
 pkgname=python3-passlib
-version=1.7.1
-revision=6
+version=1.7.4
+revision=1
 wrksrc="passlib-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-bcrypt python3-nose"
 short_desc="Comprehensive password hashing framework for Python3"
 maintainer="Alin Dobre <alin.dobre@outlook.com>"
 license="BSD-3-Clause"
-homepage="https://bitbucket.org/ecollins/passlib"
+homepage="https://passlib.readthedocs.io"
 distfiles="${PYPI_SITE}/p/passlib/passlib-${version}.tar.gz"
-checksum=3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0
+checksum=defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04
 
 post_install() {
 	vlicense LICENSE

From 7cdd15ca42d6d5e7cb338bbed280f75c2fd1b331 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:44:00 +1100
Subject: [PATCH 3/9] New package: python3-asgiref-3.4.1

---
 srcpkgs/python3-asgiref/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-asgiref/template

diff --git a/srcpkgs/python3-asgiref/template b/srcpkgs/python3-asgiref/template
new file mode 100644
index 000000000000..4af692950534
--- /dev/null
+++ b/srcpkgs/python3-asgiref/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-asgiref'
+pkgname=python3-asgiref
+version=3.4.1
+revision=1
+wrksrc="asgiref-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-pytest-asyncio"
+short_desc="ASGI base libraries"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/django/asgiref"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=6ddea3b9cab652c4efb19d0eccaff44eab1c42ef7589c0963654eaaaa8829570
+
+post_install() {
+	vlicense LICENSE
+}

From 56e9734e919f26fbc019d7ad74520b274f2a09f9 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:47:28 +1100
Subject: [PATCH 4/9] New package: python3-kaitaistruct-0.9

---
 srcpkgs/python3-kaitaistruct/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-kaitaistruct/template

diff --git a/srcpkgs/python3-kaitaistruct/template b/srcpkgs/python3-kaitaistruct/template
new file mode 100644
index 000000000000..b3bce973689a
--- /dev/null
+++ b/srcpkgs/python3-kaitaistruct/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-kaitaistruct'
+pkgname=python3-kaitaistruct
+version=0.9
+revision=1
+wrksrc="kaitai_struct_python_runtime-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Kaitai Struct API for Python"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://kaitai.io"
+distfiles="https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/${version}.tar.gz"
+checksum=d21207d17603d87f263c8adcd45235ce22d154ba6faba0945e4f1a9d8d95e7e9
+make_check=no  # Package ships no tests
+
+post_install() {
+	vlicense LICENSE
+}

From 9e83ded7d5a53fedbf103b4dc243918bb4d8b4a5 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:29:13 +1100
Subject: [PATCH 5/9] New package: python3-Arpeggio-1.10.2

---
 srcpkgs/python3-Arpeggio/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-Arpeggio/template

diff --git a/srcpkgs/python3-Arpeggio/template b/srcpkgs/python3-Arpeggio/template
new file mode 100644
index 000000000000..94c472262b5a
--- /dev/null
+++ b/srcpkgs/python3-Arpeggio/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-Arpeggio'
+pkgname=python3-Arpeggio
+version=1.10.2
+revision=1
+wrksrc="Arpeggio-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Recursive descent parser with memoization based on PEG grammars"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://github.com/textX/Arpeggio"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=edb463a27bf6ac53819c4ad810e543cc8656ec89eed5943ba9e310bb44e197f4
+
+post_patch() {
+	# Package does not *need* pytest-runner to build, and Void doesn't have it
+	vsed -e '/pytest-runner/d' -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

From dbaa0dbeb2d58f55cb7db8ebaed54f2a774e4207 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:55:22 +1100
Subject: [PATCH 6/9] New package: python3-publicsuffix2-2019.12.21

---
 srcpkgs/python3-publicsuffix2/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-publicsuffix2/template

diff --git a/srcpkgs/python3-publicsuffix2/template b/srcpkgs/python3-publicsuffix2/template
new file mode 100644
index 000000000000..0fe2a1e19fec
--- /dev/null
+++ b/srcpkgs/python3-publicsuffix2/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-publicsuffix2'
+pkgname=python3-publicsuffix2
+version=2019.12.21
+revision=1
+wrksrc="python-publicsuffix2-release-2.${version//./-}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip python3-wheel"
+depends="python3"
+checkdepends="python3-requests"
+short_desc="Get a public suffix for a domain name using the Public Suffix List"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT, MPL-2.0"
+homepage="https://github.com/nexB/python-publicsuffix2"
+distfiles="${homepage}/archive/release-2.${version//./-}.tar.gz"
+checksum=b4ef022fccd7b4968151af208b0f890e55c00b24892a1a826b2b7a381215bafa
+
+post_install() {
+	vlicense publicsuffix2.LICENSE
+}

From a1afd8ffb03702f384b4546ad56b598fc232f031 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH 7/9] New package: python3-zstandard-0.16.0

---
 srcpkgs/python3-zstandard/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..4b10cb00cf35
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.16.0
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-hypothesis"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=d8c7d651a6592f41dd68591bed978761ba2a54c8990f1fea4c6a5bb58cc34350
+
+pre_check() {
+	# The skipped test ignored due to failure, see:
+	# https://github.com/indygreg/python-zstandard/issues/147#issuecomment-874278901
+	if [ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then
+		vsed -i -e '/def test_estimated_compression_context_size/s/test//' tests/test_data_structures*.py
+	fi
+}
+
+post_install() {
+	vlicense LICENSE
+}

From b68f05f0bea2da0086dda090f78a840269bfc9f3 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:30 +1100
Subject: [PATCH 8/9] New package: python3-parver-0.3.1

---
 srcpkgs/python3-parver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-parver/template

diff --git a/srcpkgs/python3-parver/template b/srcpkgs/python3-parver/template
new file mode 100644
index 000000000000..68800130d269
--- /dev/null
+++ b/srcpkgs/python3-parver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-parver'
+pkgname=python3-parver
+version=0.3.1
+revision=1
+wrksrc="parver-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Arpeggio python3-attrs python3-six"
+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"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544
+
+post_install() {
+	vlicense LICENSE
+}

From 17263c3bea6e0dd4f22e78a114e13da1d0e6b8b0 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:44 +1100
Subject: [PATCH 9/9] New package: mitmproxy-8.0.0

---
 srcpkgs/mitmproxy/template | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 srcpkgs/mitmproxy/template

diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template
new file mode 100644
index 000000000000..5cb085b0f5fe
--- /dev/null
+++ b/srcpkgs/mitmproxy/template
@@ -0,0 +1,31 @@
+# Template file for 'mitmproxy'
+pkgname=mitmproxy
+version=8.0.0
+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-pyzstd 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"
+distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz"
+checksum=9bf403660169327e1b9c8b1701f9f45923e72eba935005cb357f1f4bca1815b5
+
+_skip="(test_get_version)" # This test fails without a git repository
+
+if [ ${XBPS_TARGET_MACHINE%-musl} = "i686" ]; then
+	_skip+="or(test_refresh)"
+fi
+
+make_check_args="-k not($_skip)"
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: New package: mitmproxy-8.0.0
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (16 preceding siblings ...)
  2022-03-22  7:42 ` unspecd
@ 2022-03-22  7:59 ` unspecd
  2022-05-23 23:56 ` [PR PATCH] [Updated] " unspecd
  2022-05-23 23:57 ` New package: mitmproxy-8.1.0 unspecd
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2022-03-22  7:59 UTC (permalink / raw)
  To: ml

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

New comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/pull/34776#issuecomment-1074846636

Comment:
Updated to 8.0.0.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: [PR PATCH] [Updated] New package: mitmproxy-8.0.0
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (17 preceding siblings ...)
  2022-03-22  7:59 ` New package: mitmproxy-8.0.0 unspecd
@ 2022-05-23 23:56 ` unspecd
  2022-05-23 23:57 ` New package: mitmproxy-8.1.0 unspecd
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2022-05-23 23:56 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1293 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/34776

New package: mitmproxy-8.0.0
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

Resolves #4432.
Depends on ~#34769, #34770, #34772, #34773, #34775, #34777, #34791~.

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

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

From 80fb034ec9ca797482b65a5442781f17fffb771e Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:18:21 +1100
Subject: [PATCH 1/9] python3-h2: update to 4.1.0.

---
 srcpkgs/python3-h2/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-h2/template b/srcpkgs/python3-h2/template
index 29668e4cec4f..24cd2b540bd8 100644
--- a/srcpkgs/python3-h2/template
+++ b/srcpkgs/python3-h2/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-h2'
 pkgname=python3-h2
-version=4.0.0
-revision=2
+version=4.1.0
+revision=1
 wrksrc="h2-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
-depends="python3 python3-hpack python3-hyperframe"
+depends="python3-hpack python3-hyperframe"
+checkdepends="${depends} python3-hypothesis python3-pytest"
 short_desc="HTTP/2 State-Machine based protocol implementation (Python3)"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://github.com/python-hyper/h2"
 distfiles="${homepage}/archive/v${version}.tar.gz"
-checksum=78753b52cebb63f87097c9a5f969004a61ec4a41f967e41dcc287e26dd9b4143
+checksum=4a17b1ec23152bd94ab6260ea61f6cc02de92bd7c36762f13e34fdecea454b41
 
 post_install() {
 	vlicense LICENSE

From 0d66a0b611c83ac3548bdbcebfacacda16be424d Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:25:29 +1100
Subject: [PATCH 2/9] python3-passlib: update to 1.7.4.

---
 srcpkgs/python3-passlib/template | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/python3-passlib/template b/srcpkgs/python3-passlib/template
index 86a22fd6f01d..78a24bbc0a8b 100644
--- a/srcpkgs/python3-passlib/template
+++ b/srcpkgs/python3-passlib/template
@@ -1,17 +1,18 @@
 # Template file for 'python3-passlib'
 pkgname=python3-passlib
-version=1.7.1
-revision=6
+version=1.7.4
+revision=1
 wrksrc="passlib-${version}"
 build_style=python3-module
 hostmakedepends="python3-setuptools"
 depends="python3"
+checkdepends="python3-bcrypt python3-nose"
 short_desc="Comprehensive password hashing framework for Python3"
 maintainer="Alin Dobre <alin.dobre@outlook.com>"
 license="BSD-3-Clause"
-homepage="https://bitbucket.org/ecollins/passlib"
+homepage="https://passlib.readthedocs.io"
 distfiles="${PYPI_SITE}/p/passlib/passlib-${version}.tar.gz"
-checksum=3d948f64138c25633613f303bcc471126eae67c04d5e3f6b7b8ce6242f8653e0
+checksum=defd50f72b65c5402ab2c573830a6978e5f202ad0d984793c8dde2c4152ebe04
 
 post_install() {
 	vlicense LICENSE

From 9556a75237dc2b74356ec18a61ad57ad86f6b3ff Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:44:00 +1100
Subject: [PATCH 3/9] New package: python3-asgiref-3.4.1

---
 srcpkgs/python3-asgiref/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-asgiref/template

diff --git a/srcpkgs/python3-asgiref/template b/srcpkgs/python3-asgiref/template
new file mode 100644
index 000000000000..4af692950534
--- /dev/null
+++ b/srcpkgs/python3-asgiref/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-asgiref'
+pkgname=python3-asgiref
+version=3.4.1
+revision=1
+wrksrc="asgiref-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest python3-pytest-asyncio"
+short_desc="ASGI base libraries"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/django/asgiref"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=6ddea3b9cab652c4efb19d0eccaff44eab1c42ef7589c0963654eaaaa8829570
+
+post_install() {
+	vlicense LICENSE
+}

From 4cb408e355b8c8de896ad73de83be609e9857d1a Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:47:28 +1100
Subject: [PATCH 4/9] New package: python3-kaitaistruct-0.9

---
 srcpkgs/python3-kaitaistruct/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-kaitaistruct/template

diff --git a/srcpkgs/python3-kaitaistruct/template b/srcpkgs/python3-kaitaistruct/template
new file mode 100644
index 000000000000..b3bce973689a
--- /dev/null
+++ b/srcpkgs/python3-kaitaistruct/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-kaitaistruct'
+pkgname=python3-kaitaistruct
+version=0.9
+revision=1
+wrksrc="kaitai_struct_python_runtime-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+short_desc="Kaitai Struct API for Python"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://kaitai.io"
+distfiles="https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/${version}.tar.gz"
+checksum=d21207d17603d87f263c8adcd45235ce22d154ba6faba0945e4f1a9d8d95e7e9
+make_check=no  # Package ships no tests
+
+post_install() {
+	vlicense LICENSE
+}

From 5037faee54aa255f0a45f20c9d17303202a661fa Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:29:13 +1100
Subject: [PATCH 5/9] New package: python3-Arpeggio-1.10.2

---
 srcpkgs/python3-Arpeggio/template | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 srcpkgs/python3-Arpeggio/template

diff --git a/srcpkgs/python3-Arpeggio/template b/srcpkgs/python3-Arpeggio/template
new file mode 100644
index 000000000000..94c472262b5a
--- /dev/null
+++ b/srcpkgs/python3-Arpeggio/template
@@ -0,0 +1,24 @@
+# Template file for 'python3-Arpeggio'
+pkgname=python3-Arpeggio
+version=1.10.2
+revision=1
+wrksrc="Arpeggio-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Recursive descent parser with memoization based on PEG grammars"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT"
+homepage="https://github.com/textX/Arpeggio"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=edb463a27bf6ac53819c4ad810e543cc8656ec89eed5943ba9e310bb44e197f4
+
+post_patch() {
+	# Package does not *need* pytest-runner to build, and Void doesn't have it
+	vsed -e '/pytest-runner/d' -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 36bbf716ddb2c6af2945f468f2a17499c92ad629 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 10:55:22 +1100
Subject: [PATCH 6/9] New package: python3-publicsuffix2-2019.12.21

---
 srcpkgs/python3-publicsuffix2/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-publicsuffix2/template

diff --git a/srcpkgs/python3-publicsuffix2/template b/srcpkgs/python3-publicsuffix2/template
new file mode 100644
index 000000000000..0fe2a1e19fec
--- /dev/null
+++ b/srcpkgs/python3-publicsuffix2/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-publicsuffix2'
+pkgname=python3-publicsuffix2
+version=2019.12.21
+revision=1
+wrksrc="python-publicsuffix2-release-2.${version//./-}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-pip python3-wheel"
+depends="python3"
+checkdepends="python3-requests"
+short_desc="Get a public suffix for a domain name using the Public Suffix List"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="MIT, MPL-2.0"
+homepage="https://github.com/nexB/python-publicsuffix2"
+distfiles="${homepage}/archive/release-2.${version//./-}.tar.gz"
+checksum=b4ef022fccd7b4968151af208b0f890e55c00b24892a1a826b2b7a381215bafa
+
+post_install() {
+	vlicense publicsuffix2.LICENSE
+}

From bfc42c37c07872499b04e5e3e285577955d29df6 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:00 +1100
Subject: [PATCH 7/9] New package: python3-zstandard-0.16.0

---
 srcpkgs/python3-zstandard/template | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)
 create mode 100644 srcpkgs/python3-zstandard/template

diff --git a/srcpkgs/python3-zstandard/template b/srcpkgs/python3-zstandard/template
new file mode 100644
index 000000000000..4b10cb00cf35
--- /dev/null
+++ b/srcpkgs/python3-zstandard/template
@@ -0,0 +1,28 @@
+# Template file for 'python3-zstandard'
+pkgname=python3-zstandard
+version=0.16.0
+revision=1
+wrksrc="python-zstandard-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+makedepends="python3-devel"
+depends="python3"
+checkdepends="python3-hypothesis"
+short_desc="Python bindings to the Zstandard (zstd) compression library"
+maintainer="Evgeny Ermakov <evgeny.v.ermakov@gmail.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/indygreg/python-zstandard"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=d8c7d651a6592f41dd68591bed978761ba2a54c8990f1fea4c6a5bb58cc34350
+
+pre_check() {
+	# The skipped test ignored due to failure, see:
+	# https://github.com/indygreg/python-zstandard/issues/147#issuecomment-874278901
+	if [ "${XBPS_TARGET_MACHINE%-musl}" = i686 ]; then
+		vsed -i -e '/def test_estimated_compression_context_size/s/test//' tests/test_data_structures*.py
+	fi
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 717abc1521cbf61d79405fa5570387b657fd9289 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:30 +1100
Subject: [PATCH 8/9] New package: python3-parver-0.3.1

---
 srcpkgs/python3-parver/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-parver/template

diff --git a/srcpkgs/python3-parver/template b/srcpkgs/python3-parver/template
new file mode 100644
index 000000000000..68800130d269
--- /dev/null
+++ b/srcpkgs/python3-parver/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-parver'
+pkgname=python3-parver
+version=0.3.1
+revision=1
+wrksrc="parver-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Arpeggio python3-attrs python3-six"
+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"
+distfiles="${homepage}/archive/${version}.tar.gz"
+checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544
+
+post_install() {
+	vlicense LICENSE
+}

From 2ec462bb9260d32d91fdf3e2954368482f73f3a6 Mon Sep 17 00:00:00 2001
From: Evgeny Ermakov <evgeny.v.ermakov@gmail.com>
Date: Fri, 31 Dec 2021 11:01:44 +1100
Subject: [PATCH 9/9] New package: mitmproxy-8.1.0

---
 srcpkgs/mitmproxy/template | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 srcpkgs/mitmproxy/template

diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template
new file mode 100644
index 000000000000..c908c177a340
--- /dev/null
+++ b/srcpkgs/mitmproxy/template
@@ -0,0 +1,31 @@
+# Template file for 'mitmproxy'
+pkgname=mitmproxy
+version=8.1.0
+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-pyzstd 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"
+distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz"
+checksum=41a06a69afc479e41cbb5dbcbf9f6eb94c10e79ece3406fbcc9582457a6a812a
+
+_skip="(test_get_version)" # This test fails without a git repository
+
+if [ ${XBPS_TARGET_MACHINE%-musl} = "i686" ]; then
+	_skip+="or(test_refresh)"
+fi
+
+make_check_args="-k not($_skip)"
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: New package: mitmproxy-8.1.0
  2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
                   ` (18 preceding siblings ...)
  2022-05-23 23:56 ` [PR PATCH] [Updated] " unspecd
@ 2022-05-23 23:57 ` unspecd
  19 siblings, 0 replies; 21+ messages in thread
From: unspecd @ 2022-05-23 23:57 UTC (permalink / raw)
  To: ml

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

New comment by unspecd on void-packages repository

https://github.com/void-linux/void-packages/pull/34776#issuecomment-1135253069

Comment:
Updated to 8.1.0.

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2022-05-23 23:57 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-31  0:10 [PR PATCH] Pkg/mitmproxy unspecd
2021-12-31  0:23 ` [PR PATCH] [Updated] New package: mitmproxy-7.0.4 unspecd
2021-12-31 18:03 ` unspecd
2021-12-31 18:26 ` paper42
2021-12-31 19:03 ` [PR PATCH] [Updated] " unspecd
2021-12-31 19:06 ` unspecd
2021-12-31 19:07 ` unspecd
2021-12-31 21:17 ` unspecd
2021-12-31 21:31 ` unspecd
2021-12-31 21:35 ` unspecd
2021-12-31 21:38 ` [PR PATCH] [Updated] " unspecd
2022-01-01 17:18 ` paper42
2022-01-04  3:14 ` [PR PATCH] [Updated] " unspecd
2022-01-04  3:28 ` unspecd
2022-01-14 22:06 ` [PR PATCH] [Updated] " unspecd
2022-01-15 20:23 ` [PR REVIEW] " unspecd
2022-03-22  7:35 ` [PR PATCH] [Updated] " unspecd
2022-03-22  7:42 ` unspecd
2022-03-22  7:59 ` New package: mitmproxy-8.0.0 unspecd
2022-05-23 23:56 ` [PR PATCH] [Updated] " unspecd
2022-05-23 23:57 ` New package: mitmproxy-8.1.0 unspecd

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).