From 18670474c3a22ea590835471b751021a3efa985c Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Wed, 27 Jan 2021 19:50:06 +0100 Subject: [PATCH 1/5] New package: python3-python-socks-1.2.0 --- srcpkgs/python3-python-socks/template | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 srcpkgs/python3-python-socks/template diff --git a/srcpkgs/python3-python-socks/template b/srcpkgs/python3-python-socks/template new file mode 100644 index 00000000000..dd79cdcd00c --- /dev/null +++ b/srcpkgs/python3-python-socks/template @@ -0,0 +1,20 @@ +# Template file for 'python3-python-socks' +pkgname=python3-python-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 270464d68b71c9dc239b0d64fa8b1cf9c724253e Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Wed, 27 Jan 2021 23:44:11 +0100 Subject: [PATCH 2/5] New package: python3-curio-1.4 --- srcpkgs/python3-curio/template | 17 +++++++++++++++++ 1 file changed, 17 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..f35f6d87726 --- /dev/null +++ b/srcpkgs/python3-curio/template @@ -0,0 +1,17 @@ +# Template file for 'python3-curio' +pkgname=python3-curio +version=1.4 +revision=1 +wrksrc="curio-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +short_desc="A coroutine-based library for concurrent Python systems 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 + +post_install() { + vlicense LICENSE +} From 27d04c19802f2881d96ddffa900ce7112dd82229 Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Wed, 27 Jan 2021 23:45:22 +0100 Subject: [PATCH 3/5] New package: python3-outcome-1.1.0 --- srcpkgs/python3-outcome/template | 21 +++++++++++++++++++++ 1 file changed, 21 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..43a3fdf71ad --- /dev/null +++ b/srcpkgs/python3-outcome/template @@ -0,0 +1,21 @@ +# Template file for 'python3-outcome' +pkgname=python3-outcome +version=1.1.0 +revision=1 +wrksrc="outcome-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +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() { + : +} + +post_install() { + vlicense LICENSE +} From 3b1597d837ff1fe0afde81b365f60e13005b35ad Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Wed, 27 Jan 2021 23:46:41 +0100 Subject: [PATCH 4/5] New package: python3-sniffio-1.2.0 --- srcpkgs/python3-sniffio/template | 21 +++++++++++++++++++++ 1 file changed, 21 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..1d7876978bc --- /dev/null +++ b/srcpkgs/python3-sniffio/template @@ -0,0 +1,21 @@ +# Template file for 'python3-sniffio' +pkgname=python3-sniffio +version=1.2.0 +revision=1 +wrksrc="sniffio-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +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() { + : +} + +post_install() { + vlicense LICENSE +} From b8ee898d3f4dde84f51329475b6658f7791a61a8 Mon Sep 17 00:00:00 2001 From: Arjan Mossel Date: Wed, 27 Jan 2021 23:47:54 +0100 Subject: [PATCH 5/5] New package: python3-trio-0.18.0 --- srcpkgs/python3-curio/template | 2 +- srcpkgs/python3-trio/template | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/python3-trio/template diff --git a/srcpkgs/python3-curio/template b/srcpkgs/python3-curio/template index f35f6d87726..bfba8be92c5 100644 --- a/srcpkgs/python3-curio/template +++ b/srcpkgs/python3-curio/template @@ -5,7 +5,7 @@ revision=1 wrksrc="curio-${version}" build_style=python3-module hostmakedepends="python3-setuptools" -short_desc="A coroutine-based library for concurrent Python systems programming using async/await" +short_desc="Coroutine-based library for concurrent Python systems programming using async/await" maintainer="Arjan Mossel " license="BSD-3-Clause" homepage="https://github.com/dabeaz/curio" diff --git a/srcpkgs/python3-trio/template b/srcpkgs/python3-trio/template new file mode 100644 index 00000000000..0df9f0b9920 --- /dev/null +++ b/srcpkgs/python3-trio/template @@ -0,0 +1,21 @@ +# Template file for 'python3-trio' +pkgname=python3-trio +version=0.18.0 +revision=1 +wrksrc="trio-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +short_desc="A 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() { + : +} + +post_install() { + vlicense LICENSE +}