From a7be7c909e427942b298c196740b907b577644b2 Mon Sep 17 00:00:00 2001 From: Evgeny Ermakov 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 " +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 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 " +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 +}