[gentoo-commits] repo/proj/guru:dev commit in: dev-python/anyio/

2021-06-10 Thread Andrew Ammerlaan
commit: 9bbe284ae94ade4830e331e959cc2af87d8a397a
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Jun 10 08:28:05 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Jun 10 10:03:00 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9bbe284a

dev-python/anyio: move to ::gentoo

Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/anyio/Manifest   |  2 --
 dev-python/anyio/anyio-2.2.0.ebuild | 61 -
 dev-python/anyio/anyio-3.0.1.ebuild | 61 -
 dev-python/anyio/metadata.xml   | 33 
 4 files changed, 157 deletions(-)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
deleted file mode 100644
index dee63a578..0
--- a/dev-python/anyio/Manifest
+++ /dev/null
@@ -1,2 +0,0 @@
-DIST anyio-2.2.0.tar.gz 97217 BLAKE2B 
7b50d997fd83950d16c0e562519b60dbef32bfd6d21e61583a83dd94edc26e27fcd26c7c630f22daaddebea5e148487db1a8c81e0bd82cf4641812dfac8807de
 SHA512 
bca1265eec30830bea5f6fe15f3059793599e9c47d292b3008fcd86c802d76bd692f1a340fd6e3b0aa2401c38576459e516b3defa1ddf8353f18d51280fd73ab
-DIST anyio-3.0.1.tar.gz 117725 BLAKE2B 
9e9eb02e2891c59a82015db9a6be6e8d4e17dbca10dd72d4510572e11d88687fcbc0f3de571d7c58643cf9191591e655693c58ce73ce45fb1ea1b06e8a0dc5ec
 SHA512 
e063727824c3cd53f4de4bf128a8b6b355b582ed7df533fb73a3306b1e561c096ecea24c6abb367a557516b1470e4f5122458a64f6c03257e4e54452cc5c84e1

