From db2549ebeced6c64aa2a73c6882e0fea0fd4b0d4 Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Thu, 28 Jan 2021 01:00:16 +0100 Subject: [PATCH 1/6] New package: python3-trio-0.18.0 --- srcpkgs/python3-trio/template | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 srcpkgs/python3-trio/template diff --git a/srcpkgs/python3-trio/template b/srcpkgs/python3-trio/template new file mode 100644 index 00000000000..46cd4c934a8 --- /dev/null +++ b/srcpkgs/python3-trio/template @@ -0,0 +1,32 @@ +# Template file for 'python3-trio' +pkgname=python3-trio +version=0.18.0 +revision=1 +wrksrc="trio-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3-async_generator>=1.9 python3-attrs>=19.2.0 python3-idna + python3-outcome python3-sniffio python3-sortedcontainers" +checkdepends="python3-pytest python3-pytest-cov python3-ipython python3-pylint + python3-jedi black python3-mypy python3-flake8 + python3-async_generator>=1.9 python3-attrs>=19.2.0 + python3-idna python3-outcome python3-sniffio python3-sortedcontainers" +short_desc="Friendly Python library for async concurrency and I/O" +maintainer="Arjan Mossel " +license="Apache-2.0, MIT" +homepage="https://github.com/python-trio/trio" +distfiles="${PYPI_SITE}/t/trio/trio-${version}.tar.gz" +checksum=87a66ae61f27fe500c9024926a9ba482c07e1e0f56380b70a264d19c435ba076 + +do_check() { + : + # PYTHONPATH=$(cd build/lib* && pwd) pytest + # Tests also need the following to be packaged: + # pyOpenSSL https://pypi.org/project/pyOpenSSL/ + # trustme https://pypi.org/project/trustme/ + # astor https://pypi.org/project/astor/ +} + +post_install() { + vlicense LICENSE +} From 9d9849de48e71dab9c01654a84e9a754ef7f9e06 Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Thu, 28 Jan 2021 01:01:20 +0100 Subject: [PATCH 2/6] New package: python3-curio-1.4 --- srcpkgs/python3-curio/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-curio/template diff --git a/srcpkgs/python3-curio/template b/srcpkgs/python3-curio/template new file mode 100644 index 00000000000..c7e2c3ae643 --- /dev/null +++ b/srcpkgs/python3-curio/template @@ -0,0 +1,23 @@ +# Template file for 'python3-curio' +pkgname=python3-curio +version=1.4 +revision=1 +wrksrc="curio-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest" +short_desc="Coroutine-based library for concurrent programming using async/await" +maintainer="Arjan Mossel " +license="BSD-3-Clause" +homepage="https://github.com/dabeaz/curio" +distfiles="${PYPI_SITE}/c/curio/curio-${version}.tar.gz" +checksum=57edce81c837f3c2cf42fbb346dee26e537d1659e6605269fb13bd179e068744 + +do_check() { + PYTHONPATH=$(cd build/lib* && pwd) pytest +} + +post_install() { + vlicense LICENSE +} From e406c48f6dd72d702a22ff62e01696663779b7a4 Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Thu, 28 Jan 2021 01:01:37 +0100 Subject: [PATCH 3/6] New package: python3-outcome-1.1.0 --- srcpkgs/python3-outcome/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-outcome/template diff --git a/srcpkgs/python3-outcome/template b/srcpkgs/python3-outcome/template new file mode 100644 index 00000000000..f326b36ace8 --- /dev/null +++ b/srcpkgs/python3-outcome/template @@ -0,0 +1,23 @@ +# Template file for 'python3-outcome' +pkgname=python3-outcome +version=1.1.0 +revision=1 +wrksrc="outcome-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest python3-pytest-cov python3-pytest-asyncio" +short_desc="Capture the outcome of Python function calls" +maintainer="Arjan Mossel " +license="Apache-2.0, MIT" +homepage="https://github.com/python-trio/outcome" +distfiles="${PYPI_SITE}/o/outcome/outcome-${version}.tar.gz" +checksum=e862f01d4e626e63e8f92c38d1f8d5546d3f9cce989263c521b2e7990d186967 + +do_check() { + PYTHONPATH=$(cd build/lib* && pwd) pytest +} + +post_install() { + vlicense LICENSE +} From 69f2ff84d66d964529a66082c7cb7f9854ef231e Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Thu, 28 Jan 2021 01:02:03 +0100 Subject: [PATCH 4/6] New package: python3-sniffio-1.2.0 --- srcpkgs/python3-sniffio/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/python3-sniffio/template diff --git a/srcpkgs/python3-sniffio/template b/srcpkgs/python3-sniffio/template new file mode 100644 index 00000000000..af169ef60b1 --- /dev/null +++ b/srcpkgs/python3-sniffio/template @@ -0,0 +1,23 @@ +# Template file for 'python3-sniffio' +pkgname=python3-sniffio +version=1.2.0 +revision=1 +wrksrc="sniffio-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-pytest python3-pytest-cov python3-curio" +short_desc="Sniff out which async library your code is running under" +maintainer="Arjan Mossel " +license="Apache-2.0, MIT" +homepage="https://github.com/python-trio/sniffio" +distfiles="${PYPI_SITE}/s/sniffio/sniffio-${version}.tar.gz" +checksum=c4666eecec1d3f50960c6bdf61ab7bc350648da6c126e3cf6898d8cd4ddcd3de + +do_check() { + PYTHONPATH=$(cd build/lib* && pwd) pytest +} + +post_install() { + vlicense LICENSE +} From cb8ed11d3075c61dd87a626d4ed3feaf6eb271be Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Thu, 28 Jan 2021 01:02:23 +0100 Subject: [PATCH 5/6] New package: python3-socks-1.2.0 --- srcpkgs/python3-socks/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-socks/template diff --git a/srcpkgs/python3-socks/template b/srcpkgs/python3-socks/template new file mode 100644 index 00000000000..afa0c84fb8c --- /dev/null +++ b/srcpkgs/python3-socks/template @@ -0,0 +1,20 @@ +# Template file for 'python3-socks' +pkgname=python3-socks +version=1.2.0 +revision=1 +wrksrc="python-socks-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +checkdepends="python3-async-timeout python3-curio python3-trio python3-attrs + python3-async_generator python3-sniffio python3-sortedcontainers + python3-outcome python3-idna" +# Optional dependencies: +# async-timeout >= 3.0.1 +# trio >= 0.16.0 +# curio >= 1.4 +short_desc="Core proxy client functionality for Python" +maintainer="Arjan Mossel " +license="Apache-2.0" +homepage="https://github.com/romis2012/python-socks" +distfiles="${PYPI_SITE}/p/python-socks/python-socks-${version}.tar.gz" +checksum=3054a8afa984a35144198e00fed1144eeae3287cc231ac7db3908d32ab642cd4 From a5abcac6734210432deeac76a4566b7e6c04850c Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Thu, 28 Jan 2021 01:14:56 +0100 Subject: [PATCH 6/6] python3-aiohttp_socks: update to 0.5.5 --- srcpkgs/python3-aiohttp_socks/template | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/python3-aiohttp_socks/template b/srcpkgs/python3-aiohttp_socks/template index fa75a54302c..5ebdd5b6ab9 100644 --- a/srcpkgs/python3-aiohttp_socks/template +++ b/srcpkgs/python3-aiohttp_socks/template @@ -1,15 +1,15 @@ # Template file for 'python3-aiohttp_socks' pkgname=python3-aiohttp_socks -version=0.2.2 -revision=3 +version=0.5.5 +revision=1 wrksrc="aiohttp_socks-${version}" build_style=python3-module -pycompile_module="aiohttp_socks" hostmakedepends="python3-setuptools" -depends="python3-aiohttp" +depends="python3-aiohttp python3-socks" +checkdepends="python3-aiohttp python3-attrs python3-socks" short_desc="SOCKS proxy connector for aiohttp" maintainer="Christian Buschau " license="Apache-2.0" homepage="https://github.com/romis2012/aiohttp-socks" distfiles="${PYPI_SITE}/a/aiohttp_socks/aiohttp_socks-${version}.tar.gz" -checksum=eebd8939a7c3c1e3e7e1b2552c60039b4c65ef6b8b2351efcbdd98290538e310 +checksum=2eb2059756bde34c55bb429541cbf2eba3fd53e36ac80875b461221e2858b04a