From: unspecd <unspecd@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: mitmproxy-7.0.4
Date: Fri, 31 Dec 2021 20:03:57 +0100 [thread overview]
Message-ID: <20211231190357.Qbscux7MhzlvlPl7H0G621U8dSXtCNG4Dz-G0hxfCXE@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-34776@inbox.vuxu.org>
[-- 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
+}
next prev parent reply other threads:[~2021-12-31 19:03 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` unspecd [this message]
2021-12-31 19:06 ` [PR PATCH] [Updated] " 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
2022-07-03 13:51 ` [PR PATCH] [Updated] " unspecd
2022-07-03 14:05 ` New package: mitmproxy-8.1.1 unspecd
2022-07-03 18:42 ` [PR REVIEW] " classabbyamp
2022-07-03 18:42 ` classabbyamp
2022-07-03 18:42 ` classabbyamp
2022-07-03 18:42 ` classabbyamp
2022-07-03 18:42 ` classabbyamp
2022-07-03 18:42 ` classabbyamp
2022-07-03 18:42 ` classabbyamp
2022-07-03 18:42 ` classabbyamp
2022-07-03 18:42 ` classabbyamp
2022-07-03 18:42 ` classabbyamp
2022-07-03 18:42 ` classabbyamp
2022-07-03 18:42 ` classabbyamp
2022-07-03 18:42 ` classabbyamp
2022-07-03 20:21 ` paper42
2022-07-03 20:21 ` paper42
2022-07-03 22:04 ` unspecd
2022-07-03 22:07 ` paper42
2022-07-03 22:08 ` unspecd
2022-07-03 22:09 ` paper42
2022-07-03 22:11 ` unspecd
2022-07-03 22:13 ` unspecd
2022-07-03 22:27 ` unspecd
2022-07-03 22:27 ` unspecd
2022-07-03 22:31 ` [PR REVIEW] " unspecd
2022-07-03 22:32 ` [PR PATCH] [Updated] " unspecd
2022-07-03 22:48 ` [PR PATCH] [Merged]: " classabbyamp
2022-07-11 17:40 ` Duncaen
2022-07-22 3:48 ` unspecd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20211231190357.Qbscux7MhzlvlPl7H0G621U8dSXtCNG4Dz-G0hxfCXE@z \
--to=unspecd@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).