diff --git a/dev-python/anyio/anyio-2.2.0.ebuild 
b/dev-python/anyio/anyio-2.2.0.ebuild
deleted file mode 100644
index f74abd408..0
--- a/dev-python/anyio/anyio-2.2.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-# Build with USE="-doc" first because of circular dependency
-# otherwise one gets the error that sphinx-autodoc-typehints
-
-DOCS_BUILDER="sphinx"
-DOCS_DIR="docs"
-DOCS_AUTODOC=1
-
-inherit distutils-r1 docs
-
-DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
-HOMEPAGE="
-   https://github.com/agronholm/anyio
-   https://pypi.org/project/anyio
-"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   >=dev-python/curio-1.4[${PYTHON_USEDEP}]
-   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.16[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' 
python3_7)
-"
-
-BDEPEND="
-   ${RDEPEND}
-   doc? (
-   dev-python/anyio[${PYTHON_USEDEP}]
-   >=dev-python/sphinx-autodoc-typehints-1.2.0[${PYTHON_USEDEP}]
-   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
-   )
-   test? (
-   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-6.0[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   distutils_install_for_testing
-   pytest -vv \
-   --deselect 
tests/test_sockets.py::test_getaddrinfo[asyncio] \
-   --deselect 
tests/test_sockets.py::test_getaddrinfo[asyncio+uvloop] \
-   --deselect 
tests/test_sockets.py::test_getaddrinfo[curio] \
-   --deselect 
tests/test_sockets.py::test_getaddrinfo[trio] \
-   || die
-}

diff --git a/dev-python/anyio/anyio-3.0.1.ebuild 
b/dev-python/anyio/anyio-3.0.1.ebuild
deleted file mode 100644
index f74abd408..0
--- a/dev-python/anyio/anyio-3.0.1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-# Build with USE="-doc" first because of circular dependency
-# otherwise one gets the error that sphinx-autodoc-typehints
-
-DOCS_BUILDER="sphinx"
-DOCS_DIR="docs"
-DOCS_AUTODOC=1
-
-inherit distutils-r1 docs
-
-DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
-HOMEPAGE="
-   https://github.com/agronholm/anyio
-   https://pypi.org/project/anyio
-"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   >=dev-python/curio-1.4[${PYTHON_USEDEP}]
-   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.16[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' 
python3_7)
-"
-
-BDEPEND="
-   ${RDEPEND}
-   doc? (
-   dev-python/anyio[${PYTHON_USEDEP}]
-   >=dev-python/sphinx-autodoc-typehints-1.2.0[${PYTHON_USEDEP}]
- 

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/anyio/

2021-05-25 Thread Anna Vyalkova
commit: 05db583017988f5c8f5f7cb6e6fcf2469634242e
Author: Anna Vyalkova  sysrq  in>
AuthorDate: Mon May 24 19:29:12 2021 +
Commit: Anna Vyalkova  sysrq  in>
CommitDate: Tue May 25 08:06:50 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=05db5830

dev-python/anyio: drop 2.1.0, 3.0.0

Signed-off-by: Anna Vyalkova  sysrq.in>

 dev-python/anyio/Manifest   |  2 --
 dev-python/anyio/anyio-2.1.0.ebuild | 64 -
 dev-python/anyio/anyio-3.0.0.ebuild | 61 ---
 3 files changed, 127 deletions(-)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 5472257b5..dee63a578 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,4 +1,2 @@
-DIST anyio-2.1.0.tar.gz 95186 BLAKE2B 
5dcb110e0e3d543525bb5081c948124e0e0f6bb0a80038104a8ab793ecf961a56d56576ad96a78b0fb69f3c7731dea3d9573b757f859ee8e61e65490432b9b69
 SHA512 
923467cdfbf6d0f427345704e99aec44cafc21f78a8b3b88d1ca9be93fb52a77d472229a242664977a873faf05c7c47a44a55aa4d0158959f60bf4ac8a46cdeb
 DIST anyio-2.2.0.tar.gz 97217 BLAKE2B 
7b50d997fd83950d16c0e562519b60dbef32bfd6d21e61583a83dd94edc26e27fcd26c7c630f22daaddebea5e148487db1a8c81e0bd82cf4641812dfac8807de
 SHA512 
bca1265eec30830bea5f6fe15f3059793599e9c47d292b3008fcd86c802d76bd692f1a340fd6e3b0aa2401c38576459e516b3defa1ddf8353f18d51280fd73ab
-DIST anyio-3.0.0.tar.gz 116952 BLAKE2B 
d797afbd372d7e0ba3b9b5cd0c7df6d8c8a91e8616aa9af9abf6c7e20cb940592a50d6534eed63619c7a4ead5e431ba12238a0e8b78cc00949b0944012d687e8
 SHA512 
e677506cb5edfa86381a6e309fd6c1393d4280d3b31e2382b4adef1aef08b678a2418cbf669e9c5607f855066e72fdb9b3dbd196db10aa42a7ef6445ea737fbd
 DIST anyio-3.0.1.tar.gz 117725 BLAKE2B 
9e9eb02e2891c59a82015db9a6be6e8d4e17dbca10dd72d4510572e11d88687fcbc0f3de571d7c58643cf9191591e655693c58ce73ce45fb1ea1b06e8a0dc5ec
 SHA512 
e063727824c3cd53f4de4bf128a8b6b355b582ed7df533fb73a3306b1e561c096ecea24c6abb367a557516b1470e4f5122458a64f6c03257e4e54452cc5c84e1

diff --git a/dev-python/anyio/anyio-2.1.0.ebuild 
b/dev-python/anyio/anyio-2.1.0.ebuild
deleted file mode 100644
index c5e3308e9..0
--- a/dev-python/anyio/anyio-2.1.0.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-# Build with USE="-doc" first because of circular dependency
-# otherwise one gets the error that sphinx-autodoc-typehints
-# does not support py3.9
-# DOCS_BUILDER="sphinx"
-# DOCS_DIR="docs"
-# DOCS_DEPEND="
-#  dev-python/anyio
-#  >=dev-python/sphinx-autodoc-typehints-1.2.0
-#  dev-python/sphinx_rtd_theme
-# "
-# DOCS_AUTODOC=1
-
-inherit distutils-r1 #docs
-
-DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
-HOMEPAGE="
-   https://github.com/agronholm/anyio
-   https://pypi.org/project/anyio
-"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-
-# This is a mess
-RESTRICT="test"
-
-RDEPEND="
-   >=dev-python/curio-1.4[${PYTHON_USEDEP}]
-   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.16[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' 
python3_7)
-"
-
-BDEPEND="
-   ${RDEPEND}
-   test? (
-   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-6.0[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   dev-python/uvloop[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   distutils_install_for_testing
-   pytest -vv \
-   --deselect 
tests/test_sockets.py::test_getaddrinfo[asyncio] \
-   --deselect 
tests/test_sockets.py::test_getaddrinfo[asyncio+uvloop] \
-   --deselect 
tests/test_sockets.py::test_getaddrinfo[curio] \
-   --deselect 
tests/test_sockets.py::test_getaddrinfo[trio] \
-   || die
-}

diff --git a/dev-python/anyio/anyio-3.0.0.ebuild 
b/dev-python/anyio/anyio-3.0.0.ebuild
deleted file mode 100644
index f74abd408..0
--- a/dev-python/anyio/anyio-3.0.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8} )
-
-# Build with USE="-doc" first because of circular dependency
-# otherwise one gets the error that sphinx-autodoc-typehints
-
-DOCS_BUILDER="sphinx"
-DOCS_DIR="docs"
-DOCS_AUTODOC=1
-
-inherit distutils-r1 docs
-
-DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
-HOMEPAGE="
-   https://github.com/agronholm/anyio
-   https://pypi.org/project/anyio
-"
-SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT

[gentoo-commits] repo/proj/guru:dev commit in: dev-python/anyio/

2021-05-08 Thread Alessandro Barbieri
commit: c6fefea9f3ee5ef4a1bc32e97e6f4d0ae0f1ca91
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun May  9 00:35:02 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun May  9 00:35:02 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c6fefea9

dev-python/anyio: new version

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/anyio/Manifest   |  1 +
 dev-python/anyio/anyio-3.0.1.ebuild | 61 +
 2 files changed, 62 insertions(+)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 0f682ca7d..5472257b5 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,3 +1,4 @@
 DIST anyio-2.1.0.tar.gz 95186 BLAKE2B 
5dcb110e0e3d543525bb5081c948124e0e0f6bb0a80038104a8ab793ecf961a56d56576ad96a78b0fb69f3c7731dea3d9573b757f859ee8e61e65490432b9b69
 SHA512 
923467cdfbf6d0f427345704e99aec44cafc21f78a8b3b88d1ca9be93fb52a77d472229a242664977a873faf05c7c47a44a55aa4d0158959f60bf4ac8a46cdeb
 DIST anyio-2.2.0.tar.gz 97217 BLAKE2B 
7b50d997fd83950d16c0e562519b60dbef32bfd6d21e61583a83dd94edc26e27fcd26c7c630f22daaddebea5e148487db1a8c81e0bd82cf4641812dfac8807de
 SHA512 
bca1265eec30830bea5f6fe15f3059793599e9c47d292b3008fcd86c802d76bd692f1a340fd6e3b0aa2401c38576459e516b3defa1ddf8353f18d51280fd73ab
 DIST anyio-3.0.0.tar.gz 116952 BLAKE2B 
d797afbd372d7e0ba3b9b5cd0c7df6d8c8a91e8616aa9af9abf6c7e20cb940592a50d6534eed63619c7a4ead5e431ba12238a0e8b78cc00949b0944012d687e8
 SHA512 
e677506cb5edfa86381a6e309fd6c1393d4280d3b31e2382b4adef1aef08b678a2418cbf669e9c5607f855066e72fdb9b3dbd196db10aa42a7ef6445ea737fbd
+DIST anyio-3.0.1.tar.gz 117725 BLAKE2B 
9e9eb02e2891c59a82015db9a6be6e8d4e17dbca10dd72d4510572e11d88687fcbc0f3de571d7c58643cf9191591e655693c58ce73ce45fb1ea1b06e8a0dc5ec
 SHA512 
e063727824c3cd53f4de4bf128a8b6b355b582ed7df533fb73a3306b1e561c096ecea24c6abb367a557516b1470e4f5122458a64f6c03257e4e54452cc5c84e1

diff --git a/dev-python/anyio/anyio-3.0.1.ebuild 
b/dev-python/anyio/anyio-3.0.1.ebuild
new file mode 100644
index 0..f74abd408
--- /dev/null
+++ b/dev-python/anyio/anyio-3.0.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+# Build with USE="-doc" first because of circular dependency
+# otherwise one gets the error that sphinx-autodoc-typehints
+
+DOCS_BUILDER="sphinx"
+DOCS_DIR="docs"
+DOCS_AUTODOC=1
+
+inherit distutils-r1 docs
+
+DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
+HOMEPAGE="
+   https://github.com/agronholm/anyio
+   https://pypi.org/project/anyio
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/curio-1.4[${PYTHON_USEDEP}]
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.16[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' 
python3_7)
+"
+
+BDEPEND="
+   ${RDEPEND}
+   doc? (
+   dev-python/anyio[${PYTHON_USEDEP}]
+   >=dev-python/sphinx-autodoc-typehints-1.2.0[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-6.0[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   distutils_install_for_testing
+   pytest -vv \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[asyncio] \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[asyncio+uvloop] \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[curio] \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[trio] \
+   || die
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/anyio/

2021-04-27 Thread Theo Anderson
commit: 476cca70ab50e320c06510578e36bd9c8ebe2e03
Author: Theo Anderson  posteo  de>
AuthorDate: Wed Apr 28 02:35:32 2021 +
Commit: Theo Anderson  posteo  de>
CommitDate: Wed Apr 28 02:35:32 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=476cca70

dev-python/anyio: add 3.0.0

Signed-off-by: Theo Anderson  posteo.de>

 dev-python/anyio/Manifest   |  1 +
 dev-python/anyio/anyio-3.0.0.ebuild | 61 +
 2 files changed, 62 insertions(+)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 9ed5a6fc5..0f682ca7d 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,2 +1,3 @@
 DIST anyio-2.1.0.tar.gz 95186 BLAKE2B 
5dcb110e0e3d543525bb5081c948124e0e0f6bb0a80038104a8ab793ecf961a56d56576ad96a78b0fb69f3c7731dea3d9573b757f859ee8e61e65490432b9b69
 SHA512 
923467cdfbf6d0f427345704e99aec44cafc21f78a8b3b88d1ca9be93fb52a77d472229a242664977a873faf05c7c47a44a55aa4d0158959f60bf4ac8a46cdeb
 DIST anyio-2.2.0.tar.gz 97217 BLAKE2B 
7b50d997fd83950d16c0e562519b60dbef32bfd6d21e61583a83dd94edc26e27fcd26c7c630f22daaddebea5e148487db1a8c81e0bd82cf4641812dfac8807de
 SHA512 
bca1265eec30830bea5f6fe15f3059793599e9c47d292b3008fcd86c802d76bd692f1a340fd6e3b0aa2401c38576459e516b3defa1ddf8353f18d51280fd73ab
+DIST anyio-3.0.0.tar.gz 116952 BLAKE2B 
d797afbd372d7e0ba3b9b5cd0c7df6d8c8a91e8616aa9af9abf6c7e20cb940592a50d6534eed63619c7a4ead5e431ba12238a0e8b78cc00949b0944012d687e8
 SHA512 
e677506cb5edfa86381a6e309fd6c1393d4280d3b31e2382b4adef1aef08b678a2418cbf669e9c5607f855066e72fdb9b3dbd196db10aa42a7ef6445ea737fbd

diff --git a/dev-python/anyio/anyio-3.0.0.ebuild 
b/dev-python/anyio/anyio-3.0.0.ebuild
new file mode 100644
index 0..f74abd408
--- /dev/null
+++ b/dev-python/anyio/anyio-3.0.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+# Build with USE="-doc" first because of circular dependency
+# otherwise one gets the error that sphinx-autodoc-typehints
+
+DOCS_BUILDER="sphinx"
+DOCS_DIR="docs"
+DOCS_AUTODOC=1
+
+inherit distutils-r1 docs
+
+DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
+HOMEPAGE="
+   https://github.com/agronholm/anyio
+   https://pypi.org/project/anyio
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   >=dev-python/curio-1.4[${PYTHON_USEDEP}]
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.16[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' 
python3_7)
+"
+
+BDEPEND="
+   ${RDEPEND}
+   doc? (
+   dev-python/anyio[${PYTHON_USEDEP}]
+   >=dev-python/sphinx-autodoc-typehints-1.2.0[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-6.0[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   distutils_install_for_testing
+   pytest -vv \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[asyncio] \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[asyncio+uvloop] \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[curio] \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[trio] \
+   || die
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/anyio/

2021-04-13 Thread Andrew Ammerlaan
commit: bf7a1a9a6d6561ed9bc4536eb0ab070b9d638cef
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Tue Apr 13 12:27:23 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Tue Apr 13 12:27:23 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bf7a1a9a

dev-python/anyio: drop x86

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/anyio/anyio-2.1.0.ebuild | 2 +-
 dev-python/anyio/anyio-2.2.0.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/anyio/anyio-2.1.0.ebuild 
b/dev-python/anyio/anyio-2.1.0.ebuild
index 3e5f0dd97..c5e3308e9 100644
--- a/dev-python/anyio/anyio-2.1.0.ebuild
+++ b/dev-python/anyio/anyio-2.1.0.ebuild
@@ -28,7 +28,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 
 # This is a mess
 RESTRICT="test"

diff --git a/dev-python/anyio/anyio-2.2.0.ebuild 
b/dev-python/anyio/anyio-2.2.0.ebuild
index f6ffbc88b..f74abd408 100644
--- a/dev-python/anyio/anyio-2.2.0.ebuild
+++ b/dev-python/anyio/anyio-2.2.0.ebuild
@@ -23,7 +23,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 
 RDEPEND="
>=dev-python/curio-1.4[${PYTHON_USEDEP}]



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/anyio/

2021-03-11 Thread Alessandro Barbieri
commit: 0bb2499209623ad7a7548623f4c13225b921213d
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Wed Mar 10 12:49:49 2021 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Thu Mar 11 18:53:01 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0bb24992

dev-python/anyio: bump

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/anyio/Manifest   |  1 +
 dev-python/anyio/anyio-2.2.0.ebuild | 61 +
 2 files changed, 62 insertions(+)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 83033c84..9ed5a6fc 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1 +1,2 @@
 DIST anyio-2.1.0.tar.gz 95186 BLAKE2B 
5dcb110e0e3d543525bb5081c948124e0e0f6bb0a80038104a8ab793ecf961a56d56576ad96a78b0fb69f3c7731dea3d9573b757f859ee8e61e65490432b9b69
 SHA512 
923467cdfbf6d0f427345704e99aec44cafc21f78a8b3b88d1ca9be93fb52a77d472229a242664977a873faf05c7c47a44a55aa4d0158959f60bf4ac8a46cdeb
+DIST anyio-2.2.0.tar.gz 97217 BLAKE2B 
7b50d997fd83950d16c0e562519b60dbef32bfd6d21e61583a83dd94edc26e27fcd26c7c630f22daaddebea5e148487db1a8c81e0bd82cf4641812dfac8807de
 SHA512 
bca1265eec30830bea5f6fe15f3059793599e9c47d292b3008fcd86c802d76bd692f1a340fd6e3b0aa2401c38576459e516b3defa1ddf8353f18d51280fd73ab

diff --git a/dev-python/anyio/anyio-2.2.0.ebuild 
b/dev-python/anyio/anyio-2.2.0.ebuild
new file mode 100644
index ..f6ffbc88
--- /dev/null
+++ b/dev-python/anyio/anyio-2.2.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8} )
+
+# Build with USE="-doc" first because of circular dependency
+# otherwise one gets the error that sphinx-autodoc-typehints
+
+DOCS_BUILDER="sphinx"
+DOCS_DIR="docs"
+DOCS_AUTODOC=1
+
+inherit distutils-r1 docs
+
+DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
+HOMEPAGE="
+   https://github.com/agronholm/anyio
+   https://pypi.org/project/anyio
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   >=dev-python/curio-1.4[${PYTHON_USEDEP}]
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.16[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' 
python3_7)
+"
+
+BDEPEND="
+   ${RDEPEND}
+   doc? (
+   dev-python/anyio[${PYTHON_USEDEP}]
+   >=dev-python/sphinx-autodoc-typehints-1.2.0[${PYTHON_USEDEP}]
+   dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-6.0[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   distutils_install_for_testing
+   pytest -vv \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[asyncio] \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[asyncio+uvloop] \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[curio] \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[trio] \
+   || die
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/anyio/

2021-02-17 Thread Andrew Ammerlaan
commit: 95e2c2f10b4ec57184313193b58324c1f95c4a80
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Wed Feb 17 18:24:27 2021 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Wed Feb 17 18:24:27 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=95e2c2f1

dev-python/anyio: add py3.8 and py3.9

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/anyio/Manifest   |  2 +-
 dev-python/anyio/{anyio-2.0.2.ebuild => anyio-2.1.0.ebuild} | 10 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 0d009d2c..83033c84 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1 +1 @@
-DIST anyio-2.0.2.tar.gz 91805 BLAKE2B 
26a7bd16f3f7b9d59cec7b93e13a48a3bd09c459ed1e751d0189836218a8384979ec5778feb29b00dc6871640c2e67e1b4b3162d050253e195536e02902cb89a
 SHA512 
5ce46e6cf167b2ee526e92642e65d1e715f443750b4c8b12d0c449ad460afd0280be920bcde0653f478eb52ab9db035a35ccb6908460bf425e85d7d0aa3f1799
+DIST anyio-2.1.0.tar.gz 95186 BLAKE2B 
5dcb110e0e3d543525bb5081c948124e0e0f6bb0a80038104a8ab793ecf961a56d56576ad96a78b0fb69f3c7731dea3d9573b757f859ee8e61e65490432b9b69
 SHA512 
923467cdfbf6d0f427345704e99aec44cafc21f78a8b3b88d1ca9be93fb52a77d472229a242664977a873faf05c7c47a44a55aa4d0158959f60bf4ac8a46cdeb

diff --git a/dev-python/anyio/anyio-2.0.2.ebuild 
b/dev-python/anyio/anyio-2.1.0.ebuild
similarity index 92%
rename from dev-python/anyio/anyio-2.0.2.ebuild
rename to dev-python/anyio/anyio-2.1.0.ebuild
index ae1b57a6..3e5f0dd9 100644
--- a/dev-python/anyio/anyio-2.0.2.ebuild
+++ b/dev-python/anyio/anyio-2.1.0.ebuild
@@ -1,15 +1,15 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 # Build with USE="-doc" first because of circular dependency
 # otherwise one gets the error that sphinx-autodoc-typehints
-# does not support py3.8
+# does not support py3.9
 # DOCS_BUILDER="sphinx"
-# DOCS_DIR="${S}/docs"
+# DOCS_DIR="docs"
 # DOCS_DEPEND="
 #  dev-python/anyio
 #  >=dev-python/sphinx-autodoc-typehints-1.2.0



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/anyio/

2020-12-18 Thread Andrew Ammerlaan
commit: f7870bc9a358b9b357965d8e60dfa84aadbe4d5f
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Fri Dec 18 14:04:04 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Fri Dec 18 14:04:04 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f7870bc9

dev-python/anyio: add py3.8

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/anyio/anyio-2.0.2.ebuild | 34 --
 1 file changed, 20 insertions(+), 14 deletions(-)

diff --git a/dev-python/anyio/anyio-2.0.2.ebuild 
b/dev-python/anyio/anyio-2.0.2.ebuild
index 891e7b58..ae1b57a6 100644
--- a/dev-python/anyio/anyio-2.0.2.ebuild
+++ b/dev-python/anyio/anyio-2.0.2.ebuild
@@ -3,18 +3,21 @@
 
 EAPI="7"
 
-PYTHON_COMPAT=( python3_7 )
-
-DOCS_BUILDER="sphinx"
-DOCS_DIR="${S}/docs"
-DOCS_DEPEND="
-   dev-python/anyio
-   >=dev-python/sphinx-autodoc-typehints-1.2.0
-   dev-python/sphinx_rtd_theme
-"
-DOCS_AUTODOC=1
+PYTHON_COMPAT=( python3_{7,8} )
+
+# Build with USE="-doc" first because of circular dependency
+# otherwise one gets the error that sphinx-autodoc-typehints
+# does not support py3.8
+# DOCS_BUILDER="sphinx"
+# DOCS_DIR="${S}/docs"
+# DOCS_DEPEND="
+#  dev-python/anyio
+#  >=dev-python/sphinx-autodoc-typehints-1.2.0
+#  dev-python/sphinx_rtd_theme
+# "
+# DOCS_AUTODOC=1
 
-inherit distutils-r1 docs
+inherit distutils-r1 #docs
 
 DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
 HOMEPAGE="
@@ -27,15 +30,18 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
+# This is a mess
+RESTRICT="test"
+
 RDEPEND="
>=dev-python/curio-1.4[${PYTHON_USEDEP}]
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
>=dev-python/trio-0.16[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep 'dev-python/typing-extensions[${PYTHON_USEDEP}]' 
python3_7)
 "
-#remember to add 
-#  $(python_gen_cond_dep 'dev-python/typing_extensions[${PYTHON_USEDEP}]' 
python3_7)
-DEPEND="
+
+BDEPEND="
${RDEPEND}
test? (
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/anyio/

2020-11-30 Thread Andrew Ammerlaan
commit: 1cf142dea5836d4e768687f60b3694442dcc6044
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Mon Nov 30 12:34:59 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Mon Nov 30 12:34:59 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1cf142de

dev-python/anyio: shorten description

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan  riseup.net>

 dev-python/anyio/anyio-2.0.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/anyio/anyio-2.0.2.ebuild 
b/dev-python/anyio/anyio-2.0.2.ebuild
index f9cf5b07..9478c0af 100644
--- a/dev-python/anyio/anyio-2.0.2.ebuild
+++ b/dev-python/anyio/anyio-2.0.2.ebuild
@@ -16,7 +16,7 @@ AUTODOC=1
 
 inherit distutils-r1 docs
 
-DESCRIPTION="High level compatibility layer for multiple asynchronous event 
loop implementations"
+DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
 HOMEPAGE="
https://github.com/agronholm/anyio
https://pypi.org/project/anyio
@@ -55,4 +55,4 @@ python_test() {
--deselect 
tests/test_sockets.py::test_getaddrinfo[curio] \
--deselect 
tests/test_sockets.py::test_getaddrinfo[trio] \
|| die
-}
\ No newline at end of file
+}



[gentoo-commits] repo/proj/guru:dev commit in: dev-python/anyio/

2020-11-29 Thread Alessandro Barbieri
commit: f928ec27e7b4c3d126429eff2cd268e706ce132b
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Nov 29 15:15:38 2020 +
Commit: Alessandro Barbieri  gmail  com>
CommitDate: Sun Nov 29 15:16:07 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f928ec27

dev-python/anyio: new package

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Alessandro Barbieri  gmail.com>

 dev-python/anyio/Manifest   |  1 +
 dev-python/anyio/anyio-2.0.2.ebuild | 58 +
 dev-python/anyio/metadata.xml   | 33 +
 3 files changed, 92 insertions(+)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
new file mode 100644
index ..0d009d2c
--- /dev/null
+++ b/dev-python/anyio/Manifest
@@ -0,0 +1 @@
+DIST anyio-2.0.2.tar.gz 91805 BLAKE2B 
26a7bd16f3f7b9d59cec7b93e13a48a3bd09c459ed1e751d0189836218a8384979ec5778feb29b00dc6871640c2e67e1b4b3162d050253e195536e02902cb89a
 SHA512 
5ce46e6cf167b2ee526e92642e65d1e715f443750b4c8b12d0c449ad460afd0280be920bcde0653f478eb52ab9db035a35ccb6908460bf425e85d7d0aa3f1799

diff --git a/dev-python/anyio/anyio-2.0.2.ebuild 
b/dev-python/anyio/anyio-2.0.2.ebuild
new file mode 100644
index ..f9cf5b07
--- /dev/null
+++ b/dev-python/anyio/anyio-2.0.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_7 )
+
+DOCBUILDER="sphinx"
+DOCDIR="${S}/docs"
+DOCDEPEND="
+   dev-python/anyio
+   >=dev-python/sphinx-autodoc-typehints-1.2.0
+   dev-python/sphinx_rtd_theme
+"
+AUTODOC=1
+
+inherit distutils-r1 docs
+
+DESCRIPTION="High level compatibility layer for multiple asynchronous event 
loop implementations"
+HOMEPAGE="
+   https://github.com/agronholm/anyio
+   https://pypi.org/project/anyio
+"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+   >=dev-python/curio-1.4[${PYTHON_USEDEP}]
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.16[${PYTHON_USEDEP}]
+"
+#remember to add 
+#  $(python_gen_cond_dep 'dev-python/typing_extensions[${PYTHON_USEDEP}]' 
python3_7)
+DEPEND="
+   ${RDEPEND}
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-6.0[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   dev-python/uvloop[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   distutils_install_for_testing
+   pytest -vv \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[asyncio] \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[asyncio+uvloop] \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[curio] \
+   --deselect 
tests/test_sockets.py::test_getaddrinfo[trio] \
+   || die
+}
\ No newline at end of file

diff --git a/dev-python/anyio/metadata.xml b/dev-python/anyio/metadata.xml
new file mode 100644
index ..1dcac0ae
--- /dev/null
+++ b/dev-python/anyio/metadata.xml
@@ -0,0 +1,33 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+  
+lssndrbarbi...@gmail.com
+Alessandro Barbieri
+  
+  
+AnyIO is a asynchronous compatibility API that allows applications and 
libraries written against it to run unmodified on asyncio, curio and trio.
+
+It bridges the following functionality:
+
+Task groups
+Cancellation
+Threads
+Signal handling
+Asynchronous file I/O
+Subprocesses
+Inter-task synchronization and communication (locks, conditions, events, 
semaphores, object streams)
+High level networking (TCP, UDP and UNIX sockets)
+You can even use it together with native libraries from your selected backend 
in applications. Doing this in libraries is not advisable however since it 
limits the usefulness of your library.
+
+AnyIO comes with its own pytest plugin which also supports asynchronous 
fixtures. It even works with the popular Hypothesis library.
+  
+  
+agronholm/anyio
+anyio
+
+  alex.gronh...@nextday.fi
+  Alex Grönholm
+
+  
+