From b375cdff1a0fcfb264f327baa859d17a1f0407ef 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 | 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 " 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 4366d14517c1cc6f9450ab36c5e4920b94103715 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 02dcbc2712935a2073d68fa5bbfdcb97fea1179c 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 | 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..0f072a302fb5 --- /dev/null +++ b/srcpkgs/python3-asgiref/template @@ -0,0 +1,19 @@ +# 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" +distfiles="${homepage}/archive/${version}.tar.gz" +checksum=62f04f81110898e471a7d5b37f88c923c2864d43fa6abb66a95980becb1a2ba4 + +post_install() { + vlicense LICENSE +} From 262792ce1cdb34c730d09352cffcf05629401918 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 | 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 " +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 a04d837d10ff85cb907bcc9df5b8e447c36f3387 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 | 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..909fe4e11d0c --- /dev/null +++ b/srcpkgs/python3-Arpeggio/template @@ -0,0 +1,24 @@ +# 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" +distfiles="${homepage}/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 83b510c0e48611ba884cafb8260eda83d2f24401 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..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 " +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 c439f3c26409f6d1b15d62aabffcc6b9d54d252d 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 | 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..f840c5cd6af4 --- /dev/null +++ b/srcpkgs/python3-zstandard/template @@ -0,0 +1,28 @@ +# 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" +distfiles="${homepage}/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 8763c3b1e8d4ced89ce76c23361f36e973370191 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 | 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 " +license="MIT" +homepage="https://github.com/RazerM/parver" +distfiles="${homepage}/archive/${version}.tar.gz" +checksum=db9cb60d6fa8fa5fe88af7016c26846a297dec8ce30f4966f29edf1351e4a544 + +post_install() { + vlicense LICENSE +} From 57ae213cb86f22af85d857232f7c8ebc4007e871 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 | 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..090b7ed6de72 --- /dev/null +++ b/srcpkgs/mitmproxy/template @@ -0,0 +1,31 @@ +# 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" +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 +}