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

2024-05-14 Thread Michał Górny
commit: 50c9aa1d85815aa21b07066b1760c1dc60ab15b6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 14 16:15:06 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 14 16:15:06 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50c9aa1d

dev-python/anyio: Enable py3.13

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/anyio-4.3.0-r1.ebuild | 26 +++---
 1 file changed, 23 insertions(+), 3 deletions(-)

diff --git a/dev-python/anyio/anyio-4.3.0-r1.ebuild 
b/dev-python/anyio/anyio-4.3.0-r1.ebuild
index 5636aa635281..b4a410314649 100644
--- a/dev-python/anyio/anyio-4.3.0-r1.ebuild
+++ b/dev-python/anyio/anyio-4.3.0-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_COMPAT=( pypy3 python3_{10..13} )
 
 inherit distutils-r1 pypi
 
@@ -35,8 +35,10 @@ BDEPEND="
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
>=dev-python/psutil-5.9[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.23[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/trio-0.23[${PYTHON_USEDEP}]
+   ' 3.{10..12})
amd64? (
$(python_gen_cond_dep '
>=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
@@ -57,6 +59,24 @@ python_test() {
tests/test_sockets.py::TestTCPListener::test_bind_link_local
)
 
+   local filter=()
+   if ! has_version ">=dev-python/trio-0.23[${PYTHON_USEDEP}]"; then
+   filter+=( -k "not trio" )
+   EPYTEST_DESELECT+=(
+   tests/test_pytest_plugin.py::test_plugin
+   tests/test_pytest_plugin.py::test_autouse_async_fixture
+   
tests/test_pytest_plugin.py::test_cancel_scope_in_asyncgen_fixture
+   )
+   fi
+
+   case ${EPYTHON} in
+   python3.13)
+   EPYTEST_DESELECT+=(
+   
'tests/test_fileio.py::TestPath::test_properties[asyncio]'
+   )
+   ;;
+   esac
+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -m 'not network'
+   epytest -m 'not network' "${filter[@]}"
 }



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

2024-05-05 Thread Sam James
commit: 13420a564969779e3148bb504b970dd56d5a2112
Author: Eli Schwartz  gmail  com>
AuthorDate: Sun May  5 15:24:41 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May  5 19:48:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13420a56

dev-python/anyio: drop exceptiongroup stdlib backport to test dep

It was historically needed for python 3.10 support, as a backport. In
anyio 4.1.0, it was also unconditionally used in the testsuite. Instead
of copying the dep over to the test? USE, the ebuild added it at
runtime...

Fixes: b87901374f7596e6ec81a4bb228b5a1dd831c41e
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 dev-python/anyio/anyio-4.3.0-r1.ebuild | 62 ++
 1 file changed, 62 insertions(+)

diff --git a/dev-python/anyio/anyio-4.3.0-r1.ebuild 
b/dev-python/anyio/anyio-4.3.0-r1.ebuild
new file mode 100644
index ..5636aa635281
--- /dev/null
+++ b/dev-python/anyio/anyio-4.3.0-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
+HOMEPAGE="
+   https://github.com/agronholm/anyio/
+   https://pypi.org/project/anyio/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]
+   >=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+# On amd64, let's get more test coverage by dragging in uvloop, but let's
+# not bother on other arches where uvloop may not be supported.
+BDEPEND="
+   >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
+   test? (
+   >=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/psutil-5.9[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.23[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   amd64? (
+   $(python_gen_cond_dep '
+   >=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
+   ' python3_{10..12})
+   )
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   '>=dev-python/sphinx-rtd-theme-1.2.2' \
+   dev-python/sphinxcontrib-jquery \
+   dev-python/sphinx-autodoc-typehints
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # requires link-local IPv6 interface
+   tests/test_sockets.py::TestTCPListener::test_bind_link_local
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -m 'not network'
+}



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

2024-03-07 Thread Michał Górny
commit: eb73641f5a7ff69cb1329162ea2a9e59c861ad89
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar  7 16:17:44 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar  7 16:17:44 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb73641f

dev-python/anyio: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  1 -
 dev-python/anyio/anyio-4.2.0.ebuild | 61 -
 2 files changed, 62 deletions(-)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 966345215b8c..c0102b74ff06 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,2 +1 @@
-DIST anyio-4.2.0.tar.gz 158770 BLAKE2B 
10ae621872edb27727c8931904c84f41dc18ef0cc4cce1ea18c957d479be24b1a4ffb15d8a9e2b4338663fdbc2a989e5772ba1bd2076f9f0b22f6f5c4feef4bc
 SHA512 
a6f3cbedbfa063a5cf031cd833e6da7a23ee37dbdae8d47ccdfb09c61a73c186267f1a33ba6b4936cac7fb4c970f5488ff1464295e5ffa452952732ac0468d65
 DIST anyio-4.3.0.tar.gz 159642 BLAKE2B 
33b300d1da37137d45b311f8424c022d19518c207c39ec6f8bd3e42432cf1457f2d533eadeaa1e21853ed1b25a4f58818fc595e8588489722846f8a8d72262dc
 SHA512 
26ff552a03b24b63c7c99cffcec61e97289eacba3ad2fc7a3c1dde8cfaffd9a8d621b867429901c12d7cef912d3807db134dbeb9c5ba619921160f6d5df4d02f

diff --git a/dev-python/anyio/anyio-4.2.0.ebuild 
b/dev-python/anyio/anyio-4.2.0.ebuild
deleted file mode 100644
index 4768f8c60a52..
--- a/dev-python/anyio/anyio-4.2.0.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
-HOMEPAGE="
-   https://github.com/agronholm/anyio/
-   https://pypi.org/project/anyio/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]
-   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   >=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}]
-   ' 3.10)
-"
-# On amd64, let's get more test coverage by dragging in uvloop, but let's
-# not bother on other arches where uvloop may not be supported.
-BDEPEND="
-   >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
-   test? (
-   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/psutil-5.9[${PYTHON_USEDEP}]
-   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.23[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   amd64? (
-   $(python_gen_cond_dep '
-   >=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
-   ' python3_{10..12})
-   )
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   '>=dev-python/sphinx-rtd-theme-1.2.2' \
-   dev-python/sphinxcontrib-jquery \
-   dev-python/sphinx-autodoc-typehints
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # requires link-local IPv6 interface
-   tests/test_sockets.py::TestTCPListener::test_bind_link_local
-   )
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -m 'not network'
-}



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

2024-03-07 Thread Michał Górny
commit: b46be072fb902321eec48b63cb831e39b5de748d
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar  7 16:17:28 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar  7 16:17:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b46be072

dev-python/anyio: Stabilize 4.3.0 ALLARCHES, #926382

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/anyio-4.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-4.3.0.ebuild 
b/dev-python/anyio/anyio-4.3.0.ebuild
index 694cd3be7f30..4768f8c60a52 100644
--- a/dev-python/anyio/anyio-4.3.0.ebuild
+++ b/dev-python/anyio/anyio-4.3.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
>=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]



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

2024-02-24 Thread Michał Górny
commit: 37064e9c3aa4078e969c6ce5cdf0c66050f7159d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Feb 24 14:57:52 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Feb 24 15:00:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37064e9c

dev-python/anyio: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  1 -
 dev-python/anyio/anyio-3.7.1.ebuild | 71 -
 2 files changed, 72 deletions(-)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 86302287d830..966345215b8c 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,3 +1,2 @@
-DIST anyio-3.7.1.tar.gz 142927 BLAKE2B 
80a093943fbd23069e9511a83b3eb1e27f2863b11e184709f92cab2dfebc05ea3c291d22be4b1e79d00ae52e10009d5fb2c664730009b40e2b666587538d0ca5
 SHA512 
067bbffa9e0d6ce339a4999a677c857e839aa3bf5a056d841fec8cbd3be17023c9158df907ff66b9a5437a78158bc9bbb3b9ebe30c57ef98660642bc057d7d10
 DIST anyio-4.2.0.tar.gz 158770 BLAKE2B 
10ae621872edb27727c8931904c84f41dc18ef0cc4cce1ea18c957d479be24b1a4ffb15d8a9e2b4338663fdbc2a989e5772ba1bd2076f9f0b22f6f5c4feef4bc
 SHA512 
a6f3cbedbfa063a5cf031cd833e6da7a23ee37dbdae8d47ccdfb09c61a73c186267f1a33ba6b4936cac7fb4c970f5488ff1464295e5ffa452952732ac0468d65
 DIST anyio-4.3.0.tar.gz 159642 BLAKE2B 
33b300d1da37137d45b311f8424c022d19518c207c39ec6f8bd3e42432cf1457f2d533eadeaa1e21853ed1b25a4f58818fc595e8588489722846f8a8d72262dc
 SHA512 
26ff552a03b24b63c7c99cffcec61e97289eacba3ad2fc7a3c1dde8cfaffd9a8d621b867429901c12d7cef912d3807db134dbeb9c5ba619921160f6d5df4d02f

diff --git a/dev-python/anyio/anyio-3.7.1.ebuild 
b/dev-python/anyio/anyio-3.7.1.ebuild
deleted file mode 100644
index 2e61afa1af52..
--- a/dev-python/anyio/anyio-3.7.1.ebuild
+++ /dev/null
@@ -1,71 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
-HOMEPAGE="
-   https://github.com/agronholm/anyio/
-   https://pypi.org/project/anyio/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-
-RDEPEND="
-   $(python_gen_cond_dep '
-   dev-python/exceptiongroup[${PYTHON_USEDEP}]
-   ' 3.{9..10})
-   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-"
-# On amd64, let's get more test coverage by dragging in uvloop, but let's
-# not bother on other arches where uvloop may not be supported.
-BDEPEND="
-   >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
-   test? (
-   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/psutil-5.9[${PYTHON_USEDEP}]
-   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   dev-python/trio[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   amd64? (
-   $(python_gen_cond_dep '
-   >=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
-   ' python3_{10..11})
-   )
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   '>=dev-python/sphinx-rtd-theme-1.2.2' \
-   dev-python/sphinxcontrib-jquery \
-   dev-python/sphinx-autodoc-typehints
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # requires link-local IPv6 interface
-   tests/test_sockets.py::TestTCPListener::test_bind_link_local
-
-   # trio-0.22?
-   
'tests/test_sockets.py::TestTCPStream::test_connection_refused[trio-multi]'
-   'tests/test_taskgroups.py::test_exception_group_children[trio]'
-   'tests/test_taskgroups.py::test_exception_group_host[trio]'
-   'tests/test_taskgroups.py::test_exception_group_filtering[trio]'
-   )
-   if [[ ${EPYTHON} == python3.12 ]]; then
-   EPYTEST_DESELECT+=(
-   tests/test_fileio.py::TestPath::test_properties
-   )
-   fi
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -m 'not network'
-}



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

2024-02-19 Thread Michał Górny
commit: 436922418d2f018de661187ef7b79b103cae438c
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Feb 19 15:06:12 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Feb 19 15:51:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43692241

dev-python/anyio: Bump to 4.3.0

Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 38a4cf7346d0..86302287d830 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,2 +1,3 @@
 DIST anyio-3.7.1.tar.gz 142927 BLAKE2B 
80a093943fbd23069e9511a83b3eb1e27f2863b11e184709f92cab2dfebc05ea3c291d22be4b1e79d00ae52e10009d5fb2c664730009b40e2b666587538d0ca5
 SHA512 
067bbffa9e0d6ce339a4999a677c857e839aa3bf5a056d841fec8cbd3be17023c9158df907ff66b9a5437a78158bc9bbb3b9ebe30c57ef98660642bc057d7d10
 DIST anyio-4.2.0.tar.gz 158770 BLAKE2B 
10ae621872edb27727c8931904c84f41dc18ef0cc4cce1ea18c957d479be24b1a4ffb15d8a9e2b4338663fdbc2a989e5772ba1bd2076f9f0b22f6f5c4feef4bc
 SHA512 
a6f3cbedbfa063a5cf031cd833e6da7a23ee37dbdae8d47ccdfb09c61a73c186267f1a33ba6b4936cac7fb4c970f5488ff1464295e5ffa452952732ac0468d65
+DIST anyio-4.3.0.tar.gz 159642 BLAKE2B 
33b300d1da37137d45b311f8424c022d19518c207c39ec6f8bd3e42432cf1457f2d533eadeaa1e21853ed1b25a4f58818fc595e8588489722846f8a8d72262dc
 SHA512 
26ff552a03b24b63c7c99cffcec61e97289eacba3ad2fc7a3c1dde8cfaffd9a8d621b867429901c12d7cef912d3807db134dbeb9c5ba619921160f6d5df4d02f

diff --git a/dev-python/anyio/anyio-4.3.0.ebuild 
b/dev-python/anyio/anyio-4.3.0.ebuild
new file mode 100644
index ..694cd3be7f30
--- /dev/null
+++ b/dev-python/anyio/anyio-4.3.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
+HOMEPAGE="
+   https://github.com/agronholm/anyio/
+   https://pypi.org/project/anyio/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+# On amd64, let's get more test coverage by dragging in uvloop, but let's
+# not bother on other arches where uvloop may not be supported.
+BDEPEND="
+   >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/psutil-5.9[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.23[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   amd64? (
+   $(python_gen_cond_dep '
+   >=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
+   ' python3_{10..12})
+   )
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   '>=dev-python/sphinx-rtd-theme-1.2.2' \
+   dev-python/sphinxcontrib-jquery \
+   dev-python/sphinx-autodoc-typehints
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # requires link-local IPv6 interface
+   tests/test_sockets.py::TestTCPListener::test_bind_link_local
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -m 'not network'
+}



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

2024-01-06 Thread Michał Górny
commit: 6faf8b8e8d909d6a0a44a1978d80b6d877a8e678
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 09:55:58 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 09:59:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6faf8b8e

dev-python/anyio: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  1 -
 dev-python/anyio/anyio-4.1.0.ebuild | 58 -
 2 files changed, 59 deletions(-)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 2521cc96ca55..38a4cf7346d0 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,3 +1,2 @@
 DIST anyio-3.7.1.tar.gz 142927 BLAKE2B 
80a093943fbd23069e9511a83b3eb1e27f2863b11e184709f92cab2dfebc05ea3c291d22be4b1e79d00ae52e10009d5fb2c664730009b40e2b666587538d0ca5
 SHA512 
067bbffa9e0d6ce339a4999a677c857e839aa3bf5a056d841fec8cbd3be17023c9158df907ff66b9a5437a78158bc9bbb3b9ebe30c57ef98660642bc057d7d10
-DIST anyio-4.1.0.tar.gz 155773 BLAKE2B 
39dae924a28dbe14552259f240d6b63d5d2cccfbbb8efefb4100956764ab0144863d6f71a82c02cf245e12430a7c76f187163d9c4aa1b3af291e932efac0e23d
 SHA512 
073b2c2cf92b3c1d3d5588a2ea966d82c793559702b64ab60ace539cfa2c33cf24c48ed06f0297ec3e0cca9b1ead59a995f7f59d2b3f2d75e43bdb16f927bea7
 DIST anyio-4.2.0.tar.gz 158770 BLAKE2B 
10ae621872edb27727c8931904c84f41dc18ef0cc4cce1ea18c957d479be24b1a4ffb15d8a9e2b4338663fdbc2a989e5772ba1bd2076f9f0b22f6f5c4feef4bc
 SHA512 
a6f3cbedbfa063a5cf031cd833e6da7a23ee37dbdae8d47ccdfb09c61a73c186267f1a33ba6b4936cac7fb4c970f5488ff1464295e5ffa452952732ac0468d65

diff --git a/dev-python/anyio/anyio-4.1.0.ebuild 
b/dev-python/anyio/anyio-4.1.0.ebuild
deleted file mode 100644
index 1b2bdd747b28..
--- a/dev-python/anyio/anyio-4.1.0.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
-HOMEPAGE="
-   https://github.com/agronholm/anyio/
-   https://pypi.org/project/anyio/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]
-   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-"
-# On amd64, let's get more test coverage by dragging in uvloop, but let's
-# not bother on other arches where uvloop may not be supported.
-BDEPEND="
-   >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
-   test? (
-   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/psutil-5.9[${PYTHON_USEDEP}]
-   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.23[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   amd64? (
-   $(python_gen_cond_dep '
-   >=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
-   ' python3_{10..12})
-   )
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   '>=dev-python/sphinx-rtd-theme-1.2.2' \
-   dev-python/sphinxcontrib-jquery \
-   dev-python/sphinx-autodoc-typehints
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # requires link-local IPv6 interface
-   tests/test_sockets.py::TestTCPListener::test_bind_link_local
-   )
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -m 'not network'
-}



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

2024-01-06 Thread Michał Górny
commit: 238159abd41a137bdca56f44b53c0a4ed319752f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jan  6 09:54:16 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jan  6 09:54:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=238159ab

dev-python/anyio: Stabilize 4.2.0 ALLARCHES, #921459

Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-python/anyio/anyio-4.2.0.ebuild 
b/dev-python/anyio/anyio-4.2.0.ebuild
index 340e1ed5c7c2..4768f8c60a52 100644
--- a/dev-python/anyio/anyio-4.2.0.ebuild
+++ b/dev-python/anyio/anyio-4.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -16,7 +16,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
>=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]



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

2023-12-16 Thread Michał Górny
commit: 673a96cc0837481740ac6c75aa3103f611b46268
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 17 06:17:03 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 17 06:55:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=673a96cc

dev-python/anyio: Bump to 4.2.0

Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 573d793b88db..2521cc96ca55 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,2 +1,3 @@
 DIST anyio-3.7.1.tar.gz 142927 BLAKE2B 
80a093943fbd23069e9511a83b3eb1e27f2863b11e184709f92cab2dfebc05ea3c291d22be4b1e79d00ae52e10009d5fb2c664730009b40e2b666587538d0ca5
 SHA512 
067bbffa9e0d6ce339a4999a677c857e839aa3bf5a056d841fec8cbd3be17023c9158df907ff66b9a5437a78158bc9bbb3b9ebe30c57ef98660642bc057d7d10
 DIST anyio-4.1.0.tar.gz 155773 BLAKE2B 
39dae924a28dbe14552259f240d6b63d5d2cccfbbb8efefb4100956764ab0144863d6f71a82c02cf245e12430a7c76f187163d9c4aa1b3af291e932efac0e23d
 SHA512 
073b2c2cf92b3c1d3d5588a2ea966d82c793559702b64ab60ace539cfa2c33cf24c48ed06f0297ec3e0cca9b1ead59a995f7f59d2b3f2d75e43bdb16f927bea7
+DIST anyio-4.2.0.tar.gz 158770 BLAKE2B 
10ae621872edb27727c8931904c84f41dc18ef0cc4cce1ea18c957d479be24b1a4ffb15d8a9e2b4338663fdbc2a989e5772ba1bd2076f9f0b22f6f5c4feef4bc
 SHA512 
a6f3cbedbfa063a5cf031cd833e6da7a23ee37dbdae8d47ccdfb09c61a73c186267f1a33ba6b4936cac7fb4c970f5488ff1464295e5ffa452952732ac0468d65

diff --git a/dev-python/anyio/anyio-4.2.0.ebuild 
b/dev-python/anyio/anyio-4.2.0.ebuild
new file mode 100644
index ..340e1ed5c7c2
--- /dev/null
+++ b/dev-python/anyio/anyio-4.2.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
+HOMEPAGE="
+   https://github.com/agronholm/anyio/
+   https://pypi.org/project/anyio/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/typing-extensions-4.1[${PYTHON_USEDEP}]
+   ' 3.10)
+"
+# On amd64, let's get more test coverage by dragging in uvloop, but let's
+# not bother on other arches where uvloop may not be supported.
+BDEPEND="
+   >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/psutil-5.9[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.23[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   amd64? (
+   $(python_gen_cond_dep '
+   >=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
+   ' python3_{10..12})
+   )
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   '>=dev-python/sphinx-rtd-theme-1.2.2' \
+   dev-python/sphinxcontrib-jquery \
+   dev-python/sphinx-autodoc-typehints
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # requires link-local IPv6 interface
+   tests/test_sockets.py::TestTCPListener::test_bind_link_local
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -m 'not network'
+}



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

2023-12-09 Thread Michał Górny
commit: bcb087e97b4685373080b6bb6d37b90bbd502f57
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 14:23:35 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 14:23:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bcb087e9

dev-python/anyio: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  1 -
 dev-python/anyio/anyio-4.0.0.ebuild | 60 -
 2 files changed, 61 deletions(-)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 2d9b32ed64b9..573d793b88db 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,3 +1,2 @@
 DIST anyio-3.7.1.tar.gz 142927 BLAKE2B 
80a093943fbd23069e9511a83b3eb1e27f2863b11e184709f92cab2dfebc05ea3c291d22be4b1e79d00ae52e10009d5fb2c664730009b40e2b666587538d0ca5
 SHA512 
067bbffa9e0d6ce339a4999a677c857e839aa3bf5a056d841fec8cbd3be17023c9158df907ff66b9a5437a78158bc9bbb3b9ebe30c57ef98660642bc057d7d10
-DIST anyio-4.0.0.tar.gz 153297 BLAKE2B 
680c3472525a777dc2af63241ef1b6f90bcc2224d944fc04aef519d0d97bb5845c7b3faddb116b20cfb1a61303bcf91290b1f2544a3cfcb08f3488a70b275c8a
 SHA512 
b0ec5aa912c973206d8677a6aba25957cd669dfe890ee7d39af064f1620f9a5103a39bd6d35f4ea680b86d13964daf1e982ac6873bf5903eeaaa6e74ea974948
 DIST anyio-4.1.0.tar.gz 155773 BLAKE2B 
39dae924a28dbe14552259f240d6b63d5d2cccfbbb8efefb4100956764ab0144863d6f71a82c02cf245e12430a7c76f187163d9c4aa1b3af291e932efac0e23d
 SHA512 
073b2c2cf92b3c1d3d5588a2ea966d82c793559702b64ab60ace539cfa2c33cf24c48ed06f0297ec3e0cca9b1ead59a995f7f59d2b3f2d75e43bdb16f927bea7

diff --git a/dev-python/anyio/anyio-4.0.0.ebuild 
b/dev-python/anyio/anyio-4.0.0.ebuild
deleted file mode 100644
index 43fdd81039a2..
--- a/dev-python/anyio/anyio-4.0.0.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
-HOMEPAGE="
-   https://github.com/agronholm/anyio/
-   https://pypi.org/project/anyio/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-
-RDEPEND="
-   $(python_gen_cond_dep '
-   >=dev-python/exceptiongroup-1.0.2[${PYTHON_USEDEP}]
-   ' 3.10)
-   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-"
-# On amd64, let's get more test coverage by dragging in uvloop, but let's
-# not bother on other arches where uvloop may not be supported.
-BDEPEND="
-   >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
-   test? (
-   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/psutil-5.9[${PYTHON_USEDEP}]
-   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.22[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   amd64? (
-   $(python_gen_cond_dep '
-   >=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
-   ' python3_{10..12})
-   )
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   '>=dev-python/sphinx-rtd-theme-1.2.2' \
-   dev-python/sphinxcontrib-jquery \
-   dev-python/sphinx-autodoc-typehints
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # requires link-local IPv6 interface
-   tests/test_sockets.py::TestTCPListener::test_bind_link_local
-   )
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -m 'not network'
-}



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

2023-12-09 Thread Michał Górny
commit: ad3a32b8a451635bb28d8ace64c7369c61a9ab4a
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec  9 14:22:42 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec  9 14:22:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad3a32b8

dev-python/anyio: Stabilize 4.1.0 ALLARCHES, #919513

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/anyio-4.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-4.1.0.ebuild 
b/dev-python/anyio/anyio-4.1.0.ebuild
index 3de71092b6fe..1b2bdd747b28 100644
--- a/dev-python/anyio/anyio-4.1.0.ebuild
+++ b/dev-python/anyio/anyio-4.1.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
>=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]



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

2023-11-22 Thread Michał Górny
commit: b87901374f7596e6ec81a4bb228b5a1dd831c41e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Nov 23 03:51:01 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Nov 23 04:03:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8790137

dev-python/anyio: Bump to 4.1.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  1 +
 dev-python/anyio/anyio-4.1.0.ebuild | 58 +
 2 files changed, 59 insertions(+)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 50ca2f4b7083..2d9b32ed64b9 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,2 +1,3 @@
 DIST anyio-3.7.1.tar.gz 142927 BLAKE2B 
80a093943fbd23069e9511a83b3eb1e27f2863b11e184709f92cab2dfebc05ea3c291d22be4b1e79d00ae52e10009d5fb2c664730009b40e2b666587538d0ca5
 SHA512 
067bbffa9e0d6ce339a4999a677c857e839aa3bf5a056d841fec8cbd3be17023c9158df907ff66b9a5437a78158bc9bbb3b9ebe30c57ef98660642bc057d7d10
 DIST anyio-4.0.0.tar.gz 153297 BLAKE2B 
680c3472525a777dc2af63241ef1b6f90bcc2224d944fc04aef519d0d97bb5845c7b3faddb116b20cfb1a61303bcf91290b1f2544a3cfcb08f3488a70b275c8a
 SHA512 
b0ec5aa912c973206d8677a6aba25957cd669dfe890ee7d39af064f1620f9a5103a39bd6d35f4ea680b86d13964daf1e982ac6873bf5903eeaaa6e74ea974948
+DIST anyio-4.1.0.tar.gz 155773 BLAKE2B 
39dae924a28dbe14552259f240d6b63d5d2cccfbbb8efefb4100956764ab0144863d6f71a82c02cf245e12430a7c76f187163d9c4aa1b3af291e932efac0e23d
 SHA512 
073b2c2cf92b3c1d3d5588a2ea966d82c793559702b64ab60ace539cfa2c33cf24c48ed06f0297ec3e0cca9b1ead59a995f7f59d2b3f2d75e43bdb16f927bea7

diff --git a/dev-python/anyio/anyio-4.1.0.ebuild 
b/dev-python/anyio/anyio-4.1.0.ebuild
new file mode 100644
index ..3de71092b6fe
--- /dev/null
+++ b/dev-python/anyio/anyio-4.1.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
+HOMEPAGE="
+   https://github.com/agronholm/anyio/
+   https://pypi.org/project/anyio/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/exceptiongroup-1.2.0[${PYTHON_USEDEP}]
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+"
+# On amd64, let's get more test coverage by dragging in uvloop, but let's
+# not bother on other arches where uvloop may not be supported.
+BDEPEND="
+   >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/psutil-5.9[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.23[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   amd64? (
+   $(python_gen_cond_dep '
+   >=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
+   ' python3_{10..12})
+   )
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   '>=dev-python/sphinx-rtd-theme-1.2.2' \
+   dev-python/sphinxcontrib-jquery \
+   dev-python/sphinx-autodoc-typehints
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # requires link-local IPv6 interface
+   tests/test_sockets.py::TestTCPListener::test_bind_link_local
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -m 'not network'
+}



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

2023-10-22 Thread Michał Górny
commit: 688639cb4f6637e216aaa2c2b2d546442033e518
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Oct 23 03:00:08 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Oct 23 03:05:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=688639cb

dev-python/anyio: Test uvloop support on py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/anyio-4.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-4.0.0.ebuild 
b/dev-python/anyio/anyio-4.0.0.ebuild
index 0c8ff324df92..43fdd81039a2 100644
--- a/dev-python/anyio/anyio-4.0.0.ebuild
+++ b/dev-python/anyio/anyio-4.0.0.ebuild
@@ -38,7 +38,7 @@ BDEPEND="
amd64? (
$(python_gen_cond_dep '
>=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
-   ' python3_{10..11})
+   ' python3_{10..12})
)
)
 "



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

2023-10-06 Thread Sam James
commit: 03f1430f4b0dac245cfee3c99947002a0fb089a3
Author: Sam James  gentoo  org>
AuthorDate: Fri Oct  6 14:09:38 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Oct  6 14:09:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03f1430f

dev-python/anyio: Stabilize 4.0.0 ALLARCHES, #915260

Signed-off-by: Sam James  gentoo.org>

 dev-python/anyio/anyio-4.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-4.0.0.ebuild 
b/dev-python/anyio/anyio-4.0.0.ebuild
index 74d0dbd87994..0c8ff324df92 100644
--- a/dev-python/anyio/anyio-4.0.0.ebuild
+++ b/dev-python/anyio/anyio-4.0.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
$(python_gen_cond_dep '



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

2023-08-31 Thread Michał Górny
commit: 455a60a47be46e3286da00998020db6bf6570801
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Aug 31 13:02:51 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 31 13:06:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=455a60a4

dev-python/anyio: Bump to 4.0.0

Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index cd91e403df40..50ca2f4b7083 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1 +1,2 @@
 DIST anyio-3.7.1.tar.gz 142927 BLAKE2B 
80a093943fbd23069e9511a83b3eb1e27f2863b11e184709f92cab2dfebc05ea3c291d22be4b1e79d00ae52e10009d5fb2c664730009b40e2b666587538d0ca5
 SHA512 
067bbffa9e0d6ce339a4999a677c857e839aa3bf5a056d841fec8cbd3be17023c9158df907ff66b9a5437a78158bc9bbb3b9ebe30c57ef98660642bc057d7d10
+DIST anyio-4.0.0.tar.gz 153297 BLAKE2B 
680c3472525a777dc2af63241ef1b6f90bcc2224d944fc04aef519d0d97bb5845c7b3faddb116b20cfb1a61303bcf91290b1f2544a3cfcb08f3488a70b275c8a
 SHA512 
b0ec5aa912c973206d8677a6aba25957cd669dfe890ee7d39af064f1620f9a5103a39bd6d35f4ea680b86d13964daf1e982ac6873bf5903eeaaa6e74ea974948

diff --git a/dev-python/anyio/anyio-4.0.0.ebuild 
b/dev-python/anyio/anyio-4.0.0.ebuild
new file mode 100644
index ..74d0dbd87994
--- /dev/null
+++ b/dev-python/anyio/anyio-4.0.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
+HOMEPAGE="
+   https://github.com/agronholm/anyio/
+   https://pypi.org/project/anyio/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   $(python_gen_cond_dep '
+   >=dev-python/exceptiongroup-1.0.2[${PYTHON_USEDEP}]
+   ' 3.10)
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+"
+# On amd64, let's get more test coverage by dragging in uvloop, but let's
+# not bother on other arches where uvloop may not be supported.
+BDEPEND="
+   >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/psutil-5.9[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.22[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   amd64? (
+   $(python_gen_cond_dep '
+   >=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   )
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   '>=dev-python/sphinx-rtd-theme-1.2.2' \
+   dev-python/sphinxcontrib-jquery \
+   dev-python/sphinx-autodoc-typehints
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # requires link-local IPv6 interface
+   tests/test_sockets.py::TestTCPListener::test_bind_link_local
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -m 'not network'
+}



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

2023-08-05 Thread Michał Górny
commit: 19fa91290561087e106dccda54c48e50868cd23c
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Aug  5 15:21:01 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Aug  5 15:21:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19fa9129

dev-python/anyio: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  1 -
 dev-python/anyio/anyio-3.7.0.ebuild | 70 -
 2 files changed, 71 deletions(-)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 5d7796fd8bef..cd91e403df40 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,2 +1 @@
-DIST anyio-3.7.0.tar.gz 142737 BLAKE2B 
f27b6c854f8861c760a922542471b5d7714cd54da0fa999a6efc8e394b49e538e7689147834a4076e1970932416fabe820923c2155048d943eee697454771c8f
 SHA512 
0793012dc364d2bb27ebae8a23f275ecd24d444de750fbebcb72e70ca465a3be9c69938543e1a3c686abfff3ed9036974b38e3886fb24a110a9ef307a82d3f0b
 DIST anyio-3.7.1.tar.gz 142927 BLAKE2B 
80a093943fbd23069e9511a83b3eb1e27f2863b11e184709f92cab2dfebc05ea3c291d22be4b1e79d00ae52e10009d5fb2c664730009b40e2b666587538d0ca5
 SHA512 
067bbffa9e0d6ce339a4999a677c857e839aa3bf5a056d841fec8cbd3be17023c9158df907ff66b9a5437a78158bc9bbb3b9ebe30c57ef98660642bc057d7d10

diff --git a/dev-python/anyio/anyio-3.7.0.ebuild 
b/dev-python/anyio/anyio-3.7.0.ebuild
deleted file mode 100644
index 83b3635bd1a7..
--- a/dev-python/anyio/anyio-3.7.0.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..12} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
-HOMEPAGE="
-   https://github.com/agronholm/anyio/
-   https://pypi.org/project/anyio/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-
-RDEPEND="
-   $(python_gen_cond_dep '
-   dev-python/exceptiongroup[${PYTHON_USEDEP}]
-   ' 3.{9..10})
-   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-"
-# On amd64, let's get more test coverage by dragging in uvloop, but let's
-# not bother on other arches where uvloop may not be supported.
-BDEPEND="
-   >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
-   test? (
-   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/psutil-5.9[${PYTHON_USEDEP}]
-   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   dev-python/trio[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   amd64? (
-   $(python_gen_cond_dep '
-   >=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
-   ' python3_{10..11})
-   )
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   dev-python/sphinx-rtd-theme \
-   dev-python/sphinx-autodoc-typehints
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # requires link-local IPv6 interface
-   tests/test_sockets.py::TestTCPListener::test_bind_link_local
-
-   # trio-0.22?
-   
'tests/test_sockets.py::TestTCPStream::test_connection_refused[trio-multi]'
-   'tests/test_taskgroups.py::test_exception_group_children[trio]'
-   'tests/test_taskgroups.py::test_exception_group_host[trio]'
-   'tests/test_taskgroups.py::test_exception_group_filtering[trio]'
-   )
-   if [[ ${EPYTHON} == python3.12 ]]; then
-   EPYTEST_DESELECT+=(
-   tests/test_fileio.py::TestPath::test_properties
-   )
-   fi
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -m 'not network'
-}



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

2023-08-05 Thread Arthur Zamarin
commit: 6feb68277948465d6a1a8d8860023ca15ed80610
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Aug  5 15:11:28 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Aug  5 15:11:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6feb6827

dev-python/anyio: Stabilize 3.7.1 ALLARCHES, #911761

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/anyio/anyio-3.7.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.7.1.ebuild 
b/dev-python/anyio/anyio-3.7.1.ebuild
index f998d1018fa3..2e61afa1af52 100644
--- a/dev-python/anyio/anyio-3.7.1.ebuild
+++ b/dev-python/anyio/anyio-3.7.1.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
$(python_gen_cond_dep '



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

2023-07-05 Thread Michał Górny
commit: 23477c7e709fe13f3b60c82b624a38f85e2c5305
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jul  6 03:13:11 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul  6 03:30:58 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23477c7e

dev-python/anyio: Bump to 3.7.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  1 +
 dev-python/anyio/anyio-3.7.1.ebuild | 71 +
 2 files changed, 72 insertions(+)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index efd2d5127844..5d7796fd8bef 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1 +1,2 @@
 DIST anyio-3.7.0.tar.gz 142737 BLAKE2B 
f27b6c854f8861c760a922542471b5d7714cd54da0fa999a6efc8e394b49e538e7689147834a4076e1970932416fabe820923c2155048d943eee697454771c8f
 SHA512 
0793012dc364d2bb27ebae8a23f275ecd24d444de750fbebcb72e70ca465a3be9c69938543e1a3c686abfff3ed9036974b38e3886fb24a110a9ef307a82d3f0b
+DIST anyio-3.7.1.tar.gz 142927 BLAKE2B 
80a093943fbd23069e9511a83b3eb1e27f2863b11e184709f92cab2dfebc05ea3c291d22be4b1e79d00ae52e10009d5fb2c664730009b40e2b666587538d0ca5
 SHA512 
067bbffa9e0d6ce339a4999a677c857e839aa3bf5a056d841fec8cbd3be17023c9158df907ff66b9a5437a78158bc9bbb3b9ebe30c57ef98660642bc057d7d10

diff --git a/dev-python/anyio/anyio-3.7.1.ebuild 
b/dev-python/anyio/anyio-3.7.1.ebuild
new file mode 100644
index ..f998d1018fa3
--- /dev/null
+++ b/dev-python/anyio/anyio-3.7.1.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
+HOMEPAGE="
+   https://github.com/agronholm/anyio/
+   https://pypi.org/project/anyio/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   $(python_gen_cond_dep '
+   dev-python/exceptiongroup[${PYTHON_USEDEP}]
+   ' 3.{9..10})
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+"
+# On amd64, let's get more test coverage by dragging in uvloop, but let's
+# not bother on other arches where uvloop may not be supported.
+BDEPEND="
+   >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/psutil-5.9[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   dev-python/trio[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   amd64? (
+   $(python_gen_cond_dep '
+   >=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   )
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   '>=dev-python/sphinx-rtd-theme-1.2.2' \
+   dev-python/sphinxcontrib-jquery \
+   dev-python/sphinx-autodoc-typehints
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # requires link-local IPv6 interface
+   tests/test_sockets.py::TestTCPListener::test_bind_link_local
+
+   # trio-0.22?
+   
'tests/test_sockets.py::TestTCPStream::test_connection_refused[trio-multi]'
+   'tests/test_taskgroups.py::test_exception_group_children[trio]'
+   'tests/test_taskgroups.py::test_exception_group_host[trio]'
+   'tests/test_taskgroups.py::test_exception_group_filtering[trio]'
+   )
+   if [[ ${EPYTHON} == python3.12 ]]; then
+   EPYTEST_DESELECT+=(
+   tests/test_fileio.py::TestPath::test_properties
+   )
+   fi
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -m 'not network'
+}



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

2023-07-05 Thread Michał Górny
commit: 4617170135cb38db2260ad4ab2abe195f4d3a833
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jul  5 08:00:37 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jul  5 08:03:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46171701

dev-python/anyio: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  1 -
 dev-python/anyio/anyio-3.6.1.ebuild | 49 -
 2 files changed, 50 deletions(-)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 0b944f077a2c..efd2d5127844 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,2 +1 @@
-DIST anyio-3.6.1.tar.gz 140240 BLAKE2B 
391892591bee88df8fd5c099b6670af8e01af0610f7659e2f2e717c2dfd94d6e5212260acf3acca6c8b149cab6781044fb665d579a63b322332bf87767374858
 SHA512 
99ae55eada2df971405a1592afd980ac964c80a4502465a2016423182409691d0c943280a3a7448efc78036e481614451585238b62ebea924709f0ba888f7604
 DIST anyio-3.7.0.tar.gz 142737 BLAKE2B 
f27b6c854f8861c760a922542471b5d7714cd54da0fa999a6efc8e394b49e538e7689147834a4076e1970932416fabe820923c2155048d943eee697454771c8f
 SHA512 
0793012dc364d2bb27ebae8a23f275ecd24d444de750fbebcb72e70ca465a3be9c69938543e1a3c686abfff3ed9036974b38e3886fb24a110a9ef307a82d3f0b

diff --git a/dev-python/anyio/anyio-3.6.1.ebuild 
b/dev-python/anyio/anyio-3.6.1.ebuild
deleted file mode 100644
index c202d582aee2..
--- a/dev-python/anyio/anyio-3.6.1.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{9..11} )
-
-inherit distutils-r1 pypi
-
-DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
-HOMEPAGE="
-   https://github.com/agronholm/anyio/
-   https://pypi.org/project/anyio/
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-"
-# On amd64, let's get more test coverage by dragging in uvloop, but let's
-# not bother on other arches where uvloop may not be supported.
-BDEPEND="
-   test? (
-   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   dev-python/trio[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   amd64? (
-   $(python_gen_cond_dep '
-   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
-   ' python3_{8..10})
-   )
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   dev-python/sphinx-rtd-theme \
-   dev-python/sphinx-autodoc-typehints
-
-python_test() {
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -m 'not network'
-}



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

2023-07-04 Thread Arthur Zamarin
commit: a56428fe236f10e39be42bc757cf9d471870e58c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Jul  5 05:55:56 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Jul  5 05:55:56 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a56428fe

dev-python/anyio: Stabilize 3.7.0 ALLARCHES, #909700

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/anyio/anyio-3.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.7.0.ebuild 
b/dev-python/anyio/anyio-3.7.0.ebuild
index ee80bbd44238..83b3635bd1a7 100644
--- a/dev-python/anyio/anyio-3.7.0.ebuild
+++ b/dev-python/anyio/anyio-3.7.0.ebuild
@@ -16,7 +16,7 @@ HOMEPAGE="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
$(python_gen_cond_dep '



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

2023-05-30 Thread Michał Górny
commit: 0e562452fae2c7e25ffedf16371f5c0dc2b49d6d
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 30 16:16:09 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 30 16:18:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e562452

dev-python/anyio: Enable py3.12

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/anyio-3.7.0.ebuild | 7 ++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.7.0.ebuild 
b/dev-python/anyio/anyio-3.7.0.ebuild
index 3d11a37fec4e..ee80bbd44238 100644
--- a/dev-python/anyio/anyio-3.7.0.ebuild
+++ b/dev-python/anyio/anyio-3.7.0.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{10..11} )
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
 
 inherit distutils-r1 pypi
 
@@ -59,6 +59,11 @@ python_test() {
'tests/test_taskgroups.py::test_exception_group_host[trio]'
'tests/test_taskgroups.py::test_exception_group_filtering[trio]'
)
+   if [[ ${EPYTHON} == python3.12 ]]; then
+   EPYTEST_DESELECT+=(
+   tests/test_fileio.py::TestPath::test_properties
+   )
+   fi
 
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m 'not network'



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

2023-05-27 Thread Michał Górny
commit: 4197bbc4d6e1e880a7179ead48ebf207dfaa735a
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May 28 02:57:22 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 28 03:14:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4197bbc4

dev-python/anyio: Bump to 3.7.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  1 +
 dev-python/anyio/anyio-3.7.0.ebuild | 65 +
 2 files changed, 66 insertions(+)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index b9e96550b640..0b944f077a2c 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1 +1,2 @@
 DIST anyio-3.6.1.tar.gz 140240 BLAKE2B 
391892591bee88df8fd5c099b6670af8e01af0610f7659e2f2e717c2dfd94d6e5212260acf3acca6c8b149cab6781044fb665d579a63b322332bf87767374858
 SHA512 
99ae55eada2df971405a1592afd980ac964c80a4502465a2016423182409691d0c943280a3a7448efc78036e481614451585238b62ebea924709f0ba888f7604
+DIST anyio-3.7.0.tar.gz 142737 BLAKE2B 
f27b6c854f8861c760a922542471b5d7714cd54da0fa999a6efc8e394b49e538e7689147834a4076e1970932416fabe820923c2155048d943eee697454771c8f
 SHA512 
0793012dc364d2bb27ebae8a23f275ecd24d444de750fbebcb72e70ca465a3be9c69938543e1a3c686abfff3ed9036974b38e3886fb24a110a9ef307a82d3f0b

diff --git a/dev-python/anyio/anyio-3.7.0.ebuild 
b/dev-python/anyio/anyio-3.7.0.ebuild
new file mode 100644
index ..3d11a37fec4e
--- /dev/null
+++ b/dev-python/anyio/anyio-3.7.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..11} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
+HOMEPAGE="
+   https://github.com/agronholm/anyio/
+   https://pypi.org/project/anyio/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   $(python_gen_cond_dep '
+   dev-python/exceptiongroup[${PYTHON_USEDEP}]
+   ' 3.{9..10})
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+"
+# On amd64, let's get more test coverage by dragging in uvloop, but let's
+# not bother on other arches where uvloop may not be supported.
+BDEPEND="
+   >=dev-python/setuptools-scm-6.4[${PYTHON_USEDEP}]
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/psutil-5.9[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   dev-python/trio[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   amd64? (
+   $(python_gen_cond_dep '
+   >=dev-python/uvloop-0.17[${PYTHON_USEDEP}]
+   ' python3_{10..11})
+   )
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   dev-python/sphinx-rtd-theme \
+   dev-python/sphinx-autodoc-typehints
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # requires link-local IPv6 interface
+   tests/test_sockets.py::TestTCPListener::test_bind_link_local
+
+   # trio-0.22?
+   
'tests/test_sockets.py::TestTCPStream::test_connection_refused[trio-multi]'
+   'tests/test_taskgroups.py::test_exception_group_children[trio]'
+   'tests/test_taskgroups.py::test_exception_group_host[trio]'
+   'tests/test_taskgroups.py::test_exception_group_filtering[trio]'
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -m 'not network'
+}



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

2023-03-15 Thread Michał Górny
commit: b008243383f1ef01076fb345e7a2ab84dd9205b7
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Mar 15 17:44:33 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 16 03:42:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0082433

dev-python/anyio: Use pypi.eclass

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/anyio-3.6.1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dev-python/anyio/anyio-3.6.1.ebuild 
b/dev-python/anyio/anyio-3.6.1.ebuild
index 519f0c7b939d..c202d582aee2 100644
--- a/dev-python/anyio/anyio-3.6.1.ebuild
+++ b/dev-python/anyio/anyio-3.6.1.ebuild
@@ -6,14 +6,13 @@ EAPI=8
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( pypy3 python3_{9..11} )
 
-inherit distutils-r1
+inherit distutils-r1 pypi
 
 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"



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

2023-02-12 Thread Matt Turner
commit: c83adff8ccedb4b8e2de3320f96d51c0138ee1de
Author: Matt Turner  gentoo  org>
AuthorDate: Mon Feb 13 03:22:14 2023 +
Commit: Matt Turner  gentoo  org>
CommitDate: Mon Feb 13 03:22:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c83adff8

dev-python/anyio: Keyword 3.6.1 alpha, #837098

Signed-off-by: Matt Turner  gentoo.org>

 dev-python/anyio/anyio-3.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.6.1.ebuild 
b/dev-python/anyio/anyio-3.6.1.ebuild
index 2fc4fc8df8c5..cac19fef4ecf 100644
--- a/dev-python/anyio/anyio-3.6.1.ebuild
+++ b/dev-python/anyio/anyio-3.6.1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc 
x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/anyio/, dev-python/anyio/files/

2022-06-16 Thread Michał Górny
commit: 2d17a8bfc2a05d812544da7352a59124f40f831a
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 16 09:15:10 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 16 09:18:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d17a8bf

dev-python/anyio: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest |  1 -
 dev-python/anyio/anyio-3.5.0-r1.ebuild| 55 
 dev-python/anyio/files/anyio-3.5.0-pytest-7.patch | 78 ---
 3 files changed, 134 deletions(-)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index f5e33716864f..b9e96550b640 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,2 +1 @@
-DIST anyio-3.5.0.tar.gz 136934 BLAKE2B 
422d604c23658844467926f42c09895e54debfd3ddf2f7fa561eccae0c9cbc225f51d663cb9f98a2455736ad7a81eb4ae40a6f3ad66f3d2f0b02d0a5157203e0
 SHA512 
b91124c95d194eb7e4542405a973895d21562a2636d9600d528465da52536d1ffedbf5a6fc3ea5b1ff3e83e7dca2b42f090bb2ff6b077e32f5a2c314f07d3206
 DIST anyio-3.6.1.tar.gz 140240 BLAKE2B 
391892591bee88df8fd5c099b6670af8e01af0610f7659e2f2e717c2dfd94d6e5212260acf3acca6c8b149cab6781044fb665d579a63b322332bf87767374858
 SHA512 
99ae55eada2df971405a1592afd980ac964c80a4502465a2016423182409691d0c943280a3a7448efc78036e481614451585238b62ebea924709f0ba888f7604

diff --git a/dev-python/anyio/anyio-3.5.0-r1.ebuild 
b/dev-python/anyio/anyio-3.5.0-r1.ebuild
deleted file mode 100644
index a90f9a7309cb..
--- a/dev-python/anyio/anyio-3.5.0-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{8..10} )
-
-inherit distutils-r1
-
-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 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc 
x86"
-
-RDEPEND="
-   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-"
-# On amd64, let's get more test coverage by dragging in uvloop, but let's
-# not bother on other arches where uvloop may not be supported.
-BDEPEND="
-   test? (
-   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-7[${PYTHON_USEDEP}]
-   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   dev-python/trio[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   amd64? (
-   $(python_gen_cond_dep '
-   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
-   ' 'python*')
-   )
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs \
-   dev-python/sphinx_rtd_theme \
-   dev-python/sphinx-autodoc-typehints
-
-PATCHES=(
-   "${FILESDIR}"/${P}-pytest-7.patch
-)
-
-python_test() {
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -m 'not network'
-}

diff --git a/dev-python/anyio/files/anyio-3.5.0-pytest-7.patch 
b/dev-python/anyio/files/anyio-3.5.0-pytest-7.patch
deleted file mode 100644
index 858404632959..
--- a/dev-python/anyio/files/anyio-3.5.0-pytest-7.patch
+++ /dev/null
@@ -1,78 +0,0 @@
-From fed7cc4f95e196f68251bcb9253da3b143ea8e7e Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= 
-Date: Mon, 7 Feb 2022 00:16:18 +0200
-Subject: [PATCH] Upgraded pytest to 7.0
-

- setup.cfg   |  2 +-
- tests/test_pytest_plugin.py | 14 +++---
- 2 files changed, 8 insertions(+), 8 deletions(-)
-
-diff --git a/tests/test_pytest_plugin.py b/tests/test_pytest_plugin.py
-index 4255702..f3b0e0c 100644
 a/tests/test_pytest_plugin.py
-+++ b/tests/test_pytest_plugin.py
-@@ -1,5 +1,5 @@
- import pytest
--from _pytest.pytester import Testdir
-+from _pytest.pytester import Pytester
- 
- from anyio import get_all_backends
- 
-@@ -9,7 +9,7 @@ pytestmark = pytest.mark.filterwarnings(
- pytest_args = '-v', '-p', 'anyio', '-p', 'no:asyncio'
- 
- 
--def test_plugin(testdir: Testdir) -> None:
-+def test_plugin(testdir: Pytester) -> None:
- testdir.makeconftest(
- """
- import sniffio
-@@ -67,7 +67,7 @@ def test_plugin(testdir: Testdir) -> None:
- result.assert_outcomes(passed=3 * len(get_all_backends()), 
skipped=len(get_all_backends()))
- 
- 
--def test_asyncio(testdir: Testdir) -> None:
-+def test_asyncio(testdir: Pytester) -> None:
- testdir.makeconftest(
- """
- import asyncio
-@@ -140,7 +140,7 @@ def test_asyncio(testdir: Testdir) -> None:
- result.assert_outcomes(passed=2, failed=1, errors=2)
- 
- 
--def 

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

2022-06-16 Thread Jakov Smolić
commit: a5bcbea0bb720d5e4576cf71033a5c9fe5f18dd1
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Jun 16 08:59:16 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Jun 16 08:59:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5bcbea0

dev-python/anyio: Stabilize 3.6.1 ALLARCHES, #852329

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/anyio/anyio-3.6.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.6.1.ebuild 
b/dev-python/anyio/anyio-3.6.1.ebuild
index b386087da308..1b5b39a19de0 100644
--- a/dev-python/anyio/anyio-3.6.1.ebuild
+++ b/dev-python/anyio/anyio-3.6.1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc 
x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2022-06-04 Thread Michał Górny
commit: 0af90d3ceb72e96391cd92603011d9f892eeb71f
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun  4 17:35:27 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun  4 17:39:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0af90d3c

dev-python/anyio: Add python@ as co-maint.

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/anyio/metadata.xml b/dev-python/anyio/metadata.xml
index 76de23035d76..bfd9e087677c 100644
--- a/dev-python/anyio/metadata.xml
+++ b/dev-python/anyio/metadata.xml
@@ -5,6 +5,10 @@
s...@gentoo.org
Gentoo Science Project

+   
+   pyt...@gentoo.org
+   Python
+   


 AnyIO is a asynchronous compatibility API that allows applications and 
libraries written against it to run unmodified on asyncio, curio and trio.



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

2022-05-15 Thread Michał Górny
commit: 348240bdcab6c80503255de4702a024122dd4ca7
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May 15 07:22:58 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 15 07:22:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=348240bd

dev-python/anyio: Enable py3.11

Signed-off-by: Michał Górny  gentoo.org>

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

diff --git a/dev-python/anyio/anyio-3.6.1.ebuild 
b/dev-python/anyio/anyio-3.6.1.ebuild
index b03e59bcfe1e..b386087da308 100644
--- a/dev-python/anyio/anyio-3.6.1.ebuild
+++ b/dev-python/anyio/anyio-3.6.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( pypy3 python3_{8..10} )
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
 
 inherit distutils-r1
 
@@ -34,7 +34,7 @@ BDEPEND="
amd64? (
$(python_gen_cond_dep '
>=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
-   ' 'python*')
+   ' python3_{8..10})
)
)
 "



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

2022-05-14 Thread Michał Górny
commit: 31f9238402839026c16ceb6df9985f27b55ce191
Author: Michał Górny  gentoo  org>
AuthorDate: Sat May 14 05:55:22 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat May 14 07:28:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31f92384

dev-python/anyio: Bump to 3.6.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  1 +
 dev-python/anyio/anyio-3.6.1.ebuild | 50 +
 2 files changed, 51 insertions(+)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 649b535674dc..f5e33716864f 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1 +1,2 @@
 DIST anyio-3.5.0.tar.gz 136934 BLAKE2B 
422d604c23658844467926f42c09895e54debfd3ddf2f7fa561eccae0c9cbc225f51d663cb9f98a2455736ad7a81eb4ae40a6f3ad66f3d2f0b02d0a5157203e0
 SHA512 
b91124c95d194eb7e4542405a973895d21562a2636d9600d528465da52536d1ffedbf5a6fc3ea5b1ff3e83e7dca2b42f090bb2ff6b077e32f5a2c314f07d3206
+DIST anyio-3.6.1.tar.gz 140240 BLAKE2B 
391892591bee88df8fd5c099b6670af8e01af0610f7659e2f2e717c2dfd94d6e5212260acf3acca6c8b149cab6781044fb665d579a63b322332bf87767374858
 SHA512 
99ae55eada2df971405a1592afd980ac964c80a4502465a2016423182409691d0c943280a3a7448efc78036e481614451585238b62ebea924709f0ba888f7604

diff --git a/dev-python/anyio/anyio-3.6.1.ebuild 
b/dev-python/anyio/anyio-3.6.1.ebuild
new file mode 100644
index ..b03e59bcfe1e
--- /dev/null
+++ b/dev-python/anyio/anyio-3.6.1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
+
+inherit distutils-r1
+
+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 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+"
+# On amd64, let's get more test coverage by dragging in uvloop, but let's
+# not bother on other arches where uvloop may not be supported.
+BDEPEND="
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   dev-python/trio[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   amd64? (
+   $(python_gen_cond_dep '
+   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
+   ' 'python*')
+   )
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+   dev-python/sphinx_rtd_theme \
+   dev-python/sphinx-autodoc-typehints
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -m 'not network'
+}



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

2022-05-11 Thread Jakov Smolić
commit: 9d54f277caee8deff5140e3eb28831922b8de5e0
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed May 11 12:54:34 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed May 11 12:56:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d54f277

dev-python/anyio: Keyword 3.5.0-r1 mips, #837098

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/anyio/anyio-3.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.5.0-r1.ebuild 
b/dev-python/anyio/anyio-3.5.0-r1.ebuild
index daa7927fabda..a90f9a7309cb 100644
--- a/dev-python/anyio/anyio-3.5.0-r1.ebuild
+++ b/dev-python/anyio/anyio-3.5.0-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc 
x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2022-04-30 Thread WANG Xuerui
commit: 8e38f85bd2aa05de85fbfc4b6e2043b599c603b2
Author: WANG Xuerui  gentoo  org>
AuthorDate: Sat Apr 30 11:26:50 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Sun May  1 01:30:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e38f85b

dev-python/anyio: keyword 3.5.0-r1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-python/anyio/anyio-3.5.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.5.0-r1.ebuild 
b/dev-python/anyio/anyio-3.5.0-r1.ebuild
index c9106fe2bdd7..daa7927fabda 100644
--- a/dev-python/anyio/anyio-3.5.0-r1.ebuild
+++ b/dev-python/anyio/anyio-3.5.0-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2022-04-07 Thread Michał Górny
commit: 09b55d586eb768951c7602c4bdf0f768aa6deb0c
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  7 08:48:13 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  7 08:48:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09b55d58

dev-python/anyio: Enable pypy3

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/anyio-3.5.0-r1.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/anyio/anyio-3.5.0-r1.ebuild 
b/dev-python/anyio/anyio-3.5.0-r1.ebuild
index a4781b5431ee..c9106fe2bdd7 100644
--- a/dev-python/anyio/anyio-3.5.0-r1.ebuild
+++ b/dev-python/anyio/anyio-3.5.0-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
 
 inherit distutils-r1
 
@@ -32,7 +32,11 @@ BDEPEND="
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
dev-python/trio[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
-   amd64? ( >=dev-python/uvloop-0.15[${PYTHON_USEDEP}] )
+   amd64? (
+   $(python_gen_cond_dep '
+   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
+   ' 'python*')
+   )
)
 "
 



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

2022-04-07 Thread Michał Górny
commit: f6a71891bb839517faa896aebdb478308f0b90e7
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  7 07:52:49 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  7 07:52:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6a71891

dev-python/anyio: Add test dep on dev-python/trio

Closes: https://bugs.gentoo.org/836987
Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/anyio-3.5.0-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/anyio/anyio-3.5.0-r1.ebuild 
b/dev-python/anyio/anyio-3.5.0-r1.ebuild
index cbbb327c2923..a4781b5431ee 100644
--- a/dev-python/anyio/anyio-3.5.0-r1.ebuild
+++ b/dev-python/anyio/anyio-3.5.0-r1.ebuild
@@ -30,6 +30,7 @@ BDEPEND="
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
>=dev-python/pytest-7[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   dev-python/trio[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
amd64? ( >=dev-python/uvloop-0.15[${PYTHON_USEDEP}] )
)



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

2022-04-06 Thread Michał Górny
commit: 5ea4d5bf4b5770c4ecceb34df73b481e57d9e507
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr  6 19:35:15 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr  6 19:40:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ea4d5bf

dev-python/anyio: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  1 -
 dev-python/anyio/anyio-3.4.0.ebuild | 45 -
 2 files changed, 46 deletions(-)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index d8102ac9e4f7..649b535674dc 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,2 +1 @@
-DIST anyio-3.4.0.tar.gz 135737 BLAKE2B 
6023d051a10a067b8c86576dd80571a64c72a807c56235ecd7bad364b79b10c5b845c6b584c5310db01b3bfdd92deeaf64b855716b9fa817fe2fc590de33ec4c
 SHA512 
276fb5fc243e2c7f80a069f604ef68eeaca923c0df6f533878f9bf2185e846e537a1b9a8f19260a3c9ad3aad70898884316e6783057044a936762f7eb1f1cb9a
 DIST anyio-3.5.0.tar.gz 136934 BLAKE2B 
422d604c23658844467926f42c09895e54debfd3ddf2f7fa561eccae0c9cbc225f51d663cb9f98a2455736ad7a81eb4ae40a6f3ad66f3d2f0b02d0a5157203e0
 SHA512 
b91124c95d194eb7e4542405a973895d21562a2636d9600d528465da52536d1ffedbf5a6fc3ea5b1ff3e83e7dca2b42f090bb2ff6b077e32f5a2c314f07d3206

diff --git a/dev-python/anyio/anyio-3.4.0.ebuild 
b/dev-python/anyio/anyio-3.4.0.ebuild
deleted file mode 100644
index e8baabafef7d..
--- a/dev-python/anyio/anyio-3.4.0.ebuild
+++ /dev/null
@@ -1,45 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-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 arm arm64 hppa ppc ppc64 ~riscv sparc x86"
-
-RDEPEND="
-   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-   test? (
-   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-6.2[${PYTHON_USEDEP}]
-   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests --install pytest
-distutils_enable_sphinx docs \
-   dev-python/sphinx_rtd_theme \
-   dev-python/sphinx-autodoc-typehints
-
-python_test() {
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   distutils_install_for_testing --via-venv
-   epytest -m 'not network'
-}



[gentoo-commits] repo/gentoo:master commit in: dev-python/anyio/, dev-python/anyio/files/

2022-04-06 Thread Michał Górny
commit: 7c1b1e277d01420db29b7fedea9dcb1d3b36fb02
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Apr  6 19:24:56 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Apr  6 19:40:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c1b1e27

dev-python/anyio: Fix tests, PEP 517 build

Closes: https://bugs.gentoo.org/832870
Signed-off-by: Michał Górny  gentoo.org>

 .../{anyio-3.5.0.ebuild => anyio-3.5.0-r1.ebuild}  | 13 ++--
 dev-python/anyio/files/anyio-3.5.0-pytest-7.patch  | 78 ++
 2 files changed, 87 insertions(+), 4 deletions(-)

diff --git a/dev-python/anyio/anyio-3.5.0.ebuild 
b/dev-python/anyio/anyio-3.5.0-r1.ebuild
similarity index 85%
rename from dev-python/anyio/anyio-3.5.0.ebuild
rename to dev-python/anyio/anyio-3.5.0-r1.ebuild
index 5379b452a5e4..cbbb327c2923 100644
--- a/dev-python/anyio/anyio-3.5.0.ebuild
+++ b/dev-python/anyio/anyio-3.5.0-r1.ebuild
@@ -3,12 +3,14 @@
 
 EAPI=8
 
+DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{8..10} )
+
 inherit distutils-r1
 
 DESCRIPTION="Compatibility layer for multiple asynchronous event loop 
implementations"
 HOMEPAGE="
-   https://github.com/agronholm/anyio
+   https://github.com/agronholm/anyio/
https://pypi.org/project/anyio/
 "
 SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
@@ -26,20 +28,23 @@ RDEPEND="
 BDEPEND="
test? (
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-6.2[${PYTHON_USEDEP}]
+   >=dev-python/pytest-7[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
amd64? ( >=dev-python/uvloop-0.15[${PYTHON_USEDEP}] )
)
 "
 
-distutils_enable_tests --install pytest
+distutils_enable_tests pytest
 distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme \
dev-python/sphinx-autodoc-typehints
 
+PATCHES=(
+   "${FILESDIR}"/${P}-pytest-7.patch
+)
+
 python_test() {
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   distutils_install_for_testing --via-venv
epytest -m 'not network'
 }

diff --git a/dev-python/anyio/files/anyio-3.5.0-pytest-7.patch 
b/dev-python/anyio/files/anyio-3.5.0-pytest-7.patch
new file mode 100644
index ..858404632959
--- /dev/null
+++ b/dev-python/anyio/files/anyio-3.5.0-pytest-7.patch
@@ -0,0 +1,78 @@
+From fed7cc4f95e196f68251bcb9253da3b143ea8e7e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Alex=20Gr=C3=B6nholm?= 
+Date: Mon, 7 Feb 2022 00:16:18 +0200
+Subject: [PATCH] Upgraded pytest to 7.0
+
+---
+ setup.cfg   |  2 +-
+ tests/test_pytest_plugin.py | 14 +++---
+ 2 files changed, 8 insertions(+), 8 deletions(-)
+
+diff --git a/tests/test_pytest_plugin.py b/tests/test_pytest_plugin.py
+index 4255702..f3b0e0c 100644
+--- a/tests/test_pytest_plugin.py
 b/tests/test_pytest_plugin.py
+@@ -1,5 +1,5 @@
+ import pytest
+-from _pytest.pytester import Testdir
++from _pytest.pytester import Pytester
+ 
+ from anyio import get_all_backends
+ 
+@@ -9,7 +9,7 @@ pytestmark = pytest.mark.filterwarnings(
+ pytest_args = '-v', '-p', 'anyio', '-p', 'no:asyncio'
+ 
+ 
+-def test_plugin(testdir: Testdir) -> None:
++def test_plugin(testdir: Pytester) -> None:
+ testdir.makeconftest(
+ """
+ import sniffio
+@@ -67,7 +67,7 @@ def test_plugin(testdir: Testdir) -> None:
+ result.assert_outcomes(passed=3 * len(get_all_backends()), 
skipped=len(get_all_backends()))
+ 
+ 
+-def test_asyncio(testdir: Testdir) -> None:
++def test_asyncio(testdir: Pytester) -> None:
+ testdir.makeconftest(
+ """
+ import asyncio
+@@ -140,7 +140,7 @@ def test_asyncio(testdir: Testdir) -> None:
+ result.assert_outcomes(passed=2, failed=1, errors=2)
+ 
+ 
+-def test_autouse_async_fixture(testdir: Testdir) -> None:
++def test_autouse_async_fixture(testdir: Pytester) -> None:
+ testdir.makeconftest(
+ """
+ import pytest
+@@ -177,7 +177,7 @@ def test_autouse_async_fixture(testdir: Testdir) -> None:
+ result.assert_outcomes(passed=len(get_all_backends()))
+ 
+ 
+-def test_cancel_scope_in_asyncgen_fixture(testdir: Testdir) -> None:
++def test_cancel_scope_in_asyncgen_fixture(testdir: Pytester) -> None:
+ testdir.makepyfile(
+ """
+ import pytest
+@@ -204,7 +204,7 @@ def test_cancel_scope_in_asyncgen_fixture(testdir: 
Testdir) -> None:
+ result.assert_outcomes(passed=len(get_all_backends()))
+ 
+ 
+-def test_hypothesis_module_mark(testdir: Testdir) -> None:
++def test_hypothesis_module_mark(testdir: Pytester) -> None:
+ testdir.makepyfile(
+ """
+ import pytest
+@@ -235,7 +235,7 @@ def test_hypothesis_module_mark(testdir: Testdir) -> None:
+ result.assert_outcomes(passed=len(get_all_backends()) + 1, 
xfailed=len(get_all_backends()))
+ 
+ 
+-def test_hypothesis_function_mark(testdir: Testdir) -> None:
++def 

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

2022-03-16 Thread Jakov Smolić
commit: ac4d7289c08d3aee9b35921f18843516091b3653
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 16 11:19:27 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 16 11:19:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac4d7289

dev-python/anyio: Stabilize 3.5.0 ALLARCHES, #835175

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-python/anyio/anyio-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.5.0.ebuild 
b/dev-python/anyio/anyio-3.5.0.ebuild
index fea139890440..5379b452a5e4 100644
--- a/dev-python/anyio/anyio-3.5.0.ebuild
+++ b/dev-python/anyio/anyio-3.5.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/anyio/, dev-python/anyio/files/

2022-02-17 Thread Michał Górny
commit: 42da4f9a7f7a19a5302a5385bbfdba59d6a955c9
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Feb 17 21:42:45 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Feb 17 21:42:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42da4f9a

dev-python/anyio: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest  |   1 -
 dev-python/anyio/anyio-3.2.1.ebuild|  48 
 .../anyio/files/anyio-3.2.1-missing-trio.patch | 125 -
 3 files changed, 174 deletions(-)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 854e221cc9f1..d8102ac9e4f7 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,3 +1,2 @@
-DIST anyio-3.2.1.tar.gz 126277 BLAKE2B 
510980c9251081d5188f7654279753051cd9f8221f2090fb99624612e48b6f5fc1f6d9f1808f1c329c350857f14ceaee0d72615857171de33dc35cc7ba35ab23
 SHA512 
ef78e5531a917e3a5ddc1106f45ba556ca147e52ab29ed6cb25a3bd287148a15a015942dde6b9535d683fbe5910affed27df6ce5c4049251610f689cd151ee89
 DIST anyio-3.4.0.tar.gz 135737 BLAKE2B 
6023d051a10a067b8c86576dd80571a64c72a807c56235ecd7bad364b79b10c5b845c6b584c5310db01b3bfdd92deeaf64b855716b9fa817fe2fc590de33ec4c
 SHA512 
276fb5fc243e2c7f80a069f604ef68eeaca923c0df6f533878f9bf2185e846e537a1b9a8f19260a3c9ad3aad70898884316e6783057044a936762f7eb1f1cb9a
 DIST anyio-3.5.0.tar.gz 136934 BLAKE2B 
422d604c23658844467926f42c09895e54debfd3ddf2f7fa561eccae0c9cbc225f51d663cb9f98a2455736ad7a81eb4ae40a6f3ad66f3d2f0b02d0a5157203e0
 SHA512 
b91124c95d194eb7e4542405a973895d21562a2636d9600d528465da52536d1ffedbf5a6fc3ea5b1ff3e83e7dca2b42f090bb2ff6b077e32f5a2c314f07d3206

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
deleted file mode 100644
index 8531185549a0..
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit distutils-r1
-
-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 arm arm64 hppa ppc ppc64 ~riscv sparc x86"
-
-RDEPEND="
-   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-   test? (
-   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-6.2[${PYTHON_USEDEP}]
-   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests --install pytest
-distutils_enable_sphinx docs \
-   dev-python/sphinx_rtd_theme \
-   dev-python/sphinx-autodoc-typehints
-
-PATCHES=(
-   "${FILESDIR}"/${P}-missing-trio.patch
-)
-
-python_test() {
-   distutils_install_for_testing
-   epytest -Wdefault -m 'not network' -p no:django
-}

diff --git a/dev-python/anyio/files/anyio-3.2.1-missing-trio.patch 
b/dev-python/anyio/files/anyio-3.2.1-missing-trio.patch
deleted file mode 100644
index 492fe40fe70e..
--- a/dev-python/anyio/files/anyio-3.2.1-missing-trio.patch
+++ /dev/null
@@ -1,125 +0,0 @@
-From d05f92bddc4b34a8d527f66d5d27513cd91c741a Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Thu, 24 Jun 2021 09:16:01 +0200
-Subject: [PATCH] Handle missing trio gracefully
-
-Make it possible to use anyio without actually having to install trio.
-This involves modifying get_all_backends() to only return the backends
-that are actually present, and teaching the tests to skip trio if it
-is not importable.

- src/anyio/_core/_eventloop.py | 13 +
- tests/conftest.py |  9 -
- tests/test_pytest_plugin.py   |  2 +-
- tests/test_taskgroups.py  | 10 --
- 4 files changed, 26 insertions(+), 8 deletions(-)
-
-diff --git a/src/anyio/_core/_eventloop.py b/src/anyio/_core/_eventloop.py
-index f2364a3..431a922 100644
 a/src/anyio/_core/_eventloop.py
-+++ b/src/anyio/_core/_eventloop.py
-@@ -10,8 +10,6 @@ import sniffio
- # This must be updated when new backends are introduced
- from ._compat import DeprecatedAwaitableFloat
- 
--BACKENDS = 'asyncio', 'trio'
--
- T_Retval = TypeVar('T_Retval')
- threadlocals = threading.local()
- 
-@@ -106,8 +104,15 @@ def current_time() -> DeprecatedAwaitableFloat:
- 
- 
- def get_all_backends() -> Tuple[str, ...]:
--"""Return a tuple of the names of all built-in backends."""
--return BACKENDS
-+"""Return a tuple of the names of all available built-in backends."""
-+backends = ['asyncio']
-+try:
-+import trio
-+except ImportError:
-+  

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

2022-02-17 Thread Arthur Zamarin
commit: b3fa3f8bd71a04d4965f2924d7de701db7467d56
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Feb 17 20:24:03 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Feb 17 20:24:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3fa3f8b

dev-python/anyio: Stabilize 3.4.0 ALLARCHES, #833564

Signed-off-by: Arthur Zamarin  gentoo.org>

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

diff --git a/dev-python/anyio/anyio-3.4.0.ebuild 
b/dev-python/anyio/anyio-3.4.0.ebuild
index a3d9afc11b03..e8baabafef7d 100644
--- a/dev-python/anyio/anyio-3.4.0.ebuild
+++ b/dev-python/anyio/anyio-3.4.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2022-02-07 Thread Sam James
commit: a00cb413b918f5d0aedad42d2e3214bf3763d957
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb  7 22:28:41 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb  7 22:28:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00cb413

dev-python/anyio: Keyword 3.5.0 s390, #831852

Signed-off-by: Sam James  gentoo.org>

 dev-python/anyio/anyio-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.5.0.ebuild 
b/dev-python/anyio/anyio-3.5.0.ebuild
index bdf2e387fc0e..fea139890440 100644
--- a/dev-python/anyio/anyio-3.5.0.ebuild
+++ b/dev-python/anyio/anyio-3.5.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2022-02-07 Thread Sam James
commit: 3b735b0a03234b5f58a4142c50d817a700898f2e
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb  7 09:33:49 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb  7 09:34:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b735b0a

dev-python/anyio: Keyword 3.5.0 ia64, #831852

Signed-off-by: Sam James  gentoo.org>

 dev-python/anyio/anyio-3.5.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.5.0.ebuild 
b/dev-python/anyio/anyio-3.5.0.ebuild
index 00e0c4511a52..bdf2e387fc0e 100644
--- a/dev-python/anyio/anyio-3.5.0.ebuild
+++ b/dev-python/anyio/anyio-3.5.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2022-02-06 Thread Sam James
commit: 02ef24811bd9b2709276593cf32de1488244cee7
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb  7 05:11:57 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb  7 05:11:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02ef2481

dev-python/anyio: conditionalise uvloop test-dep for amd64 only

It's an optional test dependency and uvloop needs specific porting
to platforms. Let's only pull it in on amd64 to maximise test
coverage there but avoid pain elsewhere.

Bug: https://bugs.gentoo.org/831852
Signed-off-by: Sam James  gentoo.org>

 dev-python/anyio/anyio-3.5.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/anyio/anyio-3.5.0.ebuild 
b/dev-python/anyio/anyio-3.5.0.ebuild
index a57dd40c611b..00e0c4511a52 100644
--- a/dev-python/anyio/anyio-3.5.0.ebuild
+++ b/dev-python/anyio/anyio-3.5.0.ebuild
@@ -21,14 +21,15 @@ RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
 "
-
+# On amd64, let's get more test coverage by dragging in uvloop, but let's
+# not bother on other arches where uvloop may not be supported.
 BDEPEND="
test? (
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
>=dev-python/pytest-6.2[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
-   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
+   amd64? ( >=dev-python/uvloop-0.15[${PYTHON_USEDEP}] )
)
 "
 



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

2022-01-11 Thread Michał Górny
commit: 4f4473bb399261404c01f218db6f7726ea0224a6
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 11 09:12:15 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 11 09:59:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f4473bb

dev-python/anyio: Bump to 3.5.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  1 +
 dev-python/anyio/anyio-3.5.0.ebuild | 44 +
 2 files changed, 45 insertions(+)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 0d7b5e886733..854e221cc9f1 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,2 +1,3 @@
 DIST anyio-3.2.1.tar.gz 126277 BLAKE2B 
510980c9251081d5188f7654279753051cd9f8221f2090fb99624612e48b6f5fc1f6d9f1808f1c329c350857f14ceaee0d72615857171de33dc35cc7ba35ab23
 SHA512 
ef78e5531a917e3a5ddc1106f45ba556ca147e52ab29ed6cb25a3bd287148a15a015942dde6b9535d683fbe5910affed27df6ce5c4049251610f689cd151ee89
 DIST anyio-3.4.0.tar.gz 135737 BLAKE2B 
6023d051a10a067b8c86576dd80571a64c72a807c56235ecd7bad364b79b10c5b845c6b584c5310db01b3bfdd92deeaf64b855716b9fa817fe2fc590de33ec4c
 SHA512 
276fb5fc243e2c7f80a069f604ef68eeaca923c0df6f533878f9bf2185e846e537a1b9a8f19260a3c9ad3aad70898884316e6783057044a936762f7eb1f1cb9a
+DIST anyio-3.5.0.tar.gz 136934 BLAKE2B 
422d604c23658844467926f42c09895e54debfd3ddf2f7fa561eccae0c9cbc225f51d663cb9f98a2455736ad7a81eb4ae40a6f3ad66f3d2f0b02d0a5157203e0
 SHA512 
b91124c95d194eb7e4542405a973895d21562a2636d9600d528465da52536d1ffedbf5a6fc3ea5b1ff3e83e7dca2b42f090bb2ff6b077e32f5a2c314f07d3206

diff --git a/dev-python/anyio/anyio-3.5.0.ebuild 
b/dev-python/anyio/anyio-3.5.0.ebuild
new file mode 100644
index ..a57dd40c611b
--- /dev/null
+++ b/dev-python/anyio/anyio-3.5.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+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 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-6.2[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests --install pytest
+distutils_enable_sphinx docs \
+   dev-python/sphinx_rtd_theme \
+   dev-python/sphinx-autodoc-typehints
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   distutils_install_for_testing --via-venv
+   epytest -m 'not network'
+}



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

2021-12-25 Thread Agostino Sarubbo
commit: 46f814c629c9d389b29db82777d9cb36c6292977
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Dec 25 08:23:48 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Dec 25 08:23:48 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46f814c6

dev-python/anyio: amd64/x86 stable (ALLARCHES policy) wrt bug #829933

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/anyio/anyio-3.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.4.0.ebuild 
b/dev-python/anyio/anyio-3.4.0.ebuild
index ab1b6221158b..a3d9afc11b03 100644
--- a/dev-python/anyio/anyio-3.4.0.ebuild
+++ b/dev-python/anyio/anyio-3.4.0.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-12-17 Thread Michał Górny
commit: 5b8d77abacd18edaae2de2d16f8f9195847f6849
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Dec 17 08:00:24 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Dec 17 09:14:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5b8d77ab

dev-python/anyio: Bump to 3.4.0

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  1 +
 dev-python/anyio/anyio-3.4.0.ebuild | 45 +
 2 files changed, 46 insertions(+)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 25927514d995..0d7b5e886733 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1 +1,2 @@
 DIST anyio-3.2.1.tar.gz 126277 BLAKE2B 
510980c9251081d5188f7654279753051cd9f8221f2090fb99624612e48b6f5fc1f6d9f1808f1c329c350857f14ceaee0d72615857171de33dc35cc7ba35ab23
 SHA512 
ef78e5531a917e3a5ddc1106f45ba556ca147e52ab29ed6cb25a3bd287148a15a015942dde6b9535d683fbe5910affed27df6ce5c4049251610f689cd151ee89
+DIST anyio-3.4.0.tar.gz 135737 BLAKE2B 
6023d051a10a067b8c86576dd80571a64c72a807c56235ecd7bad364b79b10c5b845c6b584c5310db01b3bfdd92deeaf64b855716b9fa817fe2fc590de33ec4c
 SHA512 
276fb5fc243e2c7f80a069f604ef68eeaca923c0df6f533878f9bf2185e846e537a1b9a8f19260a3c9ad3aad70898884316e6783057044a936762f7eb1f1cb9a

diff --git a/dev-python/anyio/anyio-3.4.0.ebuild 
b/dev-python/anyio/anyio-3.4.0.ebuild
new file mode 100644
index ..ab1b6221158b
--- /dev/null
+++ b/dev-python/anyio/anyio-3.4.0.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+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 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-6.2[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests --install pytest
+distutils_enable_sphinx docs \
+   dev-python/sphinx_rtd_theme \
+   dev-python/sphinx-autodoc-typehints
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   distutils_install_for_testing --via-venv
+   epytest -m 'not network'
+}



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

2021-12-04 Thread Arthur Zamarin
commit: 173611c4ec681dd36066811be92b0071543c5a97
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec  4 08:52:27 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec  4 08:54:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=173611c4

dev-python/anyio: Stabilize 3.2.1 hppa, #803806

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index e554628b9d73..138ec21fcea3 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 hppa ppc ppc64 sparc x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-11-24 Thread Sam James
commit: f9c859d232b3a30e444da214ec5d4be39c241753
Author: Sam James  gentoo  org>
AuthorDate: Wed Nov 24 23:59:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Nov 24 23:59:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9c859d2

dev-python/anyio: Keyword 3.2.1 hppa, #824622

Signed-off-by: Sam James  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index c6cf6428b2d4..e554628b9d73 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-11-19 Thread Arthur Zamarin
commit: e4fc563fa415119e36f027b8dddf8347bf911275
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 19 11:38:23 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 19 11:39:07 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4fc563f

dev-python/anyio: Stabilize 3.2.1 ppc64, #803719

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index 51a1a0dcb535..c6cf6428b2d4 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 ppc ppc64 sparc x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-11-18 Thread Arthur Zamarin
commit: 2aa74788fc75541a8d640518eda58c9bed8854c3
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 19 07:57:10 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 19 07:57:57 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aa74788

dev-python/anyio: Stabilize 3.2.1 arm64, #803719

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index 8733d4018b83..51a1a0dcb535 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 ppc ~ppc64 sparc x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-11-18 Thread Sam James
commit: 669827c0aaba33f9ba8053b2c611d5864d608160
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 18 10:49:52 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 18 10:49:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=669827c0

dev-python/anyio: Stabilize 3.2.1 arm, #803806

Signed-off-by: Sam James  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index f678a6c55d1f..8733d4018b83 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 arm ~arm64 ppc ~ppc64 sparc x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-11-15 Thread Agostino Sarubbo
commit: ab3bc0dac6df5bec5097d8ec1898194c39af03a9
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Nov 15 16:26:03 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Nov 15 16:26:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab3bc0da

dev-python/anyio: ppc stable wrt bug #803719

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index 17dd6f06bfff..f678a6c55d1f 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 sparc x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-10-17 Thread Michał Górny
commit: 80bb80f7eb8517dff639f5f4335852b4b3668317
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Oct 17 07:25:14 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Oct 17 07:25:14 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80bb80f7

dev-python/anyio: Remove old

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest   |  2 --
 dev-python/anyio/anyio-3.1.0.ebuild | 54 -
 dev-python/anyio/anyio-3.2.0.ebuild | 54 -
 3 files changed, 110 deletions(-)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 4977f31d9d3..25927514d99 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,3 +1 @@
-DIST anyio-3.1.0.tar.gz 122097 BLAKE2B 
4a16a5d231cc5262dd4138f628b9d210180733bda4b9e81ced0c0e0c7f49e1760c8dd22db0a1db3b7a21f3210072f4e1c543e52a7dc716ad3f0415827da48e38
 SHA512 
120d8e3e24f542c06caedd0a67d16b3fb69c94f5feaebde5262e54f8ffba3f1cf927c82030d65fa2efb3479ee64abd968b6ce67aee767ea33ccef6b0e3fbd358
-DIST anyio-3.2.0.tar.gz 126210 BLAKE2B 
cedace636a115ad579ca47b345bb2a9bb32e97fa2ef886a9e6bd19219dcc92c393aaaf480df5e6f48c959590c2d6a3e0770f700ab4901c7a8e576b231597abf1
 SHA512 
f4e718704225d9cbb8e2592246ac393f96e82fb1898bc0ff89b2d7990c4aac7e7c9b339cb57a594c59a9e5730696122c9e647310c26e00ab152879e0a7e85863
 DIST anyio-3.2.1.tar.gz 126277 BLAKE2B 
510980c9251081d5188f7654279753051cd9f8221f2090fb99624612e48b6f5fc1f6d9f1808f1c329c350857f14ceaee0d72615857171de33dc35cc7ba35ab23
 SHA512 
ef78e5531a917e3a5ddc1106f45ba556ca147e52ab29ed6cb25a3bd287148a15a015942dde6b9535d683fbe5910affed27df6ce5c4049251610f689cd151ee89

diff --git a/dev-python/anyio/anyio-3.1.0.ebuild 
b/dev-python/anyio/anyio-3.1.0.ebuild
deleted file mode 100644
index d4d7d1e4690..000
--- a/dev-python/anyio/anyio-3.1.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1
-
-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/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-   test? (
-   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests --install pytest
-distutils_enable_sphinx docs \
-   dev-python/sphinx_rtd_theme \
-   dev-python/sphinx-autodoc-typehints
-
-python_prepare_all() {
-   # This will pull in dev-python/trio and a whole bunch of other new 
things
-   # And trio does not yet have a release compatible with python3.9.
-   rm tests/test_taskgroups.py || die
-   sed -i -e '/trio/d' tests/conftest.py || die
-   sed -i -e 's/test_cancel_scope_in_asyncgen_fixture/_&/' \
-   -e 's/test_autouse_async_fixture/_&/' \
-   -e 's/test_plugin/_&/' \
-   tests/test_pytest_plugin.py || die
-
-   # skip network test
-   sed -i -e 's/test_getaddrinfo/_&/' tests/test_sockets.py || die
-
-   distutils-r1_python_prepare_all
-}

diff --git a/dev-python/anyio/anyio-3.2.0.ebuild 
b/dev-python/anyio/anyio-3.2.0.ebuild
deleted file mode 100644
index 37088974642..000
--- a/dev-python/anyio/anyio-3.2.0.ebuild
+++ /dev/null
@@ -1,54 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit distutils-r1
-
-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 ~arm"
-
-RDEPEND="
-   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
-"
-
-BDEPEND="
-   test? (
-   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests --install pytest
-distutils_enable_sphinx docs \
-   dev-python/sphinx_rtd_theme \
-   dev-python/sphinx-autodoc-typehints
-
-python_prepare_all() {
-   # This will pull in dev-python/trio and a whole bunch of other new 
things
-   # And trio does not yet have a release compatible with 

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

2021-10-17 Thread Sam James
commit: 68ac484ce4d708a8f150e13fa61a9faf8cdbd996
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 17 06:30:29 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 17 06:30:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68ac484c

dev-python/anyio: Stabilize 3.2.1 sparc, #803719

Signed-off-by: Sam James  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index a0618bfa54a..17dd6f06bff 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 sparc x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-09-20 Thread Agostino Sarubbo
commit: b4e5099953f7abbaba164c340535a79ab0c668fd
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Sep 20 06:25:21 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Sep 20 06:25:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4e50999

dev-python/anyio: x86 stable wrt bug #803719

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index b796b602d1c..a0618bfa54a 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-09-11 Thread Arthur Zamarin
commit: 1b870a31997b268c22b00f185a51dee7116bba7b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Sep 11 15:28:39 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Sep 11 15:30:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b870a31

dev-python/anyio: needs >=dev-python/pytest-6.2

Reported-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index 492fcd0eb77..b796b602d1c 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -26,6 +26,7 @@ RDEPEND="
 BDEPEND="
test? (
>=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-6.2[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
>=dev-python/uvloop-0.15[${PYTHON_USEDEP}]



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

2021-08-05 Thread Sam James
commit: a042b07ed52b028ef05d8750d854806ebc15a491
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug  5 13:29:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug  5 13:29:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a042b07e

dev-python/anyio: Keyword 3.2.1 sparc, #796254

Signed-off-by: Sam James  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index 0a23ca0eb48..492fcd0eb77 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-08-04 Thread Louis Sautier
commit: 16c8abffc44486ac26067f06a393a8ce7a3bdfce
Author: Louis Sautier  gentoo  org>
AuthorDate: Mon Jul 19 11:04:53 2021 +
Commit: Louis Sautier  gentoo  org>
CommitDate: Wed Aug  4 18:43:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16c8abff

dev-python/anyio: enable py3.10

Signed-off-by: Louis Sautier  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index 67f9a4d6fb2..0a23ca0eb48 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 



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

2021-07-27 Thread Sam James
commit: 8565b1d14d6fda873f78d1ceb59bb1115308285a
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 28 01:07:58 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 28 01:07:58 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8565b1d1

dev-python/anyio: Keyword 3.2.1 x86, #796254

Signed-off-by: Sam James  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index 87becfa25f8..67f9a4d6fb2 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-07-25 Thread Sam James
commit: 04814c091a24c0f69005fb1c529f55181148cdc1
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 26 02:26:47 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 26 02:26:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04814c09

dev-python/anyio: Stabilize 3.2.1 amd64, #803719

Signed-off-by: Sam James  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index d09f4ea9c08..87becfa25f8 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-07-11 Thread Sam James
commit: fb4802b49568c6c52a86903310e6728d4fbe9c53
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 12 00:58:05 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 12 00:58:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb4802b4

dev-python/anyio: Keyword 3.2.1 arm64, #796254

Signed-off-by: Sam James  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index d01141c001a..d09f4ea9c08 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-07-08 Thread Sergei Trofimovich
commit: 49a486d568d20b48e516e6429de8cb122f63594a
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Jul  8 07:11:01 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jul  8 07:11:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a486d5

dev-python/anyio: keyworded 3.2.1 for ppc64

keyworded wrt bug #796254

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index 0630a398a56..d01141c001a 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



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

2021-07-08 Thread Sergei Trofimovich
commit: a0700474fefeba11439f1c1750182c96178176f3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Jul  8 07:09:24 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Jul  8 07:09:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0700474

dev-python/anyio: keyworded 3.2.1 for ppc

keyworded wrt bug #796254

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-python/anyio/anyio-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
index 7727ceecc61..0630a398a56 100644
--- a/dev-python/anyio/anyio-3.2.1.ebuild
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm"
+KEYWORDS="~amd64 ~arm ~ppc"
 
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/anyio/files/, dev-python/anyio/

2021-06-24 Thread Michał Górny
commit: 7e8be4b686c79df075210ba27adf8e7580a09576
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun 24 05:50:58 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun 24 07:43:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e8be4b6

dev-python/anyio: Bump to 3.2.1

Signed-off-by: Michał Górny  gentoo.org>

 dev-python/anyio/Manifest  |   1 +
 dev-python/anyio/anyio-3.2.1.ebuild|  47 
 .../anyio/files/anyio-3.2.1-missing-trio.patch | 125 +
 3 files changed, 173 insertions(+)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
index 33a08706f84..4977f31d9d3 100644
--- a/dev-python/anyio/Manifest
+++ b/dev-python/anyio/Manifest
@@ -1,2 +1,3 @@
 DIST anyio-3.1.0.tar.gz 122097 BLAKE2B 
4a16a5d231cc5262dd4138f628b9d210180733bda4b9e81ced0c0e0c7f49e1760c8dd22db0a1db3b7a21f3210072f4e1c543e52a7dc716ad3f0415827da48e38
 SHA512 
120d8e3e24f542c06caedd0a67d16b3fb69c94f5feaebde5262e54f8ffba3f1cf927c82030d65fa2efb3479ee64abd968b6ce67aee767ea33ccef6b0e3fbd358
 DIST anyio-3.2.0.tar.gz 126210 BLAKE2B 
cedace636a115ad579ca47b345bb2a9bb32e97fa2ef886a9e6bd19219dcc92c393aaaf480df5e6f48c959590c2d6a3e0770f700ab4901c7a8e576b231597abf1
 SHA512 
f4e718704225d9cbb8e2592246ac393f96e82fb1898bc0ff89b2d7990c4aac7e7c9b339cb57a594c59a9e5730696122c9e647310c26e00ab152879e0a7e85863
+DIST anyio-3.2.1.tar.gz 126277 BLAKE2B 
510980c9251081d5188f7654279753051cd9f8221f2090fb99624612e48b6f5fc1f6d9f1808f1c329c350857f14ceaee0d72615857171de33dc35cc7ba35ab23
 SHA512 
ef78e5531a917e3a5ddc1106f45ba556ca147e52ab29ed6cb25a3bd287148a15a015942dde6b9535d683fbe5910affed27df6ce5c4049251610f689cd151ee89

diff --git a/dev-python/anyio/anyio-3.2.1.ebuild 
b/dev-python/anyio/anyio-3.2.1.ebuild
new file mode 100644
index 000..7727ceecc61
--- /dev/null
+++ b/dev-python/anyio/anyio-3.2.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+
+inherit distutils-r1
+
+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 ~arm"
+
+RDEPEND="
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests --install pytest
+distutils_enable_sphinx docs \
+   dev-python/sphinx_rtd_theme \
+   dev-python/sphinx-autodoc-typehints
+
+PATCHES=(
+   "${FILESDIR}"/${P}-missing-trio.patch
+)
+
+python_test() {
+   distutils_install_for_testing
+   epytest -Wdefault -m 'not network' -p no:django
+}

diff --git a/dev-python/anyio/files/anyio-3.2.1-missing-trio.patch 
b/dev-python/anyio/files/anyio-3.2.1-missing-trio.patch
new file mode 100644
index 000..492fe40fe70
--- /dev/null
+++ b/dev-python/anyio/files/anyio-3.2.1-missing-trio.patch
@@ -0,0 +1,125 @@
+From d05f92bddc4b34a8d527f66d5d27513cd91c741a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Thu, 24 Jun 2021 09:16:01 +0200
+Subject: [PATCH] Handle missing trio gracefully
+
+Make it possible to use anyio without actually having to install trio.
+This involves modifying get_all_backends() to only return the backends
+that are actually present, and teaching the tests to skip trio if it
+is not importable.
+---
+ src/anyio/_core/_eventloop.py | 13 +
+ tests/conftest.py |  9 -
+ tests/test_pytest_plugin.py   |  2 +-
+ tests/test_taskgroups.py  | 10 --
+ 4 files changed, 26 insertions(+), 8 deletions(-)
+
+diff --git a/src/anyio/_core/_eventloop.py b/src/anyio/_core/_eventloop.py
+index f2364a3..431a922 100644
+--- a/src/anyio/_core/_eventloop.py
 b/src/anyio/_core/_eventloop.py
+@@ -10,8 +10,6 @@ import sniffio
+ # This must be updated when new backends are introduced
+ from ._compat import DeprecatedAwaitableFloat
+ 
+-BACKENDS = 'asyncio', 'trio'
+-
+ T_Retval = TypeVar('T_Retval')
+ threadlocals = threading.local()
+ 
+@@ -106,8 +104,15 @@ def current_time() -> DeprecatedAwaitableFloat:
+ 
+ 
+ def get_all_backends() -> Tuple[str, ...]:
+-"""Return a tuple of the names of all built-in backends."""
+-return BACKENDS
++"""Return a tuple of the names of all available built-in backends."""
++backends = ['asyncio']
++try:
++import trio
++except ImportError:
++pass
++else:
++backends.append(trio)
++return tuple(backends)
+ 
+ 
+ def 

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

2021-06-15 Thread Andrew Ammerlaan
commit: 334a8bb141ba3c6ddd2735589193671e517cc12b
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Tue Jun 15 08:02:23 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Jun 15 08:03:35 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=334a8bb1

dev-python/anyio: unrestrict test phase

skip tests for trio since this is not (yet) packaged

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/anyio/anyio-3.1.0.ebuild | 20 
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/dev-python/anyio/anyio-3.1.0.ebuild 
b/dev-python/anyio/anyio-3.1.0.ebuild
index 53b2893ab60..d4d7d1e4690 100644
--- a/dev-python/anyio/anyio-3.1.0.ebuild
+++ b/dev-python/anyio/anyio-3.1.0.ebuild
@@ -18,10 +18,6 @@ LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64"
 
-# This will pull in dev-python/trio and a whole bunch of other new things
-# And trio does not yet have a release compatible with python3.9.
-RESTRICT="test"
-
 RDEPEND="
>=dev-python/idna-2.8[${PYTHON_USEDEP}]
>=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
@@ -40,3 +36,19 @@ distutils_enable_tests --install pytest
 distutils_enable_sphinx docs \
dev-python/sphinx_rtd_theme \
dev-python/sphinx-autodoc-typehints
+
+python_prepare_all() {
+   # This will pull in dev-python/trio and a whole bunch of other new 
things
+   # And trio does not yet have a release compatible with python3.9.
+   rm tests/test_taskgroups.py || die
+   sed -i -e '/trio/d' tests/conftest.py || die
+   sed -i -e 's/test_cancel_scope_in_asyncgen_fixture/_&/' \
+   -e 's/test_autouse_async_fixture/_&/' \
+   -e 's/test_plugin/_&/' \
+   tests/test_pytest_plugin.py || die
+
+   # skip network test
+   sed -i -e 's/test_getaddrinfo/_&/' tests/test_sockets.py || die
+
+   distutils-r1_python_prepare_all
+}



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

2021-06-10 Thread Andrew Ammerlaan
commit: 4988fd0c3cd4efafb5a961eb4c98170a0dbb1a7f
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Thu Jun 10 08:50:04 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Thu Jun 10 09:58:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4988fd0c

dev-python/anyio: import from ::guru

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/anyio/Manifest   |  1 +
 dev-python/anyio/anyio-3.1.0.ebuild | 42 +
 dev-python/anyio/metadata.xml   | 34 ++
 3 files changed, 77 insertions(+)

diff --git a/dev-python/anyio/Manifest b/dev-python/anyio/Manifest
new file mode 100644
index 000..d37dd4e2703
--- /dev/null
+++ b/dev-python/anyio/Manifest
@@ -0,0 +1 @@
+DIST anyio-3.1.0.tar.gz 122097 BLAKE2B 
4a16a5d231cc5262dd4138f628b9d210180733bda4b9e81ced0c0e0c7f49e1760c8dd22db0a1db3b7a21f3210072f4e1c543e52a7dc716ad3f0415827da48e38
 SHA512 
120d8e3e24f542c06caedd0a67d16b3fb69c94f5feaebde5262e54f8ffba3f1cf927c82030d65fa2efb3479ee64abd968b6ce67aee767ea33ccef6b0e3fbd358

diff --git a/dev-python/anyio/anyio-3.1.0.ebuild 
b/dev-python/anyio/anyio-3.1.0.ebuild
new file mode 100644
index 000..53b2893ab60
--- /dev/null
+++ b/dev-python/anyio/anyio-3.1.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+
+inherit distutils-r1
+
+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 will pull in dev-python/trio and a whole bunch of other new things
+# And trio does not yet have a release compatible with python3.9.
+RESTRICT="test"
+
+RDEPEND="
+   >=dev-python/idna-2.8[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.1[${PYTHON_USEDEP}]
+"
+
+BDEPEND="
+   test? (
+   >=dev-python/hypothesis-4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   >=dev-python/uvloop-0.15[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests --install pytest
+distutils_enable_sphinx docs \
+   dev-python/sphinx_rtd_theme \
+   dev-python/sphinx-autodoc-typehints

diff --git a/dev-python/anyio/metadata.xml b/dev-python/anyio/metadata.xml
new file mode 100644
index 000..99d53f71191
--- /dev/null
+++ b/dev-python/anyio/metadata.xml
@@ -0,0 +1,34 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   
+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
+   
+   
+