From 81a6fb2cdd1fac504f4d44466c673ab912d21060 Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov Date: Fri, 31 Dec 2021 10:18:21 +1100 Subject: [PATCH 1/9] python3-h2: update to 4.1.0. --- srcpkgs/python3-h2/template | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-h2/template b/srcpkgs/python3-h2/template index 29668e4cec4f..1fae4bd23fa1 100644 --- a/srcpkgs/python3-h2/template +++ b/srcpkgs/python3-h2/template @@ -1,17 +1,19 @@ # 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 " license="MIT" homepage="https://github.com/python-hyper/h2" -distfiles="${homepage}/archive/v${version}.tar.gz" -checksum=78753b52cebb63f87097c9a5f969004a61ec4a41f967e41dcc287e26dd9b4143 +changelog="https://raw.githubusercontent.com/python-hyper/h2/master/CHANGELOG.rst" +distfiles="https://github.com/python-hyper/h2/archive/v${version}.tar.gz" +checksum=4a17b1ec23152bd94ab6260ea61f6cc02de92bd7c36762f13e34fdecea454b41 post_install() { vlicense LICENSE From fb3af4717e2b34374f435318c0025fe2105d3e9d Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov 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 " 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 bc43777d74133a2954d69a85dd249fa94a8b5353 Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov Date: Fri, 31 Dec 2021 10:44:00 +1100 Subject: [PATCH 3/9] New package: python3-asgiref-3.5.2 --- srcpkgs/python3-asgiref/template | 20 ++++++++++++++++++++ 1 file changed, 20 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..7e020e44c216 --- /dev/null +++ b/srcpkgs/python3-asgiref/template @@ -0,0 +1,20 @@ +# Template file for 'python3-asgiref' +pkgname=python3-asgiref +version=3.5.2 +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 " +license="BSD-3-Clause" +homepage="https://github.com/django/asgiref" +changelog="https://raw.githubusercontent.com/django/asgiref/main/CHANGELOG.txt" +distfiles="https://github.com/django/asgiref/archive/${version}.tar.gz" +checksum=62f04f81110898e471a7d5b37f88c923c2864d43fa6abb66a95980becb1a2ba4 + +post_install() { + vlicense LICENSE +} From d04d33b03fbabdeb265890decc3f2459218fafaa Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov Date: Fri, 31 Dec 2021 10:47:28 +1100 Subject: [PATCH 4/9] New package: python3-kaitaistruct-0.9 --- srcpkgs/python3-kaitaistruct/template | 18 ++++++++++++++++++ 1 file changed, 18 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..4988b9877805 --- /dev/null +++ b/srcpkgs/python3-kaitaistruct/template @@ -0,0 +1,18 @@ +# 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 " +license="MIT" +homepage="https://kaitai.io" +distfiles="https://github.com/kaitai-io/kaitai_struct_python_runtime/archive/${version}.tar.gz" +checksum=d21207d17603d87f263c8adcd45235ce22d154ba6faba0945e4f1a9d8d95e7e9 + +post_install() { + vlicense LICENSE +} From d6aaaf64c7d8702367fb6be6ed8dfb3fc75ebd13 Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov Date: Fri, 31 Dec 2021 10:29:13 +1100 Subject: [PATCH 5/9] New package: python3-Arpeggio-2.0.0 --- srcpkgs/python3-Arpeggio/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 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..941fe2b4fdf1 --- /dev/null +++ b/srcpkgs/python3-Arpeggio/template @@ -0,0 +1,25 @@ +# Template file for 'python3-Arpeggio' +pkgname=python3-Arpeggio +version=2.0.0 +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 " +license="MIT" +homepage="https://github.com/textX/Arpeggio" +changelog="https://raw.githubusercontent.com/textX/Arpeggio/master/CHANGELOG.md" +distfiles="https://github.com/textX/Arpeggio/archive/${version}.tar.gz" +checksum=70eb3d33948b9d69320c919d2e1820381220e6960ed46f805fbe6f1a09f03a66 + +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 6c57fc1b213a2c73f2a108c1a6c3c88cb5d689a5 Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov 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..1b5f2368a138 --- /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-requests python3-wheel" +depends="python3" +short_desc="Get a public suffix for a domain name using the Public Suffix List" +maintainer="Evgeny Ermakov " +license="MIT, MPL-2.0" +homepage="https://github.com/nexB/python-publicsuffix2" +changelog="https://raw.githubusercontent.com/nexB/python-publicsuffix2/develop/CHANGELOG.rst" +distfiles="https://github.com/nexB/python-publicsuffix2/archive/release-2.${version//./-}.tar.gz" +checksum=b4ef022fccd7b4968151af208b0f890e55c00b24892a1a826b2b7a381215bafa + +post_install() { + vlicense publicsuffix2.LICENSE +} From 5c54f43d653c2f9a8cfcd025b39d6371cb833deb Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov Date: Fri, 31 Dec 2021 11:01:00 +1100 Subject: [PATCH 7/9] New package: python3-zstandard-0.18.0 --- srcpkgs/python3-zstandard/template | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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..523a7ee72b60 --- /dev/null +++ b/srcpkgs/python3-zstandard/template @@ -0,0 +1,29 @@ +# Template file for 'python3-zstandard' +pkgname=python3-zstandard +version=0.18.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 " +license="BSD-3-Clause" +homepage="https://github.com/indygreg/python-zstandard" +changelog="https://raw.githubusercontent.com/indygreg/python-zstandard/main/docs/news.rst" +distfiles="https://github.com/indygreg/python-zstandard/archive/${version}.tar.gz" +checksum=a6c7e2b8d4ec262269ccbc7ce66073370a06d6a0fc866946b7ce429b97e0c4ac + +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 27f176521089d7856e74710e753d7c9af0bdb01a Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov Date: Fri, 31 Dec 2021 11:01:30 +1100 Subject: [PATCH 8/9] New package: python3-parver-0.3.1 --- srcpkgs/python3-parver/template | 20 ++++++++++++++++++++ 1 file changed, 20 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..de58f5ee03f2 --- /dev/null +++ b/srcpkgs/python3-parver/template @@ -0,0 +1,20 @@ +# 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 " +license="MIT" +homepage="https://github.com/RazerM/parver" +changelog="https://raw.githubusercontent.com/RazerM/parver/master/CHANGELOG.md" +distfiles="https://github.com/RazerM/parver/archive/${version}.tar.gz" +checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544 + +post_install() { + vlicense LICENSE +} From 2f8bc93301748bddb71aac2237c3472df2ada1fe Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov Date: Fri, 31 Dec 2021 11:01:44 +1100 Subject: [PATCH 9/9] New package: mitmproxy-8.1.1 --- srcpkgs/mitmproxy/template | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/mitmproxy/template diff --git a/srcpkgs/mitmproxy/template b/srcpkgs/mitmproxy/template new file mode 100644 index 000000000000..b662359d5c7c --- /dev/null +++ b/srcpkgs/mitmproxy/template @@ -0,0 +1,32 @@ +# Template file for 'mitmproxy' +pkgname=mitmproxy +version=8.1.1 +revision=1 +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-Brotli python3-Flask python3-asgiref python3-blinker python3-certifi + python3-click python3-cryptography python3-h11 python3-h2 python3-hyperframe python3-kaitaistruct + python3-ldap3 python3-msgpack python3-openssl python3-parsing python3-passlib python3-protobuf + python3-publicsuffix2 python3-pyperclip python3-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 " +license="MIT" +homepage="https://mitmproxy.org" +changelog="https://raw.githubusercontent.com/mitmproxy/mitmproxy/main/CHANGELOG.md" +distfiles="https://github.com/mitmproxy/mitmproxy/archive/v${version}.tar.gz" +checksum=212e81bec40e1d2a894d73a337f076a3010d981249e513565e9246f29822d06c + +_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 +}