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

2024-07-20 Thread Michał Górny
commit: 0a6853cdebd64d79dcb3bfc19e9d5bf84dca151d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jul 20 08:53:21 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jul 20 08:53:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a6853cd

dev-python/trio: Remove old

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

 dev-python/trio/Manifest |  2 -
 dev-python/trio/trio-0.25.1.ebuild   | 67 --
 dev-python/trio/trio-0.25.1_p20240613.ebuild | 70 
 3 files changed, 139 deletions(-)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 0353f5b475d8..46cefc543c8e 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,3 +1 @@
-DIST trio-0.25.1.gh.tar.gz 600963 BLAKE2B 
f72df0069ff48f198f7c31221c721ffb127c4cac6c4e004547d62aa5f184673fde09e2baad5c383b206deffec4ef1b04dafad883dad0b2ced2625d72ac842887
 SHA512 
0a924a1c52ed5153e51cc3343c92b7f6218cf8c56ba2e66b6fe40d27d2acfa7475c3014b8fc5fd22e46df1782530a75f899dbb35d1c875331400957891bd70aa
 DIST trio-0.26.0.gh.tar.gz 609710 BLAKE2B 
ec263e5db731760472111b8eb6a7d6ebdc476f8dc0976787692289caa5d5361a1a3db03d4713f14ee3198ad45dcec19c6c672af4af3860c3cd7ad5ff3e13bc8a
 SHA512 
9a51f4e71795083ffd4a606e989583b1a93e45dc32f93d2d03bccaf32ca62a82daaf964676636363711b7ea16753eac1acae1be73b0fc570baef3c37c748
-DIST trio-0f5fc6cbafa3e7c84f258d1865996d97ae67a318.gh.tar.gz 609698 BLAKE2B 
db34b8a3157b78340f75fc07d8c2dc333610d962c3849fce3906e643159904ef28cb94fed062c4607a114f9de3bfa822706c2ea6a5eef5833d17e25690c83603
 SHA512 
692092451376be2424faf395bbdc4f61bec91f6807a0f04d1c701fc2767a4c844830f93b01cf5a813febf9d267a52d968f4f5f8b983eb7cc5ffcb91cc716739a

diff --git a/dev-python/trio/trio-0.25.1.ebuild 
b/dev-python/trio/trio-0.25.1.ebuild
deleted file mode 100644
index 9a7f71be22f6..
--- a/dev-python/trio/trio-0.25.1.ebuild
+++ /dev/null
@@ -1,67 +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
-
-DESCRIPTION="Python library for async concurrency and I/O"
-HOMEPAGE="
-   https://github.com/python-trio/trio/
-   https://pypi.org/project/trio/
-"
-SRC_URI="
-   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/attrs-23.2.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/exceptiongroup[${PYTHON_USEDEP}]
-   ' 3.10)
-   dev-python/idna[${PYTHON_USEDEP}]
-   dev-python/outcome[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}]
-   dev-python/sortedcontainers[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
-   dev-python/pyopenssl[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-# Bug https://bugs.gentoo.org/916756
-# distutils_enable_sphinx docs/source \
-#  dev-python/immutables \
-#  dev-python/sphinxcontrib-trio \
-#  dev-python/sphinx-rtd-theme \
-#  dev-python/towncrier
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # Times out on slower arches (ia64 in this case)
-   # https://github.com/python-trio/trio/issues/1753
-   tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
-   # requires ruff
-   _tests/tools/test_gen_exports.py
-   )
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   rm -rf trio || die
-   epytest -p trio._tests.pytest_plugin \
-   -m "not redistributors_should_skip" \
-   --pyargs trio \
-   --skip-optional-imports
-}

diff --git a/dev-python/trio/trio-0.25.1_p20240613.ebuild 
b/dev-python/trio/trio-0.25.1_p20240613.ebuild
deleted file mode 100644
index 889511bfad3a..
--- a/dev-python/trio/trio-0.25.1_p20240613.ebuild
+++ /dev/null
@@ -1,70 +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..13} )
-
-inherit distutils-r1
-
-EGIT_COMMIT=0f5fc6cbafa3e7c84f258d1865996d97ae67a318
-MY_P=${PN}-${EGIT_COMMIT}
-DESCRIPTION="Python library for async concurrency and I/O"
-HOMEPAGE="
-   https://github.com/python-trio/trio/
-   https://pypi.org/project/trio/
-"
-SRC_URI="
-   https://github.com/python-trio/${PN}/archive/${EGIT_COMMIT}.tar.gz
-   -> ${MY_P}.gh.tar.gz
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"

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

2024-07-20 Thread Arthur Zamarin
commit: 3667cacad6cda2a998b4fd2e5c0ff3d3e98db612
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jul 20 07:39:23 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jul 20 07:39:23 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3667caca

dev-python/trio: Stabilize 0.26.0 ALLARCHES, #936352

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

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

diff --git a/dev-python/trio/trio-0.26.0.ebuild 
b/dev-python/trio/trio-0.26.0.ebuild
index 01b349cf4ec8..d7a0315ad2ad 100644
--- a/dev-python/trio/trio-0.26.0.ebuild
+++ b/dev-python/trio/trio-0.26.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/attrs-23.2.0[${PYTHON_USEDEP}]



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

2024-07-05 Thread Andrew Ammerlaan
commit: 66fe2b068779ea06a87b2c3a106fa1ba27c61974
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Jul  5 09:42:16 2024 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Jul  5 09:42:16 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66fe2b06

dev-python/trio: add 0.26.0

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

 dev-python/trio/Manifest   |  1 +
 dev-python/trio/trio-0.26.0.ebuild | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index cea0b1c98fda..0353f5b475d8 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,2 +1,3 @@
 DIST trio-0.25.1.gh.tar.gz 600963 BLAKE2B 
f72df0069ff48f198f7c31221c721ffb127c4cac6c4e004547d62aa5f184673fde09e2baad5c383b206deffec4ef1b04dafad883dad0b2ced2625d72ac842887
 SHA512 
0a924a1c52ed5153e51cc3343c92b7f6218cf8c56ba2e66b6fe40d27d2acfa7475c3014b8fc5fd22e46df1782530a75f899dbb35d1c875331400957891bd70aa
+DIST trio-0.26.0.gh.tar.gz 609710 BLAKE2B 
ec263e5db731760472111b8eb6a7d6ebdc476f8dc0976787692289caa5d5361a1a3db03d4713f14ee3198ad45dcec19c6c672af4af3860c3cd7ad5ff3e13bc8a
 SHA512 
9a51f4e71795083ffd4a606e989583b1a93e45dc32f93d2d03bccaf32ca62a82daaf964676636363711b7ea16753eac1acae1be73b0fc570baef3c37c748
 DIST trio-0f5fc6cbafa3e7c84f258d1865996d97ae67a318.gh.tar.gz 609698 BLAKE2B 
db34b8a3157b78340f75fc07d8c2dc333610d962c3849fce3906e643159904ef28cb94fed062c4607a114f9de3bfa822706c2ea6a5eef5833d17e25690c83603
 SHA512 
692092451376be2424faf395bbdc4f61bec91f6807a0f04d1c701fc2767a4c844830f93b01cf5a813febf9d267a52d968f4f5f8b983eb7cc5ffcb91cc716739a

diff --git a/dev-python/trio/trio-0.26.0.ebuild 
b/dev-python/trio/trio-0.26.0.ebuild
new file mode 100644
index ..01b349cf4ec8
--- /dev/null
+++ b/dev-python/trio/trio-0.26.0.ebuild
@@ -0,0 +1,67 @@
+# 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..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/attrs-23.2.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/exceptiongroup-1.2.1[${PYTHON_USEDEP}]
+   ' 3.10)
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/pyopenssl[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+# Bug https://bugs.gentoo.org/916756
+# distutils_enable_sphinx docs/source \
+#  dev-python/immutables \
+#  dev-python/sphinxcontrib-trio \
+#  dev-python/sphinx-rtd-theme \
+#  dev-python/towncrier
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+   # requires ruff
+   _tests/tools/test_gen_exports.py
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   rm -rf trio || die
+   epytest -p trio._tests.pytest_plugin \
+   -m "not redistributors_should_skip" \
+   --pyargs trio \
+   --skip-optional-imports
+}



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

2024-06-19 Thread Michał Górny
commit: 2149707c8bbaad1558274ab18a06933fca0363ad
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 19 16:13:37 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 19 17:21:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2149707c

dev-python/trio-websocket: Enable py3.13

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

 dev-python/trio-websocket/trio-websocket-0.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild
index 68e77b5a7db0..b567b9bb00a2 100644
--- a/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.11.1.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
 



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

2024-06-19 Thread Michał Górny
commit: aca656d931bc6dbd4d6c9783048d79ff3d64705e
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun 19 16:13:18 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun 19 17:21:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aca656d9

dev-python/trio-websocket: Deselect tests broken by new trio

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

 dev-python/trio-websocket/trio-websocket-0.11.1.ebuild | 14 +-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild
index fc8389fa3907..68e77b5a7db0 100644
--- a/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -39,6 +39,18 @@ BDEPEND="
 distutils_enable_tests pytest
 
 python_test() {
+   local EPYTEST_DESELECT=(
+   # exception tests are broken with trio-0.25
+   # https://github.com/python-trio/trio-websocket/issues/187
+   tests/test_connection.py::test_handshake_exception_before_accept
+   tests/test_connection.py::test_reject_handshake
+   
tests/test_connection.py::test_reject_handshake_invalid_info_status
+   tests/test_connection.py::test_client_open_timeout
+   tests/test_connection.py::test_client_close_timeout
+   tests/test_connection.py::test_client_connect_networking_error
+   tests/test_connection.py::test_finalization_dropped_exception
+   )
+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -p trio
 }



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

2024-06-14 Thread Michał Górny
commit: a0a2a3991ed42ad598c6394fbf838ab2f6869be2
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Jun 14 15:40:40 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Jun 14 15:54:50 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a2a399

dev-python/trio: Add 0.25.1_p20240613 snapshot with py3.13

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

 dev-python/trio/Manifest |  1 +
 dev-python/trio/trio-0.25.1_p20240613.ebuild | 70 
 2 files changed, 71 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index a93d70421ad8..cea0b1c98fda 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1 +1,2 @@
 DIST trio-0.25.1.gh.tar.gz 600963 BLAKE2B 
f72df0069ff48f198f7c31221c721ffb127c4cac6c4e004547d62aa5f184673fde09e2baad5c383b206deffec4ef1b04dafad883dad0b2ced2625d72ac842887
 SHA512 
0a924a1c52ed5153e51cc3343c92b7f6218cf8c56ba2e66b6fe40d27d2acfa7475c3014b8fc5fd22e46df1782530a75f899dbb35d1c875331400957891bd70aa
+DIST trio-0f5fc6cbafa3e7c84f258d1865996d97ae67a318.gh.tar.gz 609698 BLAKE2B 
db34b8a3157b78340f75fc07d8c2dc333610d962c3849fce3906e643159904ef28cb94fed062c4607a114f9de3bfa822706c2ea6a5eef5833d17e25690c83603
 SHA512 
692092451376be2424faf395bbdc4f61bec91f6807a0f04d1c701fc2767a4c844830f93b01cf5a813febf9d267a52d968f4f5f8b983eb7cc5ffcb91cc716739a

diff --git a/dev-python/trio/trio-0.25.1_p20240613.ebuild 
b/dev-python/trio/trio-0.25.1_p20240613.ebuild
new file mode 100644
index ..889511bfad3a
--- /dev/null
+++ b/dev-python/trio/trio-0.25.1_p20240613.ebuild
@@ -0,0 +1,70 @@
+# 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..13} )
+
+inherit distutils-r1
+
+EGIT_COMMIT=0f5fc6cbafa3e7c84f258d1865996d97ae67a318
+MY_P=${PN}-${EGIT_COMMIT}
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/${EGIT_COMMIT}.tar.gz
+   -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/attrs-23.2.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/exceptiongroup-1.2.1[${PYTHON_USEDEP}]
+   ' 3.10)
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/pyopenssl[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+# Bug https://bugs.gentoo.org/916756
+# distutils_enable_sphinx docs/source \
+#  dev-python/immutables \
+#  dev-python/sphinxcontrib-trio \
+#  dev-python/sphinx-rtd-theme \
+#  dev-python/towncrier
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+   # requires ruff
+   _tests/tools/test_gen_exports.py
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   rm -rf trio || die
+   epytest -p trio._tests.pytest_plugin \
+   -m "not redistributors_should_skip" \
+   --pyargs trio \
+   --skip-optional-imports
+}



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

2024-06-01 Thread Michał Górny
commit: f480f53915d83c36f7fdf3c64b59fa439904f3e6
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Jun  1 07:17:35 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Jun  1 07:21:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f480f539

dev-python/trio: Remove old

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

 dev-python/trio/Manifest   |  1 -
 dev-python/trio/trio-0.25.0.ebuild | 67 --
 2 files changed, 68 deletions(-)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 046872e4ce76..a93d70421ad8 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,2 +1 @@
-DIST trio-0.25.0.gh.tar.gz 599079 BLAKE2B 
d0615111fba3981c89d72a6eff93e9f500854e94f7227f3f235d4effa4ab53b9a280278b62db90c4a9612028edc5c9892b56464c9ee5b7e3c8120086dfc64e56
 SHA512 
0690193c501e054b5c2d96ea208d6a49b9ac860dd63a58c4b5cec5b5f6f197fc5eae0e2fae99ef498d5d1513b189a75504905bd5cc6dc34ae791e3451655933a
 DIST trio-0.25.1.gh.tar.gz 600963 BLAKE2B 
f72df0069ff48f198f7c31221c721ffb127c4cac6c4e004547d62aa5f184673fde09e2baad5c383b206deffec4ef1b04dafad883dad0b2ced2625d72ac842887
 SHA512 
0a924a1c52ed5153e51cc3343c92b7f6218cf8c56ba2e66b6fe40d27d2acfa7475c3014b8fc5fd22e46df1782530a75f899dbb35d1c875331400957891bd70aa

diff --git a/dev-python/trio/trio-0.25.0.ebuild 
b/dev-python/trio/trio-0.25.0.ebuild
deleted file mode 100644
index 9a7f71be22f6..
--- a/dev-python/trio/trio-0.25.0.ebuild
+++ /dev/null
@@ -1,67 +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
-
-DESCRIPTION="Python library for async concurrency and I/O"
-HOMEPAGE="
-   https://github.com/python-trio/trio/
-   https://pypi.org/project/trio/
-"
-SRC_URI="
-   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/attrs-23.2.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/exceptiongroup[${PYTHON_USEDEP}]
-   ' 3.10)
-   dev-python/idna[${PYTHON_USEDEP}]
-   dev-python/outcome[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}]
-   dev-python/sortedcontainers[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
-   dev-python/pyopenssl[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-# Bug https://bugs.gentoo.org/916756
-# distutils_enable_sphinx docs/source \
-#  dev-python/immutables \
-#  dev-python/sphinxcontrib-trio \
-#  dev-python/sphinx-rtd-theme \
-#  dev-python/towncrier
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # Times out on slower arches (ia64 in this case)
-   # https://github.com/python-trio/trio/issues/1753
-   tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
-   # requires ruff
-   _tests/tools/test_gen_exports.py
-   )
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   rm -rf trio || die
-   epytest -p trio._tests.pytest_plugin \
-   -m "not redistributors_should_skip" \
-   --pyargs trio \
-   --skip-optional-imports
-}



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

2024-06-01 Thread Arthur Zamarin
commit: 575381a25735f5695bb1f76047cff1ef40a936c7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Jun  1 07:10:28 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Jun  1 07:10:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=575381a2

dev-python/trio: Stabilize 0.25.1 ALLARCHES, #98

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

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

diff --git a/dev-python/trio/trio-0.25.1.ebuild 
b/dev-python/trio/trio-0.25.1.ebuild
index 01f9924188d7..9a7f71be22f6 100644
--- a/dev-python/trio/trio-0.25.1.ebuild
+++ b/dev-python/trio/trio-0.25.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/attrs-23.2.0[${PYTHON_USEDEP}]



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

2024-05-16 Thread Michał Górny
commit: a05e21f20f9f13627d797481f41d414023954d38
Author: Michał Górny  gentoo  org>
AuthorDate: Thu May 16 14:59:32 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu May 16 15:28:26 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a05e21f2

dev-python/trio: Bump to 0.25.1

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

 dev-python/trio/Manifest   |  1 +
 dev-python/trio/trio-0.25.1.ebuild | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 24faf192634e..046872e4ce76 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1 +1,2 @@
 DIST trio-0.25.0.gh.tar.gz 599079 BLAKE2B 
d0615111fba3981c89d72a6eff93e9f500854e94f7227f3f235d4effa4ab53b9a280278b62db90c4a9612028edc5c9892b56464c9ee5b7e3c8120086dfc64e56
 SHA512 
0690193c501e054b5c2d96ea208d6a49b9ac860dd63a58c4b5cec5b5f6f197fc5eae0e2fae99ef498d5d1513b189a75504905bd5cc6dc34ae791e3451655933a
+DIST trio-0.25.1.gh.tar.gz 600963 BLAKE2B 
f72df0069ff48f198f7c31221c721ffb127c4cac6c4e004547d62aa5f184673fde09e2baad5c383b206deffec4ef1b04dafad883dad0b2ced2625d72ac842887
 SHA512 
0a924a1c52ed5153e51cc3343c92b7f6218cf8c56ba2e66b6fe40d27d2acfa7475c3014b8fc5fd22e46df1782530a75f899dbb35d1c875331400957891bd70aa

diff --git a/dev-python/trio/trio-0.25.1.ebuild 
b/dev-python/trio/trio-0.25.1.ebuild
new file mode 100644
index ..01f9924188d7
--- /dev/null
+++ b/dev-python/trio/trio-0.25.1.ebuild
@@ -0,0 +1,67 @@
+# 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
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/attrs-23.2.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/exceptiongroup[${PYTHON_USEDEP}]
+   ' 3.10)
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/pyopenssl[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+# Bug https://bugs.gentoo.org/916756
+# distutils_enable_sphinx docs/source \
+#  dev-python/immutables \
+#  dev-python/sphinxcontrib-trio \
+#  dev-python/sphinx-rtd-theme \
+#  dev-python/towncrier
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+   # requires ruff
+   _tests/tools/test_gen_exports.py
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   rm -rf trio || die
+   epytest -p trio._tests.pytest_plugin \
+   -m "not redistributors_should_skip" \
+   --pyargs trio \
+   --skip-optional-imports
+}



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

2024-04-06 Thread Michał Górny
commit: dae37ee54717c19e332d9cb5298fc13905d37a81
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  6 09:34:08 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  6 09:35:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae37ee5

dev-python/trio: Remove old

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

 dev-python/trio/Manifest |  1 -
 dev-python/trio/files/trio-0.24.0-musl.patch | 66 -
 dev-python/trio/trio-0.24.0.ebuild   | 72 
 3 files changed, 139 deletions(-)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 020113c99594..24faf192634e 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,2 +1 @@
-DIST trio-0.24.0.gh.tar.gz 592652 BLAKE2B 
c102c6b6e25b497a5823b58b926f43d06905a8aaa41434d9503c127cb1b26a3c58594edc90e48e9acea6e6ffbc36a2d02a9f1805b14ba65a77ffedcbb8cf48f8
 SHA512 
3f52e770a19c45b5227ffd34e7ae4664ee739dbae81c09e1e4bf2bd3eddb414ff9ab32dd2b18d59e420a18660a2f7db7ad2cda9f725729dda7e99f7a89b66bbc
 DIST trio-0.25.0.gh.tar.gz 599079 BLAKE2B 
d0615111fba3981c89d72a6eff93e9f500854e94f7227f3f235d4effa4ab53b9a280278b62db90c4a9612028edc5c9892b56464c9ee5b7e3c8120086dfc64e56
 SHA512 
0690193c501e054b5c2d96ea208d6a49b9ac860dd63a58c4b5cec5b5f6f197fc5eae0e2fae99ef498d5d1513b189a75504905bd5cc6dc34ae791e3451655933a

diff --git a/dev-python/trio/files/trio-0.24.0-musl.patch 
b/dev-python/trio/files/trio-0.24.0-musl.patch
deleted file mode 100644
index b5b692bf6e0c..
--- a/dev-python/trio/files/trio-0.24.0-musl.patch
+++ /dev/null
@@ -1,66 +0,0 @@
-From c8c19570aa9e46b67d44228241e7401af96cbccd Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
-Date: Mon, 29 Jan 2024 17:48:40 +0100
-Subject: [PATCH] Fix finding pthread_*name_np on vanilla musl libc
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Fix the `pthread_getname_np` and `pthread_setname_np` search logic
-to support vanilla versions of musl and CPython, e.g. as used on Gentoo
-musl systems.  On such systems, there is no "libpthread.so" (there is
-only a static library) and the relevant functions are found
-in "libc.so".  Additionally, `ctypes.util.find_library("c")` does not
-work because of an old unsolved bug in CPython (linked in the code).
-
-To resolve the problem, add a fallback to trying `libc.so` if no pthread
-library can be found.  This roughly covers three possibilities:
-
-- a "typical" system with `libpthread.so` will find that library
-  and use it
-
-- a musl system will fall back to `libc.so`, load that library and find
-  pthread functions there
-
-- any other system will try to load `libc.so`, and fail
-
-The code in `get_os_thread_name_func()` remains fully relaxed, allowing
-either CDLL construction (i.e. finding the library) to fail,
-or the library not to contain `pthread_setname_np`.
-
-The code in `test_threads.py` was made more relaxed — rather than
-skipping if `libpthread.so` does not exist, it tries to load `libc.so`
-as a fallback, and skips if that fails.
-
-Originally reported as https://bugs.gentoo.org/923257.

- newsfragments/2939.bugfix.rst   |  1 +
- src/trio/_core/_thread_cache.py |  9 +++--
- src/trio/_tests/test_threads.py | 12 ++--
- 3 files changed, 18 insertions(+), 4 deletions(-)
- create mode 100644 newsfragments/2939.bugfix.rst
-
-diff --git a/src/trio/_tests/test_threads.py b/src/trio/_tests/test_threads.py
-index aefb4ba27..326cffd6b 100644
 a/src/trio/_tests/test_threads.py
-+++ b/src/trio/_tests/test_threads.py
-@@ -237,9 +237,17 @@ def _get_thread_name(ident: int | None = None) -> str | 
None:
- 
- libpthread_path = ctypes.util.find_library("pthread")
- if not libpthread_path:
--print(f"no pthread on {sys.platform})")
-+# musl includes pthread functions directly in libc.so
-+# (but note that find_library("c") does not work on musl,
-+#  see: https://github.com/python/cpython/issues/65821)
-+# so try that library instead
-+# if it doesn't exist, CDLL() will fail below
-+libpthread_path = "libc.so"
-+try:
-+libpthread = ctypes.CDLL(libpthread_path)
-+except Exception:
-+print(f"no pthread on {sys.platform}")
- return None
--libpthread = ctypes.CDLL(libpthread_path)
- 
- pthread_getname_np = getattr(libpthread, "pthread_getname_np", None)
- 

diff --git a/dev-python/trio/trio-0.24.0.ebuild 
b/dev-python/trio/trio-0.24.0.ebuild
deleted file mode 100644
index 731ec9713527..
--- a/dev-python/trio/trio-0.24.0.ebuild
+++ /dev/null
@@ -1,72 +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
-
-DESCRIPTION="Python library for async concurrency and I/O"

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

2024-04-06 Thread Arthur Zamarin
commit: 0dca557da875a9ee62f8bc84e472c545e1c99467
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr  6 09:32:22 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr  6 09:32:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dca557d

dev-python/trio: Stabilize 0.25.0 ALLARCHES, #928712

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

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

diff --git a/dev-python/trio/trio-0.25.0.ebuild 
b/dev-python/trio/trio-0.25.0.ebuild
index 01f9924188d7..9a7f71be22f6 100644
--- a/dev-python/trio/trio-0.25.0.ebuild
+++ b/dev-python/trio/trio-0.25.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/attrs-23.2.0[${PYTHON_USEDEP}]



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

2024-03-17 Thread Michał Górny
commit: 3bfd8db4c3a3aed879afd165dcab7a84560e9f3c
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 17 16:34:44 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 17 16:41:13 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bfd8db4

dev-python/trio: Bump to 0.25.0

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

 dev-python/trio/Manifest   |  1 +
 dev-python/trio/trio-0.25.0.ebuild | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 869a2b867e39..020113c99594 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1 +1,2 @@
 DIST trio-0.24.0.gh.tar.gz 592652 BLAKE2B 
c102c6b6e25b497a5823b58b926f43d06905a8aaa41434d9503c127cb1b26a3c58594edc90e48e9acea6e6ffbc36a2d02a9f1805b14ba65a77ffedcbb8cf48f8
 SHA512 
3f52e770a19c45b5227ffd34e7ae4664ee739dbae81c09e1e4bf2bd3eddb414ff9ab32dd2b18d59e420a18660a2f7db7ad2cda9f725729dda7e99f7a89b66bbc
+DIST trio-0.25.0.gh.tar.gz 599079 BLAKE2B 
d0615111fba3981c89d72a6eff93e9f500854e94f7227f3f235d4effa4ab53b9a280278b62db90c4a9612028edc5c9892b56464c9ee5b7e3c8120086dfc64e56
 SHA512 
0690193c501e054b5c2d96ea208d6a49b9ac860dd63a58c4b5cec5b5f6f197fc5eae0e2fae99ef498d5d1513b189a75504905bd5cc6dc34ae791e3451655933a

diff --git a/dev-python/trio/trio-0.25.0.ebuild 
b/dev-python/trio/trio-0.25.0.ebuild
new file mode 100644
index ..01f9924188d7
--- /dev/null
+++ b/dev-python/trio/trio-0.25.0.ebuild
@@ -0,0 +1,67 @@
+# 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
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/attrs-23.2.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/exceptiongroup[${PYTHON_USEDEP}]
+   ' 3.10)
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/pyopenssl[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+# Bug https://bugs.gentoo.org/916756
+# distutils_enable_sphinx docs/source \
+#  dev-python/immutables \
+#  dev-python/sphinxcontrib-trio \
+#  dev-python/sphinx-rtd-theme \
+#  dev-python/towncrier
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+   # requires ruff
+   _tests/tools/test_gen_exports.py
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   rm -rf trio || die
+   epytest -p trio._tests.pytest_plugin \
+   -m "not redistributors_should_skip" \
+   --pyargs trio \
+   --skip-optional-imports
+}



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

2024-01-30 Thread Michał Górny
commit: f9f329f1b005a1271bd1e76c56f9d60c12ec5f94
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 30 14:29:00 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 30 16:35:56 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9f329f1

dev-python/trio: Backport a musl fix

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

 dev-python/trio/files/trio-0.24.0-musl.patch | 66 
 dev-python/trio/trio-0.24.0.ebuild   |  5 +++
 2 files changed, 71 insertions(+)

diff --git a/dev-python/trio/files/trio-0.24.0-musl.patch 
b/dev-python/trio/files/trio-0.24.0-musl.patch
new file mode 100644
index ..b5b692bf6e0c
--- /dev/null
+++ b/dev-python/trio/files/trio-0.24.0-musl.patch
@@ -0,0 +1,66 @@
+From c8c19570aa9e46b67d44228241e7401af96cbccd Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= 
+Date: Mon, 29 Jan 2024 17:48:40 +0100
+Subject: [PATCH] Fix finding pthread_*name_np on vanilla musl libc
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Fix the `pthread_getname_np` and `pthread_setname_np` search logic
+to support vanilla versions of musl and CPython, e.g. as used on Gentoo
+musl systems.  On such systems, there is no "libpthread.so" (there is
+only a static library) and the relevant functions are found
+in "libc.so".  Additionally, `ctypes.util.find_library("c")` does not
+work because of an old unsolved bug in CPython (linked in the code).
+
+To resolve the problem, add a fallback to trying `libc.so` if no pthread
+library can be found.  This roughly covers three possibilities:
+
+- a "typical" system with `libpthread.so` will find that library
+  and use it
+
+- a musl system will fall back to `libc.so`, load that library and find
+  pthread functions there
+
+- any other system will try to load `libc.so`, and fail
+
+The code in `get_os_thread_name_func()` remains fully relaxed, allowing
+either CDLL construction (i.e. finding the library) to fail,
+or the library not to contain `pthread_setname_np`.
+
+The code in `test_threads.py` was made more relaxed — rather than
+skipping if `libpthread.so` does not exist, it tries to load `libc.so`
+as a fallback, and skips if that fails.
+
+Originally reported as https://bugs.gentoo.org/923257.
+---
+ newsfragments/2939.bugfix.rst   |  1 +
+ src/trio/_core/_thread_cache.py |  9 +++--
+ src/trio/_tests/test_threads.py | 12 ++--
+ 3 files changed, 18 insertions(+), 4 deletions(-)
+ create mode 100644 newsfragments/2939.bugfix.rst
+
+diff --git a/src/trio/_tests/test_threads.py b/src/trio/_tests/test_threads.py
+index aefb4ba27..326cffd6b 100644
+--- a/src/trio/_tests/test_threads.py
 b/src/trio/_tests/test_threads.py
+@@ -237,9 +237,17 @@ def _get_thread_name(ident: int | None = None) -> str | 
None:
+ 
+ libpthread_path = ctypes.util.find_library("pthread")
+ if not libpthread_path:
+-print(f"no pthread on {sys.platform})")
++# musl includes pthread functions directly in libc.so
++# (but note that find_library("c") does not work on musl,
++#  see: https://github.com/python/cpython/issues/65821)
++# so try that library instead
++# if it doesn't exist, CDLL() will fail below
++libpthread_path = "libc.so"
++try:
++libpthread = ctypes.CDLL(libpthread_path)
++except Exception:
++print(f"no pthread on {sys.platform}")
+ return None
+-libpthread = ctypes.CDLL(libpthread_path)
+ 
+ pthread_getname_np = getattr(libpthread, "pthread_getname_np", None)
+ 

diff --git a/dev-python/trio/trio-0.24.0.ebuild 
b/dev-python/trio/trio-0.24.0.ebuild
index 4ad16f8afab3..731ec9713527 100644
--- a/dev-python/trio/trio-0.24.0.ebuild
+++ b/dev-python/trio/trio-0.24.0.ebuild
@@ -49,6 +49,11 @@ distutils_enable_tests pytest
 #  dev-python/sphinx-rtd-theme \
 #  dev-python/towncrier
 
+PATCHES=(
+   # https://github.com/python-trio/trio/pull/2939
+   "${FILESDIR}/${P}-musl.patch"
+)
+
 python_test() {
local EPYTEST_DESELECT=(
# Times out on slower arches (ia64 in this case)



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

2024-01-24 Thread Michał Górny
commit: a96f6c483d9813abaa225520c6921a150e808bbd
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 24 19:03:41 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 24 19:03:41 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a96f6c48

dev-python/trio: Remove old

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

 dev-python/trio/Manifest   |  1 -
 dev-python/trio/trio-0.23.2.ebuild | 67 --
 2 files changed, 68 deletions(-)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 16d9b2fb18a5..869a2b867e39 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,2 +1 @@
-DIST trio-0.23.2.gh.tar.gz 592068 BLAKE2B 
4f985c03528343f6091988984b081399f4a661f73896af13b4face0c7eab242d763d4ae964d36f8c9d0fcce797518283a492edd556a83af10502c8fc617cdb91
 SHA512 
a77b2a20459eb4989e9db6d21b06472b3cce51f4cb28cc6f3ab2f3e1684b3ccb37775e0d60af1f121c63a54fb92d62955f76109c922879234f0a21ce8c9f20c1
 DIST trio-0.24.0.gh.tar.gz 592652 BLAKE2B 
c102c6b6e25b497a5823b58b926f43d06905a8aaa41434d9503c127cb1b26a3c58594edc90e48e9acea6e6ffbc36a2d02a9f1805b14ba65a77ffedcbb8cf48f8
 SHA512 
3f52e770a19c45b5227ffd34e7ae4664ee739dbae81c09e1e4bf2bd3eddb414ff9ab32dd2b18d59e420a18660a2f7db7ad2cda9f725729dda7e99f7a89b66bbc

diff --git a/dev-python/trio/trio-0.23.2.ebuild 
b/dev-python/trio/trio-0.23.2.ebuild
deleted file mode 100644
index a33b0eef3404..
--- a/dev-python/trio/trio-0.23.2.ebuild
+++ /dev/null
@@ -1,67 +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
-
-DESCRIPTION="Python library for async concurrency and I/O"
-HOMEPAGE="
-   https://github.com/python-trio/trio/
-   https://pypi.org/project/trio/
-"
-SRC_URI="
-   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   dev-python/exceptiongroup[${PYTHON_USEDEP}]
-   ' 3.10)
-   dev-python/idna[${PYTHON_USEDEP}]
-   dev-python/outcome[${PYTHON_USEDEP}]
-   >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}]
-   dev-python/sortedcontainers[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
-   dev-python/pyopenssl[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-# Bug https://bugs.gentoo.org/916756
-# distutils_enable_sphinx docs/source \
-#  dev-python/immutables \
-#  dev-python/sphinxcontrib-trio \
-#  dev-python/sphinx-rtd-theme \
-#  dev-python/towncrier
-
-python_test() {
-   local EPYTEST_DESELECT=(
-   # Times out on slower arches (ia64 in this case)
-   # https://github.com/python-trio/trio/issues/1753
-   tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
-   # requires ruff
-   _tests/tools/test_gen_exports.py
-   )
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   rm -rf trio || die
-   epytest -p trio._tests.pytest_plugin \
-   -m "not redistributors_should_skip" \
-   --pyargs trio \
-   --skip-optional-imports
-}



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

2024-01-24 Thread Michał Górny
commit: c4e012d4831281437c604288e54a7e51c5d0718b
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 24 18:59:00 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 24 18:59:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4e012d4

dev-python/trio: Stabilize 0.24.0 ALLARCHES, #922857

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

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

diff --git a/dev-python/trio/trio-0.24.0.ebuild 
b/dev-python/trio/trio-0.24.0.ebuild
index 5d1d9d45c09b..4ad16f8afab3 100644
--- a/dev-python/trio/trio-0.24.0.ebuild
+++ b/dev-python/trio/trio-0.24.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]



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

2024-01-09 Thread Michał Górny
commit: a69334018dac557f820a22b7802b6d80a81dcf8b
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jan 10 04:38:57 2024 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jan 10 04:38:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6933401

dev-python/trio: Bump to 0.24.0

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

 dev-python/trio/Manifest   |  1 +
 dev-python/trio/trio-0.24.0.ebuild | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 3d552d43f288..16d9b2fb18a5 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1 +1,2 @@
 DIST trio-0.23.2.gh.tar.gz 592068 BLAKE2B 
4f985c03528343f6091988984b081399f4a661f73896af13b4face0c7eab242d763d4ae964d36f8c9d0fcce797518283a492edd556a83af10502c8fc617cdb91
 SHA512 
a77b2a20459eb4989e9db6d21b06472b3cce51f4cb28cc6f3ab2f3e1684b3ccb37775e0d60af1f121c63a54fb92d62955f76109c922879234f0a21ce8c9f20c1
+DIST trio-0.24.0.gh.tar.gz 592652 BLAKE2B 
c102c6b6e25b497a5823b58b926f43d06905a8aaa41434d9503c127cb1b26a3c58594edc90e48e9acea6e6ffbc36a2d02a9f1805b14ba65a77ffedcbb8cf48f8
 SHA512 
3f52e770a19c45b5227ffd34e7ae4664ee739dbae81c09e1e4bf2bd3eddb414ff9ab32dd2b18d59e420a18660a2f7db7ad2cda9f725729dda7e99f7a89b66bbc

diff --git a/dev-python/trio/trio-0.24.0.ebuild 
b/dev-python/trio/trio-0.24.0.ebuild
new file mode 100644
index ..5d1d9d45c09b
--- /dev/null
+++ b/dev-python/trio/trio-0.24.0.ebuild
@@ -0,0 +1,67 @@
+# 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
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/exceptiongroup[${PYTHON_USEDEP}]
+   ' 3.10)
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/pyopenssl[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+# Bug https://bugs.gentoo.org/916756
+# distutils_enable_sphinx docs/source \
+#  dev-python/immutables \
+#  dev-python/sphinxcontrib-trio \
+#  dev-python/sphinx-rtd-theme \
+#  dev-python/towncrier
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+   # requires ruff
+   _tests/tools/test_gen_exports.py
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   rm -rf trio || die
+   epytest -p trio._tests.pytest_plugin \
+   -m "not redistributors_should_skip" \
+   --pyargs trio \
+   --skip-optional-imports
+}



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

2023-12-30 Thread Michał Górny
commit: a1e4768679f0d2fbf0eb71cd9372d80575673607
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Dec 30 14:35:04 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Dec 30 14:40:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e47686

dev-python/trio: Remove old

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

 dev-python/trio/Manifest   |  1 -
 dev-python/trio/trio-0.23.1.ebuild | 77 --
 2 files changed, 78 deletions(-)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 59f0a7b69372..3d552d43f288 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,2 +1 @@
-DIST trio-0.23.1.gh.tar.gz 585734 BLAKE2B 
07a03f9ddd26f4e69bda651bc0821bb02895a244400cc5ec829b82e027304722248f7cf608bad8afb928e54736034349d736ca1aaa40b470cbbc3c1a74e3c77c
 SHA512 
e7348cefb364689060c32987120c50081c677531fb4082a68956c431112b9966af6db09ebdca036980af660e48c2bc8addd05b58d62678d45ed7ffa1ce862dcc
 DIST trio-0.23.2.gh.tar.gz 592068 BLAKE2B 
4f985c03528343f6091988984b081399f4a661f73896af13b4face0c7eab242d763d4ae964d36f8c9d0fcce797518283a492edd556a83af10502c8fc617cdb91
 SHA512 
a77b2a20459eb4989e9db6d21b06472b3cce51f4cb28cc6f3ab2f3e1684b3ccb37775e0d60af1f121c63a54fb92d62955f76109c922879234f0a21ce8c9f20c1

diff --git a/dev-python/trio/trio-0.23.1.ebuild 
b/dev-python/trio/trio-0.23.1.ebuild
deleted file mode 100644
index 624ad7f553d2..
--- a/dev-python/trio/trio-0.23.1.ebuild
+++ /dev/null
@@ -1,77 +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
-
-DESCRIPTION="Python library for async concurrency and I/O"
-HOMEPAGE="
-   https://github.com/python-trio/trio/
-   https://pypi.org/project/trio/
-"
-SRC_URI="
-   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}]
-   ' 3.10)
-   dev-python/idna[${PYTHON_USEDEP}]
-   dev-python/outcome[${PYTHON_USEDEP}]
-   dev-python/sniffio[${PYTHON_USEDEP}]
-   dev-python/sortedcontainers[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
-   dev-python/pyopenssl[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-# Bug https://bugs.gentoo.org/916756
-# distutils_enable_sphinx docs/source \
-#  dev-python/immutables \
-#  dev-python/sphinxcontrib-trio \
-#  dev-python/sphinx-rtd-theme \
-#  dev-python/towncrier
-
-python_test() {
-   local EPYTEST_IGNORE=(
-   # these tests require internet access
-   trio/tests/test_ssl.py
-   trio/tests/test_highlevel_ssl_helpers.py
-   # requires isort
-   trio/_tests/tools/test_gen_exports.py
-   )
-
-   local EPYTEST_DESELECT=(
-   # Times out on slower arches (ia64 in this case)
-   # https://github.com/python-trio/trio/issues/1753
-   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
-
-   # incompatible ipython version?
-   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
-   )
-   if [[ ${EPYTHON} == python3.12 ]]; then
-   EPYTEST_DESELECT+=(
-   
trio/_core/_tests/test_run.py::test_nursery_cancel_doesnt_create_cyclic_garbage
-   )
-   fi
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -p trio._tests.pytest_plugin -m "not redistributors_should_skip"
-}



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

2023-12-30 Thread Arthur Zamarin
commit: ef3e4b27537e63500b2f861aa8766f48c7f2a5d6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 30 14:28:41 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 30 14:28:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef3e4b27

dev-python/trio: Stabilize 0.23.2 ALLARCHES, #921050

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

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

diff --git a/dev-python/trio/trio-0.23.2.ebuild 
b/dev-python/trio/trio-0.23.2.ebuild
index 3e69d96168ca..a33b0eef3404 100644
--- a/dev-python/trio/trio-0.23.2.ebuild
+++ b/dev-python/trio/trio-0.23.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]



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

2023-12-14 Thread Michał Górny
commit: 7f4c1c23533477079142bee0cbdd36724d92a60f
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Dec 14 13:14:16 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Dec 14 13:57:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f4c1c23

dev-python/trio: Bump to 0.23.2

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

 dev-python/trio/Manifest   |  1 +
 dev-python/trio/trio-0.23.2.ebuild | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index f3d7406ac47e..59f0a7b69372 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1 +1,2 @@
 DIST trio-0.23.1.gh.tar.gz 585734 BLAKE2B 
07a03f9ddd26f4e69bda651bc0821bb02895a244400cc5ec829b82e027304722248f7cf608bad8afb928e54736034349d736ca1aaa40b470cbbc3c1a74e3c77c
 SHA512 
e7348cefb364689060c32987120c50081c677531fb4082a68956c431112b9966af6db09ebdca036980af660e48c2bc8addd05b58d62678d45ed7ffa1ce862dcc
+DIST trio-0.23.2.gh.tar.gz 592068 BLAKE2B 
4f985c03528343f6091988984b081399f4a661f73896af13b4face0c7eab242d763d4ae964d36f8c9d0fcce797518283a492edd556a83af10502c8fc617cdb91
 SHA512 
a77b2a20459eb4989e9db6d21b06472b3cce51f4cb28cc6f3ab2f3e1684b3ccb37775e0d60af1f121c63a54fb92d62955f76109c922879234f0a21ce8c9f20c1

diff --git a/dev-python/trio/trio-0.23.2.ebuild 
b/dev-python/trio/trio-0.23.2.ebuild
new file mode 100644
index ..3e69d96168ca
--- /dev/null
+++ b/dev-python/trio/trio-0.23.2.ebuild
@@ -0,0 +1,67 @@
+# 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
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   dev-python/exceptiongroup[${PYTHON_USEDEP}]
+   ' 3.10)
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   >=dev-python/sniffio-1.3.0[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/pyopenssl[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+# Bug https://bugs.gentoo.org/916756
+# distutils_enable_sphinx docs/source \
+#  dev-python/immutables \
+#  dev-python/sphinxcontrib-trio \
+#  dev-python/sphinx-rtd-theme \
+#  dev-python/towncrier
+
+python_test() {
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+   # requires ruff
+   _tests/tools/test_gen_exports.py
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   rm -rf trio || die
+   epytest -p trio._tests.pytest_plugin \
+   -m "not redistributors_should_skip" \
+   --pyargs trio \
+   --skip-optional-imports
+}



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

2023-11-29 Thread Michał Górny
commit: 54f612eec9a947e455dbce7ee1411cebeecef20f
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 29 10:21:55 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 29 10:21:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54f612ee

dev-python/trio: Remove old

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

 dev-python/trio/Manifest   |  2 -
 dev-python/trio/trio-0.22.2.ebuild | 74 -
 dev-python/trio/trio-0.23.0.ebuild | 76 --
 3 files changed, 152 deletions(-)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 16e68b5c9c1b..f3d7406ac47e 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,3 +1 @@
-DIST trio-0.22.2.gh.tar.gz 536949 BLAKE2B 
f469f306d826d110defabf14956bdfe390a0f36da16da7e6e0426573cc9faf8943514b67a22fa44463c35f1e02c61c4aa3fd8da6bc408339a77367953fc62be0
 SHA512 
c3f08b8a1a37c0a06e520c7c5cf6ab5ffa2366c0e8599ae831e896e79bb144ee13ea426c8e6d8278f4620eae15c3c3af6c46c8b4526147336e30050bbf20
-DIST trio-0.23.0.gh.tar.gz 585629 BLAKE2B 
e8d3432dd199cf6f4fa174a92696e08d0ff2a75d783ec65c217a8049cba1132821503f783b85a89f629ca39b9278711af76df5431cd14ba319fc8654585a16cc
 SHA512 
01fab7447f7e8cde3223077ef45a788d67df8348a44325c72209f14b48f4c8510de17fc88e8c02921568274907e79599061894a12987db76e33f84dd040c5e81
 DIST trio-0.23.1.gh.tar.gz 585734 BLAKE2B 
07a03f9ddd26f4e69bda651bc0821bb02895a244400cc5ec829b82e027304722248f7cf608bad8afb928e54736034349d736ca1aaa40b470cbbc3c1a74e3c77c
 SHA512 
e7348cefb364689060c32987120c50081c677531fb4082a68956c431112b9966af6db09ebdca036980af660e48c2bc8addd05b58d62678d45ed7ffa1ce862dcc

diff --git a/dev-python/trio/trio-0.22.2.ebuild 
b/dev-python/trio/trio-0.22.2.ebuild
deleted file mode 100644
index 004b6a9d6bbf..
--- a/dev-python/trio/trio-0.22.2.ebuild
+++ /dev/null
@@ -1,74 +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
-
-DESCRIPTION="Python library for async concurrency and I/O"
-HOMEPAGE="
-   https://github.com/python-trio/trio/
-   https://pypi.org/project/trio/
-"
-SRC_URI="
-   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}]
-   ' 3.{9..10})
-   dev-python/idna[${PYTHON_USEDEP}]
-   dev-python/outcome[${PYTHON_USEDEP}]
-   dev-python/sniffio[${PYTHON_USEDEP}]
-   dev-python/sortedcontainers[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
-   dev-python/pyopenssl[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs/source \
-   dev-python/immutables \
-   dev-python/sphinxcontrib-trio \
-   dev-python/sphinx-rtd-theme \
-   dev-python/towncrier
-
-python_test() {
-   local EPYTEST_IGNORE=(
-   # these tests require internet access
-   trio/tests/test_ssl.py
-   trio/tests/test_highlevel_ssl_helpers.py
-   )
-
-   local EPYTEST_DESELECT=(
-   # Times out on slower arches (ia64 in this case)
-   # https://github.com/python-trio/trio/issues/1753
-   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
-
-   # incompatible ipython version?
-   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
-   )
-   if [[ ${EPYTHON} == python3.12 ]]; then
-   EPYTEST_DESELECT+=(
-   
trio/_core/_tests/test_run.py::test_nursery_cancel_doesnt_create_cyclic_garbage
-   )
-   fi
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -p trio._tests.pytest_plugin  -m "not 
redistributors_should_skip"
-}

diff --git a/dev-python/trio/trio-0.23.0.ebuild 
b/dev-python/trio/trio-0.23.0.ebuild
deleted file mode 100644
index 184d0483cb5e..
--- a/dev-python/trio/trio-0.23.0.ebuild
+++ /dev/null
@@ -1,76 +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
-
-DESCRIPTION="Python library for async concurrency and I/O"
-HOMEPAGE="
-   https://github.com/python-trio/trio/
-   https://pypi.org/project/trio/
-"
-SRC_URI="
-   

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

2023-11-29 Thread Michał Górny
commit: 73427024a29282b48e49652325741bf0054cf9cf
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Nov 29 10:21:08 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Nov 29 10:21:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73427024

dev-python/trio: Stabilize 0.23.1 ALLARCHES, #918833

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

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

diff --git a/dev-python/trio/trio-0.23.1.ebuild 
b/dev-python/trio/trio-0.23.1.ebuild
index 7a37e52ef4a0..624ad7f553d2 100644
--- a/dev-python/trio/trio-0.23.1.ebuild
+++ b/dev-python/trio/trio-0.23.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]



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

2023-11-10 Thread Andrew Ammerlaan
commit: adf210e5273d9ac5e94f6ec570cdd3d0154003dc
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Fri Nov 10 13:34:11 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Fri Nov 10 13:35:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adf210e5

dev-python/trio: drop USE=doc

Closes: https://bugs.gentoo.org/916756
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/trio/trio-0.23.1.ebuild | 11 ++-
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/dev-python/trio/trio-0.23.1.ebuild 
b/dev-python/trio/trio-0.23.1.ebuild
index 4704db8dd458..7a37e52ef4a0 100644
--- a/dev-python/trio/trio-0.23.1.ebuild
+++ b/dev-python/trio/trio-0.23.1.ebuild
@@ -42,11 +42,12 @@ BDEPEND="
 "
 
 distutils_enable_tests pytest
-distutils_enable_sphinx docs/source \
-   dev-python/immutables \
-   dev-python/sphinxcontrib-trio \
-   dev-python/sphinx-rtd-theme \
-   dev-python/towncrier
+# Bug https://bugs.gentoo.org/916756
+# distutils_enable_sphinx docs/source \
+#  dev-python/immutables \
+#  dev-python/sphinxcontrib-trio \
+#  dev-python/sphinx-rtd-theme \
+#  dev-python/towncrier
 
 python_test() {
local EPYTEST_IGNORE=(



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

2023-11-04 Thread Arthur Zamarin
commit: 93f782c8c53ba754d8d493c64617458dc5d41361
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov  4 16:11:05 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov  4 17:14:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93f782c8

dev-python/trio: add 0.23.1

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

 dev-python/trio/Manifest   |  1 +
 dev-python/trio/trio-0.23.1.ebuild | 76 ++
 2 files changed, 77 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 04ce3c5edd4b..16e68b5c9c1b 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,2 +1,3 @@
 DIST trio-0.22.2.gh.tar.gz 536949 BLAKE2B 
f469f306d826d110defabf14956bdfe390a0f36da16da7e6e0426573cc9faf8943514b67a22fa44463c35f1e02c61c4aa3fd8da6bc408339a77367953fc62be0
 SHA512 
c3f08b8a1a37c0a06e520c7c5cf6ab5ffa2366c0e8599ae831e896e79bb144ee13ea426c8e6d8278f4620eae15c3c3af6c46c8b4526147336e30050bbf20
 DIST trio-0.23.0.gh.tar.gz 585629 BLAKE2B 
e8d3432dd199cf6f4fa174a92696e08d0ff2a75d783ec65c217a8049cba1132821503f783b85a89f629ca39b9278711af76df5431cd14ba319fc8654585a16cc
 SHA512 
01fab7447f7e8cde3223077ef45a788d67df8348a44325c72209f14b48f4c8510de17fc88e8c02921568274907e79599061894a12987db76e33f84dd040c5e81
+DIST trio-0.23.1.gh.tar.gz 585734 BLAKE2B 
07a03f9ddd26f4e69bda651bc0821bb02895a244400cc5ec829b82e027304722248f7cf608bad8afb928e54736034349d736ca1aaa40b470cbbc3c1a74e3c77c
 SHA512 
e7348cefb364689060c32987120c50081c677531fb4082a68956c431112b9966af6db09ebdca036980af660e48c2bc8addd05b58d62678d45ed7ffa1ce862dcc

diff --git a/dev-python/trio/trio-0.23.1.ebuild 
b/dev-python/trio/trio-0.23.1.ebuild
new file mode 100644
index ..4704db8dd458
--- /dev/null
+++ b/dev-python/trio/trio-0.23.1.ebuild
@@ -0,0 +1,76 @@
+# 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
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}]
+   ' 3.10)
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   dev-python/sniffio[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/pyopenssl[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source \
+   dev-python/immutables \
+   dev-python/sphinxcontrib-trio \
+   dev-python/sphinx-rtd-theme \
+   dev-python/towncrier
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   # these tests require internet access
+   trio/tests/test_ssl.py
+   trio/tests/test_highlevel_ssl_helpers.py
+   # requires isort
+   trio/_tests/tools/test_gen_exports.py
+   )
+
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+
+   # incompatible ipython version?
+   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
+   )
+   if [[ ${EPYTHON} == python3.12 ]]; then
+   EPYTEST_DESELECT+=(
+   
trio/_core/_tests/test_run.py::test_nursery_cancel_doesnt_create_cyclic_garbage
+   )
+   fi
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -p trio._tests.pytest_plugin -m "not redistributors_should_skip"
+}



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

2023-11-03 Thread Michał Górny
commit: 58a53b6eb3be94e7a83eed91274b06908934bb7e
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov  3 06:12:24 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov  3 07:06:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58a53b6e

dev-python/trio: Bump to 0.23.0

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

 dev-python/trio/Manifest   |  1 +
 dev-python/trio/trio-0.23.0.ebuild | 76 ++
 2 files changed, 77 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 36cb1aaccf08..04ce3c5edd4b 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1 +1,2 @@
 DIST trio-0.22.2.gh.tar.gz 536949 BLAKE2B 
f469f306d826d110defabf14956bdfe390a0f36da16da7e6e0426573cc9faf8943514b67a22fa44463c35f1e02c61c4aa3fd8da6bc408339a77367953fc62be0
 SHA512 
c3f08b8a1a37c0a06e520c7c5cf6ab5ffa2366c0e8599ae831e896e79bb144ee13ea426c8e6d8278f4620eae15c3c3af6c46c8b4526147336e30050bbf20
+DIST trio-0.23.0.gh.tar.gz 585629 BLAKE2B 
e8d3432dd199cf6f4fa174a92696e08d0ff2a75d783ec65c217a8049cba1132821503f783b85a89f629ca39b9278711af76df5431cd14ba319fc8654585a16cc
 SHA512 
01fab7447f7e8cde3223077ef45a788d67df8348a44325c72209f14b48f4c8510de17fc88e8c02921568274907e79599061894a12987db76e33f84dd040c5e81

diff --git a/dev-python/trio/trio-0.23.0.ebuild 
b/dev-python/trio/trio-0.23.0.ebuild
new file mode 100644
index ..184d0483cb5e
--- /dev/null
+++ b/dev-python/trio/trio-0.23.0.ebuild
@@ -0,0 +1,76 @@
+# 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
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}]
+   ' 3.{9..10})
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   dev-python/sniffio[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/pyopenssl[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source \
+   dev-python/immutables \
+   dev-python/sphinxcontrib-trio \
+   dev-python/sphinx-rtd-theme \
+   dev-python/towncrier
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   # these tests require internet access
+   trio/tests/test_ssl.py
+   trio/tests/test_highlevel_ssl_helpers.py
+   # requires isort
+   trio/_tests/tools/test_gen_exports.py
+   )
+
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+
+   # incompatible ipython version?
+   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
+   )
+   if [[ ${EPYTHON} == python3.12 ]]; then
+   EPYTEST_DESELECT+=(
+   
trio/_core/_tests/test_run.py::test_nursery_cancel_doesnt_create_cyclic_garbage
+   )
+   fi
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -p trio._tests.pytest_plugin  -m "not 
redistributors_should_skip"
+}



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

2023-10-14 Thread Michał Górny
commit: c10b4b79a283b58b29e3c721dfbc93a359f3378b
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Oct 14 18:41:57 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Oct 14 18:41:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c10b4b79

dev-python/trio-websocket: Remove old

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

 dev-python/trio-websocket/Manifest |  2 --
 .../trio-websocket/trio-websocket-0.10.3.ebuild| 42 --
 .../trio-websocket/trio-websocket-0.10.4.ebuild| 42 --
 3 files changed, 86 deletions(-)

diff --git a/dev-python/trio-websocket/Manifest 
b/dev-python/trio-websocket/Manifest
index 6c0455589ce0..fe2bbffe906f 100644
--- a/dev-python/trio-websocket/Manifest
+++ b/dev-python/trio-websocket/Manifest
@@ -1,3 +1 @@
-DIST trio-websocket-0.10.3.gh.tar.gz 45109 BLAKE2B 
7adad8bd59b2350d7b8e50e88710c8b9844e8b34c712615e058a6045d575671043c527ac4330941431502affc7c307d61c1f9c1b328c579a622ff11ea79fbeb6
 SHA512 
8ff50030c9616ea8baa9627f229304fbb72528fcc97d1e5ead90acc3c7d683751c0d98e9c4f779d4d65fc765b00b6ec93b6d3384070a76fe18d3318af7afa975
-DIST trio-websocket-0.10.4.gh.tar.gz 45490 BLAKE2B 
d681cc3ec9537e3c3e943831405d45a226fe61aa2482d9c9944520d5a3ecc2bbe974e63e666a5117f6bcfca2240a4b1c22a3304e6bb15fc502154df22fdbde44
 SHA512 
30b6655120a0117cda9707b793bd8a00fe0e8a578450c7fcc8fba2bb505aaf898aee355cec5e1faf13ff7da791a793816c675c01ac0d7047dc0ac6734508fc6c
 DIST trio-websocket-0.11.1.gh.tar.gz 45682 BLAKE2B 
0f926421828476c9e23cf962df7a17a2cf4470e0898dddbc4690497521205ea11973a188ca460685739d08c34be237682b0e2c279d35e5c2fdce9b3ce020
 SHA512 
4b0eb6f0c012cefedb69b97e9452ba979336fbe9f154799c4c68871b8013e728374e4872a2343ab4d27fa6e25e40c3063e681e80470123d37f13f531be4f6644

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild
deleted file mode 100644
index ed598c78f820..
--- a/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 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
-
-DESCRIPTION="WebSocket client and server implementation for Python Trio"
-HOMEPAGE="
-   https://github.com/HyperionGray/trio-websocket/
-   https://pypi.org/project/trio-websocket/
-"
-SRC_URI="
-   https://github.com/HyperionGray/trio-websocket/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
-   dev-python/exceptiongroup[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.11[${PYTHON_USEDEP}]
-   >=dev-python/wsproto-0.14[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -p trio
-}

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.4.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.4.ebuild
deleted file mode 100644
index 0366d3541bc6..
--- a/dev-python/trio-websocket/trio-websocket-0.10.4.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 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
-
-DESCRIPTION="WebSocket client and server implementation for Python Trio"
-HOMEPAGE="
-   https://github.com/python-trio/trio-websocket/
-   https://pypi.org/project/trio-websocket/
-"
-SRC_URI="
-   https://github.com/python-trio/trio-websocket/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-
-RDEPEND="
-   dev-python/exceptiongroup[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.11[${PYTHON_USEDEP}]
-   >=dev-python/wsproto-0.14[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -p trio
-}



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

2023-10-14 Thread Arthur Zamarin
commit: be50a3750a02ec47ef46216403f0aa1f4d9f0568
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Oct 14 16:50:43 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Oct 14 16:50:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be50a375

dev-python/trio-websocket: Stabilize 0.11.1 ALLARCHES, #915764

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

 dev-python/trio-websocket/trio-websocket-0.11.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild
index 912e3a9e8237..fc8389fa3907 100644
--- a/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
$(python_gen_cond_dep '



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

2023-09-27 Thread Michał Górny
commit: 01f6953bb59e429b2645be11773a5dc862847444
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Sep 27 07:09:38 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Sep 27 07:18:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01f6953b

dev-python/trio-websocket: Bump to 0.11.1

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

 dev-python/trio-websocket/Manifest |  1 +
 .../trio-websocket/trio-websocket-0.11.1.ebuild| 44 ++
 2 files changed, 45 insertions(+)

diff --git a/dev-python/trio-websocket/Manifest 
b/dev-python/trio-websocket/Manifest
index 202e44e0aea2..6c0455589ce0 100644
--- a/dev-python/trio-websocket/Manifest
+++ b/dev-python/trio-websocket/Manifest
@@ -1,2 +1,3 @@
 DIST trio-websocket-0.10.3.gh.tar.gz 45109 BLAKE2B 
7adad8bd59b2350d7b8e50e88710c8b9844e8b34c712615e058a6045d575671043c527ac4330941431502affc7c307d61c1f9c1b328c579a622ff11ea79fbeb6
 SHA512 
8ff50030c9616ea8baa9627f229304fbb72528fcc97d1e5ead90acc3c7d683751c0d98e9c4f779d4d65fc765b00b6ec93b6d3384070a76fe18d3318af7afa975
 DIST trio-websocket-0.10.4.gh.tar.gz 45490 BLAKE2B 
d681cc3ec9537e3c3e943831405d45a226fe61aa2482d9c9944520d5a3ecc2bbe974e63e666a5117f6bcfca2240a4b1c22a3304e6bb15fc502154df22fdbde44
 SHA512 
30b6655120a0117cda9707b793bd8a00fe0e8a578450c7fcc8fba2bb505aaf898aee355cec5e1faf13ff7da791a793816c675c01ac0d7047dc0ac6734508fc6c
+DIST trio-websocket-0.11.1.gh.tar.gz 45682 BLAKE2B 
0f926421828476c9e23cf962df7a17a2cf4470e0898dddbc4690497521205ea11973a188ca460685739d08c34be237682b0e2c279d35e5c2fdce9b3ce020
 SHA512 
4b0eb6f0c012cefedb69b97e9452ba979336fbe9f154799c4c68871b8013e728374e4872a2343ab4d27fa6e25e40c3063e681e80470123d37f13f531be4f6644

diff --git a/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild
new file mode 100644
index ..912e3a9e8237
--- /dev/null
+++ b/dev-python/trio-websocket/trio-websocket-0.11.1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 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
+
+DESCRIPTION="WebSocket client and server implementation for Python Trio"
+HOMEPAGE="
+   https://github.com/python-trio/trio-websocket/
+   https://pypi.org/project/trio-websocket/
+"
+SRC_URI="
+   https://github.com/python-trio/trio-websocket/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   $(python_gen_cond_dep '
+   dev-python/exceptiongroup[${PYTHON_USEDEP}]
+   ' 3.10)
+   >=dev-python/trio-0.11[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-0.14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -p trio
+}



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

2023-09-06 Thread Michał Górny
commit: 525f29372f86bb1cd8e9783aa8e51228179f4433
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Sep  7 03:00:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Sep  7 03:15:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525f2937

dev-python/trio-websocket: Bump to 0.10.4

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

 dev-python/trio-websocket/Manifest |  1 +
 dev-python/trio-websocket/metadata.xml |  2 +-
 .../trio-websocket/trio-websocket-0.10.4.ebuild| 42 ++
 3 files changed, 44 insertions(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/Manifest 
b/dev-python/trio-websocket/Manifest
index c9354e19506c..202e44e0aea2 100644
--- a/dev-python/trio-websocket/Manifest
+++ b/dev-python/trio-websocket/Manifest
@@ -1 +1,2 @@
 DIST trio-websocket-0.10.3.gh.tar.gz 45109 BLAKE2B 
7adad8bd59b2350d7b8e50e88710c8b9844e8b34c712615e058a6045d575671043c527ac4330941431502affc7c307d61c1f9c1b328c579a622ff11ea79fbeb6
 SHA512 
8ff50030c9616ea8baa9627f229304fbb72528fcc97d1e5ead90acc3c7d683751c0d98e9c4f779d4d65fc765b00b6ec93b6d3384070a76fe18d3318af7afa975
+DIST trio-websocket-0.10.4.gh.tar.gz 45490 BLAKE2B 
d681cc3ec9537e3c3e943831405d45a226fe61aa2482d9c9944520d5a3ecc2bbe974e63e666a5117f6bcfca2240a4b1c22a3304e6bb15fc502154df22fdbde44
 SHA512 
30b6655120a0117cda9707b793bd8a00fe0e8a578450c7fcc8fba2bb505aaf898aee355cec5e1faf13ff7da791a793816c675c01ac0d7047dc0ac6734508fc6c

diff --git a/dev-python/trio-websocket/metadata.xml 
b/dev-python/trio-websocket/metadata.xml
index f92b85725b72..681f9a70ad2c 100644
--- a/dev-python/trio-websocket/metadata.xml
+++ b/dev-python/trio-websocket/metadata.xml
@@ -7,7 +7,7 @@



-   HyperionGray/trio-websocket
+   python-trio/trio-websocket
trio-websocket

 

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.4.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.4.ebuild
new file mode 100644
index ..0366d3541bc6
--- /dev/null
+++ b/dev-python/trio-websocket/trio-websocket-0.10.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 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
+
+DESCRIPTION="WebSocket client and server implementation for Python Trio"
+HOMEPAGE="
+   https://github.com/python-trio/trio-websocket/
+   https://pypi.org/project/trio-websocket/
+"
+SRC_URI="
+   https://github.com/python-trio/trio-websocket/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   dev-python/exceptiongroup[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.11[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-0.14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -p trio
+}



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

2023-08-02 Thread Michał Górny
commit: cecc5a47fb3856021b3319ea81f7c778fffc79fd
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Aug  2 18:28:23 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Aug  2 18:52:16 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cecc5a47

dev-python/trio: Remove old

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

 dev-python/trio/Manifest|  2 -
 dev-python/trio/trio-0.22.0_p20230530-r1.ebuild | 84 -
 dev-python/trio/trio-0.22.1.ebuild  | 74 --
 3 files changed, 160 deletions(-)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 6810113e47bb..36cb1aaccf08 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,3 +1 @@
-DIST trio-0.22.1.gh.tar.gz 536365 BLAKE2B 
a2b8b672de5ffed99cb2d93888414526749a836dcb4a5101f6de9358c2e231fec56bd7fd80ff2300489931f8b516265ff0881bbde8721c09eed6f48eabcf2f8c
 SHA512 
28f3248627dcfa06333ec41f17b7419f1192dd0f041ae56f78582a2a781875805e55981a62a1dc2dba191460a67d03e89f0497bb98ef265a37842aae93488be1
 DIST trio-0.22.2.gh.tar.gz 536949 BLAKE2B 
f469f306d826d110defabf14956bdfe390a0f36da16da7e6e0426573cc9faf8943514b67a22fa44463c35f1e02c61c4aa3fd8da6bc408339a77367953fc62be0
 SHA512 
c3f08b8a1a37c0a06e520c7c5cf6ab5ffa2366c0e8599ae831e896e79bb144ee13ea426c8e6d8278f4620eae15c3c3af6c46c8b4526147336e30050bbf20
-DIST trio-93c1d96a535cca565e1b1ba552cb9c4798b3f852.gh.tar.gz 528405 BLAKE2B 
b6db1413259c7aa4aa9055eb8d0d810ca7866e312ed81395c7bd2d69cad56dec9cd1422513ee4018077eca0a3b55b4fe74178d4af3599e8ba8b7ad124d820066
 SHA512 
e5bdc6f918cac8d8eed5d459cfed368336eec301890bd6b579bdf3b2bca7d78246b5b06fb6259fadba0fef45b782e8b03c85884b96d8a961056f7720cd28b944

diff --git a/dev-python/trio/trio-0.22.0_p20230530-r1.ebuild 
b/dev-python/trio/trio-0.22.0_p20230530-r1.ebuild
deleted file mode 100644
index 273cf4413165..
--- a/dev-python/trio/trio-0.22.0_p20230530-r1.ebuild
+++ /dev/null
@@ -1,84 +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
-
-EGIT_COMMIT=93c1d96a535cca565e1b1ba552cb9c4798b3f852
-MY_P=trio-${EGIT_COMMIT}
-
-DESCRIPTION="Python library for async concurrency and I/O"
-HOMEPAGE="
-   https://github.com/python-trio/trio/
-   https://pypi.org/project/trio/
-"
-SRC_URI="
-   https://github.com/python-trio/${PN}/archive/${EGIT_COMMIT}.tar.gz
-   -> ${MY_P}.gh.tar.gz
-"
-S=${WORKDIR}/${MY_P}
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
-   $(python_gen_cond_dep '
-   >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}]
-   ' 3.{9..10})
-   dev-python/idna[${PYTHON_USEDEP}]
-   dev-python/outcome[${PYTHON_USEDEP}]
-   dev-python/sniffio[${PYTHON_USEDEP}]
-   dev-python/sortedcontainers[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
-   dev-python/pyopenssl[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs/source \
-   dev-python/immutables \
-   dev-python/sphinxcontrib-trio \
-   dev-python/sphinx-rtd-theme \
-   dev-python/towncrier
-
-src_prepare() {
-   # strip +dev from version, as it is breaking poorly written packages
-   sed -i -e 's:+dev::' trio/_version.py || die
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   local EPYTEST_IGNORE=(
-   # these tests require internet access
-   trio/tests/test_ssl.py
-   trio/tests/test_highlevel_ssl_helpers.py
-   )
-
-   local EPYTEST_DESELECT=(
-   # Times out on slower arches (ia64 in this case)
-   # https://github.com/python-trio/trio/issues/1753
-   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
-
-   # incompatible ipython version?
-   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
-   )
-   if [[ ${EPYTHON} == python3.12 ]]; then
-   EPYTEST_DESELECT+=(
-   
trio/_core/_tests/test_run.py::test_nursery_cancel_doesnt_create_cyclic_garbage
-   )
-   fi
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -p trio._tests.pytest_plugin  -m "not 
redistributors_should_skip"
-}

diff --git a/dev-python/trio/trio-0.22.1.ebuild 
b/dev-python/trio/trio-0.22.1.ebuild
deleted file mode 100644
index c7b8024a8f70..
--- a/dev-python/trio/trio-0.22.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# 

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

2023-08-02 Thread Sam James
commit: 36396b9a6d60392fd14e80bc7b9f42921348f22a
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug  2 16:37:15 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug  2 16:37:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36396b9a

dev-python/trio: Stabilize 0.22.2 ALLARCHES, #911612

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

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

diff --git a/dev-python/trio/trio-0.22.2.ebuild 
b/dev-python/trio/trio-0.22.2.ebuild
index c7b8024a8f70..004b6a9d6bbf 100644
--- a/dev-python/trio/trio-0.22.2.ebuild
+++ b/dev-python/trio/trio-0.22.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]



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

2023-07-23 Thread Michał Górny
commit: 9cad0b64bdfba287f5e99e60011ad33b806057a8
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 23 08:26:57 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 23 08:26:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cad0b64

dev-python/trio-websocket: Enable py3.12

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

 dev-python/trio-websocket/trio-websocket-0.10.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild
index c002c02f9500..ed598c78f820 100644
--- a/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.10.3.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
 



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

2023-07-20 Thread WANG Xuerui
commit: 46c32c879492c326a9d4b8163deb26acbff8d613
Author: WANG Xuerui  gentoo  org>
AuthorDate: Wed Jul 19 06:47:04 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Thu Jul 20 09:52:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46c32c87

dev-python/trio-websocket: keyword 0.10.3 for ~loong

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

 dev-python/trio-websocket/trio-websocket-0.10.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild
index 815f0b97c34b..c002c02f9500 100644
--- a/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
dev-python/exceptiongroup[${PYTHON_USEDEP}]



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

2023-07-12 Thread Michał Górny
commit: 75144bebad798de4677bbcf6c0788c97df3d70ae
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jul 13 04:56:09 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jul 13 05:28:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75144beb

dev-python/trio: Bump to 0.22.2

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

 dev-python/trio/Manifest   |  1 +
 dev-python/trio/trio-0.22.2.ebuild | 74 ++
 2 files changed, 75 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 83bd2f42075a..6810113e47bb 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,2 +1,3 @@
 DIST trio-0.22.1.gh.tar.gz 536365 BLAKE2B 
a2b8b672de5ffed99cb2d93888414526749a836dcb4a5101f6de9358c2e231fec56bd7fd80ff2300489931f8b516265ff0881bbde8721c09eed6f48eabcf2f8c
 SHA512 
28f3248627dcfa06333ec41f17b7419f1192dd0f041ae56f78582a2a781875805e55981a62a1dc2dba191460a67d03e89f0497bb98ef265a37842aae93488be1
+DIST trio-0.22.2.gh.tar.gz 536949 BLAKE2B 
f469f306d826d110defabf14956bdfe390a0f36da16da7e6e0426573cc9faf8943514b67a22fa44463c35f1e02c61c4aa3fd8da6bc408339a77367953fc62be0
 SHA512 
c3f08b8a1a37c0a06e520c7c5cf6ab5ffa2366c0e8599ae831e896e79bb144ee13ea426c8e6d8278f4620eae15c3c3af6c46c8b4526147336e30050bbf20
 DIST trio-93c1d96a535cca565e1b1ba552cb9c4798b3f852.gh.tar.gz 528405 BLAKE2B 
b6db1413259c7aa4aa9055eb8d0d810ca7866e312ed81395c7bd2d69cad56dec9cd1422513ee4018077eca0a3b55b4fe74178d4af3599e8ba8b7ad124d820066
 SHA512 
e5bdc6f918cac8d8eed5d459cfed368336eec301890bd6b579bdf3b2bca7d78246b5b06fb6259fadba0fef45b782e8b03c85884b96d8a961056f7720cd28b944

diff --git a/dev-python/trio/trio-0.22.2.ebuild 
b/dev-python/trio/trio-0.22.2.ebuild
new file mode 100644
index ..c7b8024a8f70
--- /dev/null
+++ b/dev-python/trio/trio-0.22.2.ebuild
@@ -0,0 +1,74 @@
+# 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
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}]
+   ' 3.{9..10})
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   dev-python/sniffio[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/pyopenssl[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source \
+   dev-python/immutables \
+   dev-python/sphinxcontrib-trio \
+   dev-python/sphinx-rtd-theme \
+   dev-python/towncrier
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   # these tests require internet access
+   trio/tests/test_ssl.py
+   trio/tests/test_highlevel_ssl_helpers.py
+   )
+
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+
+   # incompatible ipython version?
+   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
+   )
+   if [[ ${EPYTHON} == python3.12 ]]; then
+   EPYTEST_DESELECT+=(
+   
trio/_core/_tests/test_run.py::test_nursery_cancel_doesnt_create_cyclic_garbage
+   )
+   fi
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -p trio._tests.pytest_plugin  -m "not 
redistributors_should_skip"
+}



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

2023-07-09 Thread Michał Górny
commit: 0edc0ae8e626249ac75dd814eb060432085160b9
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 10 01:39:43 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 10 01:46:50 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0edc0ae8

dev-python/trio: Remove old

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

 dev-python/trio/Manifest  |  1 -
 dev-python/trio/trio-0.22.0-r1.ebuild | 75 ---
 2 files changed, 76 deletions(-)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index d4f6545d23b0..83bd2f42075a 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,3 +1,2 @@
-DIST trio-0.22.0.gh.tar.gz 517482 BLAKE2B 
ab1fcb22d8f0ed9c8de831a9384b55ab433811863974cb767cb0ea4eb3a0df7372b5ea2c2d4c2af3ca1d3c8c3144d5546ad8cc68276b17ecb3d20ea1858ba9e0
 SHA512 
45b813d6cc65f8d49f70cb0ea7f33593fed0cc5989c60ba449f0b38c4759604aa7360cd016758fd364438b92516be549edf1efd583c7f5ee2de8813334f182bc
 DIST trio-0.22.1.gh.tar.gz 536365 BLAKE2B 
a2b8b672de5ffed99cb2d93888414526749a836dcb4a5101f6de9358c2e231fec56bd7fd80ff2300489931f8b516265ff0881bbde8721c09eed6f48eabcf2f8c
 SHA512 
28f3248627dcfa06333ec41f17b7419f1192dd0f041ae56f78582a2a781875805e55981a62a1dc2dba191460a67d03e89f0497bb98ef265a37842aae93488be1
 DIST trio-93c1d96a535cca565e1b1ba552cb9c4798b3f852.gh.tar.gz 528405 BLAKE2B 
b6db1413259c7aa4aa9055eb8d0d810ca7866e312ed81395c7bd2d69cad56dec9cd1422513ee4018077eca0a3b55b4fe74178d4af3599e8ba8b7ad124d820066
 SHA512 
e5bdc6f918cac8d8eed5d459cfed368336eec301890bd6b579bdf3b2bca7d78246b5b06fb6259fadba0fef45b782e8b03c85884b96d8a961056f7720cd28b944

diff --git a/dev-python/trio/trio-0.22.0-r1.ebuild 
b/dev-python/trio/trio-0.22.0-r1.ebuild
deleted file mode 100644
index 9b69e958854e..
--- a/dev-python/trio/trio-0.22.0-r1.ebuild
+++ /dev/null
@@ -1,75 +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
-
-DESCRIPTION="Python library for async concurrency and I/O"
-HOMEPAGE="
-   https://github.com/python-trio/trio/
-   https://pypi.org/project/trio/
-"
-SRC_URI="
-   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
-   >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
-   >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}]
-   dev-python/idna[${PYTHON_USEDEP}]
-   dev-python/outcome[${PYTHON_USEDEP}]
-   dev-python/sniffio[${PYTHON_USEDEP}]
-   dev-python/sortedcontainers[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
-   dev-python/pyopenssl[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs/source \
-   dev-python/immutables \
-   dev-python/sphinxcontrib-trio \
-   dev-python/sphinx-rtd-theme \
-   dev-python/towncrier
-
-src_prepare() {
-   # fix incorrect version
-   # https://github.com/python-trio/trio/issues/2485
-   sed -i -e "s:0.21.0+dev:${PV}:" trio/_version.py || die
-   distutils-r1_src_prepare
-}
-
-python_test() {
-   local EPYTEST_IGNORE=(
-   # these tests require internet access
-   trio/tests/test_ssl.py
-   trio/tests/test_highlevel_ssl_helpers.py
-   )
-
-   local EPYTEST_DESELECT=(
-   # Times out on slower arches (ia64 in this case)
-   # https://github.com/python-trio/trio/issues/1753
-   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
-
-   # incompatible ipython version?
-   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
-   )
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -m "not redistributors_should_skip"
-}



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

2023-07-09 Thread Michał Górny
commit: 12eff958cd42437538e2157c880798bcac272fb1
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul 10 01:28:03 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul 10 01:28:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12eff958

dev-python/trio-websocket: Remove old

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

 dev-python/trio-websocket/Manifest |  1 -
 .../trio-websocket/trio-websocket-0.10.2.ebuild| 42 --
 2 files changed, 43 deletions(-)

diff --git a/dev-python/trio-websocket/Manifest 
b/dev-python/trio-websocket/Manifest
index 119224c7865c..c9354e19506c 100644
--- a/dev-python/trio-websocket/Manifest
+++ b/dev-python/trio-websocket/Manifest
@@ -1,2 +1 @@
-DIST trio-websocket-0.10.2.gh.tar.gz 45025 BLAKE2B 
cc80f7b8e06bb88bef69c6326dd899a27523ea70e0ea10c8b02a26498102638c569ffe21e2b4e355f9c635d60ae8ae34664d311bf5fe286456e43e0f9c2ba481
 SHA512 
ad8d4facb153b59597ca7dac14dabe60ac8ca4331aa72df8120e01ec726e1f392a8167d070f72534eb735b5dbf4afe46e385c0e3a2dd250afa2280c6a5a0c863
 DIST trio-websocket-0.10.3.gh.tar.gz 45109 BLAKE2B 
7adad8bd59b2350d7b8e50e88710c8b9844e8b34c712615e058a6045d575671043c527ac4330941431502affc7c307d61c1f9c1b328c579a622ff11ea79fbeb6
 SHA512 
8ff50030c9616ea8baa9627f229304fbb72528fcc97d1e5ead90acc3c7d683751c0d98e9c4f779d4d65fc765b00b6ec93b6d3384070a76fe18d3318af7afa975

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
deleted file mode 100644
index d64a773f38c1..
--- a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 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
-
-DESCRIPTION="WebSocket client and server implementation for Python Trio"
-HOMEPAGE="
-   https://github.com/HyperionGray/trio-websocket/
-   https://pypi.org/project/trio-websocket/
-"
-SRC_URI="
-   https://github.com/HyperionGray/trio-websocket/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
-   dev-python/exceptiongroup[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.11[${PYTHON_USEDEP}]
-   >=dev-python/wsproto-0.14[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -p trio
-}



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

2023-07-09 Thread Arthur Zamarin
commit: 7d468f22c057d3c06fa88fef322bc2fc0f39ec07
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jul  9 16:51:43 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jul  9 16:51:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d468f22

dev-python/trio-websocket: Stabilize 0.10.3 ALLARCHES, #910151

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

 dev-python/trio-websocket/trio-websocket-0.10.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild
index 8e735c733d60..815f0b97c34b 100644
--- a/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
dev-python/exceptiongroup[${PYTHON_USEDEP}]



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

2023-07-09 Thread Arthur Zamarin
commit: 1e4d32eca99bceb2da38b3de80206fadbfc98925
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jul  9 16:49:55 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jul  9 16:49:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e4d32ec

dev-python/trio: Stabilize 0.22.0_p20230530-r1 ALLARCHES, #910159

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

 dev-python/trio/trio-0.22.0_p20230530-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio/trio-0.22.0_p20230530-r1.ebuild 
b/dev-python/trio/trio-0.22.0_p20230530-r1.ebuild
index 83733f7b9ec0..273cf4413165 100644
--- a/dev-python/trio/trio-0.22.0_p20230530-r1.ebuild
+++ b/dev-python/trio/trio-0.22.0_p20230530-r1.ebuild
@@ -24,7 +24,7 @@ S=${WORKDIR}/${MY_P}
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]



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

2023-07-02 Thread Michał Górny
commit: bdfaf76aa966ad2285c8c226a27daab39e2cc918
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Jul  3 04:10:47 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Jul  3 04:10:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdfaf76a

dev-python/trio: Bump to 0.22.1

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

 dev-python/trio/Manifest   |  1 +
 dev-python/trio/trio-0.22.1.ebuild | 74 ++
 2 files changed, 75 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 0e67e82819ce..d4f6545d23b0 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,2 +1,3 @@
 DIST trio-0.22.0.gh.tar.gz 517482 BLAKE2B 
ab1fcb22d8f0ed9c8de831a9384b55ab433811863974cb767cb0ea4eb3a0df7372b5ea2c2d4c2af3ca1d3c8c3144d5546ad8cc68276b17ecb3d20ea1858ba9e0
 SHA512 
45b813d6cc65f8d49f70cb0ea7f33593fed0cc5989c60ba449f0b38c4759604aa7360cd016758fd364438b92516be549edf1efd583c7f5ee2de8813334f182bc
+DIST trio-0.22.1.gh.tar.gz 536365 BLAKE2B 
a2b8b672de5ffed99cb2d93888414526749a836dcb4a5101f6de9358c2e231fec56bd7fd80ff2300489931f8b516265ff0881bbde8721c09eed6f48eabcf2f8c
 SHA512 
28f3248627dcfa06333ec41f17b7419f1192dd0f041ae56f78582a2a781875805e55981a62a1dc2dba191460a67d03e89f0497bb98ef265a37842aae93488be1
 DIST trio-93c1d96a535cca565e1b1ba552cb9c4798b3f852.gh.tar.gz 528405 BLAKE2B 
b6db1413259c7aa4aa9055eb8d0d810ca7866e312ed81395c7bd2d69cad56dec9cd1422513ee4018077eca0a3b55b4fe74178d4af3599e8ba8b7ad124d820066
 SHA512 
e5bdc6f918cac8d8eed5d459cfed368336eec301890bd6b579bdf3b2bca7d78246b5b06fb6259fadba0fef45b782e8b03c85884b96d8a961056f7720cd28b944

diff --git a/dev-python/trio/trio-0.22.1.ebuild 
b/dev-python/trio/trio-0.22.1.ebuild
new file mode 100644
index ..c7b8024a8f70
--- /dev/null
+++ b/dev-python/trio/trio-0.22.1.ebuild
@@ -0,0 +1,74 @@
+# 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
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}]
+   ' 3.{9..10})
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   dev-python/sniffio[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/pyopenssl[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source \
+   dev-python/immutables \
+   dev-python/sphinxcontrib-trio \
+   dev-python/sphinx-rtd-theme \
+   dev-python/towncrier
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   # these tests require internet access
+   trio/tests/test_ssl.py
+   trio/tests/test_highlevel_ssl_helpers.py
+   )
+
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+
+   # incompatible ipython version?
+   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
+   )
+   if [[ ${EPYTHON} == python3.12 ]]; then
+   EPYTEST_DESELECT+=(
+   
trio/_core/_tests/test_run.py::test_nursery_cancel_doesnt_create_cyclic_garbage
+   )
+   fi
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -p trio._tests.pytest_plugin  -m "not 
redistributors_should_skip"
+}



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

2023-06-08 Thread Michał Górny
commit: 1d8c3a3312912d65961b83c73462954fff164950
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun  8 10:19:53 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  8 10:21:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d8c3a33

dev-python/trio-websocket: Bump to 0.10.3

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

 dev-python/trio-websocket/Manifest |  1 +
 .../trio-websocket/trio-websocket-0.10.3.ebuild| 42 ++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/trio-websocket/Manifest 
b/dev-python/trio-websocket/Manifest
index 9871bbeb8a6e..119224c7865c 100644
--- a/dev-python/trio-websocket/Manifest
+++ b/dev-python/trio-websocket/Manifest
@@ -1 +1,2 @@
 DIST trio-websocket-0.10.2.gh.tar.gz 45025 BLAKE2B 
cc80f7b8e06bb88bef69c6326dd899a27523ea70e0ea10c8b02a26498102638c569ffe21e2b4e355f9c635d60ae8ae34664d311bf5fe286456e43e0f9c2ba481
 SHA512 
ad8d4facb153b59597ca7dac14dabe60ac8ca4331aa72df8120e01ec726e1f392a8167d070f72534eb735b5dbf4afe46e385c0e3a2dd250afa2280c6a5a0c863
+DIST trio-websocket-0.10.3.gh.tar.gz 45109 BLAKE2B 
7adad8bd59b2350d7b8e50e88710c8b9844e8b34c712615e058a6045d575671043c527ac4330941431502affc7c307d61c1f9c1b328c579a622ff11ea79fbeb6
 SHA512 
8ff50030c9616ea8baa9627f229304fbb72528fcc97d1e5ead90acc3c7d683751c0d98e9c4f779d4d65fc765b00b6ec93b6d3384070a76fe18d3318af7afa975

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild
new file mode 100644
index ..8e735c733d60
--- /dev/null
+++ b/dev-python/trio-websocket/trio-websocket-0.10.3.ebuild
@@ -0,0 +1,42 @@
+# Copyright 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
+
+DESCRIPTION="WebSocket client and server implementation for Python Trio"
+HOMEPAGE="
+   https://github.com/HyperionGray/trio-websocket/
+   https://pypi.org/project/trio-websocket/
+"
+SRC_URI="
+   https://github.com/HyperionGray/trio-websocket/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   dev-python/exceptiongroup[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.11[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-0.14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -p trio
+}



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

2023-06-07 Thread Michał Górny
commit: c2f53fb930e17f8e138af90d6b3aae7216d0417b
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Jun  8 05:07:22 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Jun  8 05:12:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2f53fb9

dev-python/trio: Strip +dev from version in snapshot

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

 ...trio-0.22.0_p20230530.ebuild => trio-0.22.0_p20230530-r1.ebuild} | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/trio/trio-0.22.0_p20230530.ebuild 
b/dev-python/trio/trio-0.22.0_p20230530-r1.ebuild
similarity index 92%
rename from dev-python/trio/trio-0.22.0_p20230530.ebuild
rename to dev-python/trio/trio-0.22.0_p20230530-r1.ebuild
index 987eea446215..83733f7b9ec0 100644
--- a/dev-python/trio/trio-0.22.0_p20230530.ebuild
+++ b/dev-python/trio/trio-0.22.0_p20230530-r1.ebuild
@@ -52,6 +52,12 @@ distutils_enable_sphinx docs/source \
dev-python/sphinx-rtd-theme \
dev-python/towncrier
 
+src_prepare() {
+   # strip +dev from version, as it is breaking poorly written packages
+   sed -i -e 's:+dev::' trio/_version.py || die
+   distutils-r1_src_prepare
+}
+
 python_test() {
local EPYTEST_IGNORE=(
# these tests require internet access



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

2023-05-30 Thread Michał Górny
commit: 3549034d3d4850658d64cdf8a186abe5e6d6366b
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 30 16:06:44 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 30 16:18:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3549034d

dev-python/trio: Bump to 0.22.0_p20230530 snapshot

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

 dev-python/trio/Manifest |  1 +
 dev-python/trio/trio-0.22.0_p20230530.ebuild | 71 
 2 files changed, 72 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index aa2e3bfc1208..0e67e82819ce 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1 +1,2 @@
 DIST trio-0.22.0.gh.tar.gz 517482 BLAKE2B 
ab1fcb22d8f0ed9c8de831a9384b55ab433811863974cb767cb0ea4eb3a0df7372b5ea2c2d4c2af3ca1d3c8c3144d5546ad8cc68276b17ecb3d20ea1858ba9e0
 SHA512 
45b813d6cc65f8d49f70cb0ea7f33593fed0cc5989c60ba449f0b38c4759604aa7360cd016758fd364438b92516be549edf1efd583c7f5ee2de8813334f182bc
+DIST trio-93c1d96a535cca565e1b1ba552cb9c4798b3f852.gh.tar.gz 528405 BLAKE2B 
b6db1413259c7aa4aa9055eb8d0d810ca7866e312ed81395c7bd2d69cad56dec9cd1422513ee4018077eca0a3b55b4fe74178d4af3599e8ba8b7ad124d820066
 SHA512 
e5bdc6f918cac8d8eed5d459cfed368336eec301890bd6b579bdf3b2bca7d78246b5b06fb6259fadba0fef45b782e8b03c85884b96d8a961056f7720cd28b944

diff --git a/dev-python/trio/trio-0.22.0_p20230530.ebuild 
b/dev-python/trio/trio-0.22.0_p20230530.ebuild
new file mode 100644
index ..7b5e30f07816
--- /dev/null
+++ b/dev-python/trio/trio-0.22.0_p20230530.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..11} )
+
+inherit distutils-r1
+
+EGIT_COMMIT=93c1d96a535cca565e1b1ba552cb9c4798b3f852
+MY_P=trio-${EGIT_COMMIT}
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/${EGIT_COMMIT}.tar.gz
+   -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
+   >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}]
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   dev-python/sniffio[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/pyopenssl[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source \
+   dev-python/immutables \
+   dev-python/sphinxcontrib-trio \
+   dev-python/sphinx-rtd-theme \
+   dev-python/towncrier
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   # these tests require internet access
+   trio/tests/test_ssl.py
+   trio/tests/test_highlevel_ssl_helpers.py
+   )
+
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+
+   # incompatible ipython version?
+   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -p trio._tests.pytest_plugin  -m "not 
redistributors_should_skip"
+}



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

2023-05-30 Thread Michał Górny
commit: eb80f50effa33dcc3d9880db0731543e7d264f8b
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 30 16:11:21 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue May 30 16:18:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb80f50e

dev-python/trio: Enable py3.12

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

 dev-python/trio/trio-0.22.0_p20230530.ebuild | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-python/trio/trio-0.22.0_p20230530.ebuild 
b/dev-python/trio/trio-0.22.0_p20230530.ebuild
index 7b5e30f07816..987eea446215 100644
--- a/dev-python/trio/trio-0.22.0_p20230530.ebuild
+++ b/dev-python/trio/trio-0.22.0_p20230530.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
 
@@ -28,7 +28,9 @@ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86"
 
 RDEPEND="
>=dev-python/attrs-20.1.0[${PYTHON_USEDEP}]
-   >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}]
+   $(python_gen_cond_dep '
+   >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}]
+   ' 3.{9..10})
dev-python/idna[${PYTHON_USEDEP}]
dev-python/outcome[${PYTHON_USEDEP}]
dev-python/sniffio[${PYTHON_USEDEP}]
@@ -65,6 +67,11 @@ python_test() {
# incompatible ipython version?
trio/_core/tests/test_multierror.py::test_ipython_exc_handler
)
+   if [[ ${EPYTHON} == python3.12 ]]; then
+   EPYTEST_DESELECT+=(
+   
trio/_core/_tests/test_run.py::test_nursery_cancel_doesnt_create_cyclic_garbage
+   )
+   fi
 
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -p trio._tests.pytest_plugin  -m "not 
redistributors_should_skip"



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

2023-04-28 Thread Arthur Zamarin
commit: de57956e8f38a62292325e1ff4f872a102e2f56d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr 28 16:00:21 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr 28 16:00:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de57956e

dev-python/trio-websocket: Stabilize 0.10.2 arm, #905241

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

 dev-python/trio-websocket/trio-websocket-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
index f9383657a9a7..d64a773f38c1 100644
--- a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
dev-python/exceptiongroup[${PYTHON_USEDEP}]



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

2023-04-28 Thread Arthur Zamarin
commit: a6ce21d768efc44d1b71a52d36bd1cd712785dd6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr 28 15:57:46 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr 28 15:57:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6ce21d7

dev-python/trio-websocket: Stabilize 0.10.2 x86, #905241

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

 dev-python/trio-websocket/trio-websocket-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
index bd45bbba5765..f9383657a9a7 100644
--- a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv ~s390 sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
dev-python/exceptiongroup[${PYTHON_USEDEP}]



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

2023-04-28 Thread Arthur Zamarin
commit: fc14f81b52465456fe17345a994923b03ea3d163
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr 28 15:55:01 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr 28 15:55:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc14f81b

dev-python/trio-websocket: Stabilize 0.10.2 amd64, #905241

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

 dev-python/trio-websocket/trio-websocket-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
index 5fd0c0e8880c..bd45bbba5765 100644
--- a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ppc ppc64 ~riscv ~s390 sparc ~x86"
+KEYWORDS="amd64 ~arm arm64 ppc ppc64 ~riscv ~s390 sparc ~x86"
 
 RDEPEND="
dev-python/exceptiongroup[${PYTHON_USEDEP}]



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

2023-04-28 Thread Arthur Zamarin
commit: 6453b9e279834f91a5d09eabda842ac3de05107b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr 28 15:24:14 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr 28 15:24:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6453b9e2

dev-python/trio-websocket: Stabilize 0.10.2 ppc, #905241

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

 dev-python/trio-websocket/trio-websocket-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
index bf7a25797969..5fd0c0e8880c 100644
--- a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ppc ppc64 ~riscv ~s390 sparc ~x86"
+KEYWORDS="~amd64 ~arm arm64 ppc ppc64 ~riscv ~s390 sparc ~x86"
 
 RDEPEND="
dev-python/exceptiongroup[${PYTHON_USEDEP}]



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

2023-04-28 Thread Arthur Zamarin
commit: b85115b1950c74d6ea00384dc4b10f764a585cfe
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr 28 15:06:51 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr 28 15:06:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b85115b1

dev-python/trio-websocket: Stabilize 0.10.2 sparc, #905241

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

 dev-python/trio-websocket/trio-websocket-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
index 70a88ea753c0..bf7a25797969 100644
--- a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ppc ppc64 ~riscv ~s390 sparc ~x86"
 
 RDEPEND="
dev-python/exceptiongroup[${PYTHON_USEDEP}]



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

2023-04-28 Thread Arthur Zamarin
commit: 7cd0f582d6c30da1ab134e8b6e80a65919acce1f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr 28 14:52:39 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr 28 14:52:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7cd0f582

dev-python/trio-websocket: Stabilize 0.10.2 arm64, #905241

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

 dev-python/trio-websocket/trio-websocket-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
index d9b6a648f4e8..70a88ea753c0 100644
--- a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
 
 RDEPEND="
dev-python/exceptiongroup[${PYTHON_USEDEP}]



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

2023-04-28 Thread Arthur Zamarin
commit: 407b61150df744ff1714e6e561d21758b0b6bc03
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Apr 28 14:49:11 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Apr 28 14:49:11 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=407b6115

dev-python/trio-websocket: Stabilize 0.10.2 ppc64, #905241

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

 dev-python/trio-websocket/trio-websocket-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
index 064cc522d04e..d9b6a648f4e8 100644
--- a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~s390 ~sparc ~x86"
 
 RDEPEND="
dev-python/exceptiongroup[${PYTHON_USEDEP}]



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

2023-04-08 Thread Michał Górny
commit: 62b835370180d0ba3578713b1dd7f3159c852b72
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Apr  8 06:02:17 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Apr  8 06:07:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62b83537

dev-python/trio-websocket: Remove old

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

 dev-python/trio-websocket/Manifest |  2 --
 .../trio-websocket/trio-websocket-0.10.0.ebuild| 42 --
 .../trio-websocket/trio-websocket-0.10.1.ebuild| 42 --
 3 files changed, 86 deletions(-)

diff --git a/dev-python/trio-websocket/Manifest 
b/dev-python/trio-websocket/Manifest
index 6a2587b157a1..9871bbeb8a6e 100644
--- a/dev-python/trio-websocket/Manifest
+++ b/dev-python/trio-websocket/Manifest
@@ -1,3 +1 @@
-DIST trio-websocket-0.10.0.gh.tar.gz 43808 BLAKE2B 
fd89ab74c3844a14940ce07a0abc07a0392607b492fa4b6e1d81ba3aa2c37338706975cb800332751c9ea70e934c4169fdcd29dd047019096726164a2130daa9
 SHA512 
04d775a7c1a232b470a7f415b57debce4bd1c3732934a94d65e3c9f3bb45c5ffea7464557100e2e9f68a2aa6a7812bd686220de046f399a0d0242309d2d9be59
-DIST trio-websocket-0.10.1.gh.tar.gz 44657 BLAKE2B 
c7e895c5beccf40baa8603f1e3c62396e4d8c716d9a51b6977c0854f65b4c40a1edb40812f80d55f0530c2e59f10f27f2b62f72a6fb91c693ae0d67aeff3161c
 SHA512 
bd26d72c5de70d8176b62c950e6c2bf6cf47ed5a55bb63f88e675a9d353076be45f45387da8fa9af71b8915d93914844f2a7a662351e4776c4714734512bdd7c
 DIST trio-websocket-0.10.2.gh.tar.gz 45025 BLAKE2B 
cc80f7b8e06bb88bef69c6326dd899a27523ea70e0ea10c8b02a26498102638c569ffe21e2b4e355f9c635d60ae8ae34664d311bf5fe286456e43e0f9c2ba481
 SHA512 
ad8d4facb153b59597ca7dac14dabe60ac8ca4331aa72df8120e01ec726e1f392a8167d070f72534eb735b5dbf4afe46e385c0e3a2dd250afa2280c6a5a0c863

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.0.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.0.ebuild
deleted file mode 100644
index b95a0f2797fc..
--- a/dev-python/trio-websocket/trio-websocket-0.10.0.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 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
-
-DESCRIPTION="WebSocket client and server implementation for Python Trio"
-HOMEPAGE="
-   https://github.com/HyperionGray/trio-websocket/
-   https://pypi.org/project/trio-websocket/
-"
-SRC_URI="
-   https://github.com/HyperionGray/trio-websocket/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86"
-
-RDEPEND="
-   dev-python/exceptiongroup[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.11[${PYTHON_USEDEP}]
-   >=dev-python/wsproto-0.14[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -p trio
-}

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.1.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.1.ebuild
deleted file mode 100644
index b95a0f2797fc..
--- a/dev-python/trio-websocket/trio-websocket-0.10.1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 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
-
-DESCRIPTION="WebSocket client and server implementation for Python Trio"
-HOMEPAGE="
-   https://github.com/HyperionGray/trio-websocket/
-   https://pypi.org/project/trio-websocket/
-"
-SRC_URI="
-   https://github.com/HyperionGray/trio-websocket/archive/${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86"
-
-RDEPEND="
-   dev-python/exceptiongroup[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.11[${PYTHON_USEDEP}]
-   >=dev-python/wsproto-0.14[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-
-python_test() {
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -p trio
-}



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

2023-03-31 Thread Sam James
commit: 94d4749510b98cfcfdf2edbc1c735abf1777fcbc
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 31 18:05:22 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 31 18:05:22 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94d47495

dev-python/trio-websocket: Keyword 0.10.2 arm64, #900601

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

 dev-python/trio-websocket/trio-websocket-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
index fcdbc639ea56..6d7844995f91 100644
--- a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~sparc ~x86"
 
 RDEPEND="
dev-python/exceptiongroup[${PYTHON_USEDEP}]



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

2023-03-31 Thread Sam James
commit: 8dcd367c1fc071f2f8d7e9c74efd4fa847e47a8d
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 31 16:14:09 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 31 16:14:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dcd367c

dev-python/trio-websocket: Keyword 0.10.2 arm, #900601

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

 dev-python/trio-websocket/trio-websocket-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
index b95a0f2797fc..fcdbc639ea56 100644
--- a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~riscv ~sparc ~x86"
 
 RDEPEND="
dev-python/exceptiongroup[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/trio-asyncio/files/, dev-python/trio-asyncio/, profiles/

2023-03-27 Thread Andrew Ammerlaan
commit: 6f4a61605dbb953ae325bfe0b63896e62c259616
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Mar 27 17:27:55 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Mar 27 17:27:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f4a6160

dev-python/trio-asyncio: treeclean

Closes: https://bugs.gentoo.org/888444
Closes: https://bugs.gentoo.org/896898
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/trio-asyncio/Manifest   |  1 -
 .../trio-asyncio/files/no-pytest-runner.patch  | 10 -
 dev-python/trio-asyncio/metadata.xml   | 28 --
 .../trio-asyncio/trio-asyncio-0.12.0-r1.ebuild | 43 --
 profiles/package.mask  |  6 ---
 5 files changed, 88 deletions(-)

diff --git a/dev-python/trio-asyncio/Manifest b/dev-python/trio-asyncio/Manifest
deleted file mode 100644
index bc3289b8e24d..
--- a/dev-python/trio-asyncio/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST trio-asyncio-0.12.0.gh.tar.gz 72508 BLAKE2B 
f2dad48e20dadb81f603f8e7edf5d108f5c1dec332e65599e06495a9e3b919d20a15e3cb0d4f06c46a0e844cd79a88c172043b5cae2bc632661679a9ac854c04
 SHA512 
da630bf95d0736efd419a7b84d3fcb55f4440ef5f3ac584f36b2eca9188145d4581b20d4842b1322b07f176822f7c76e32ae57ac71899ea2445ce1783bcd382c

diff --git a/dev-python/trio-asyncio/files/no-pytest-runner.patch 
b/dev-python/trio-asyncio/files/no-pytest-runner.patch
deleted file mode 100644
index 6eec59da4286..
--- a/dev-python/trio-asyncio/files/no-pytest-runner.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/setup.py 2021-03-27 18:54:07.104800689 +0100
-+++ b/setup.py 2021-03-27 18:54:23.197091635 +0100
-@@ -77,7 +77,6 @@
- include_package_data=True,
- python_requires=">=3.6",  # temporary, for RTD
- keywords=["async", "io", "trio", "asyncio", "trio-asyncio"],
--setup_requires=['pytest-runner'],
- tests_require=['pytest >= 5.4', 'pytest-trio >= 0.6', 'outcome'],
- classifiers=[
- "Development Status :: 4 - Beta",

diff --git a/dev-python/trio-asyncio/metadata.xml 
b/dev-python/trio-asyncio/metadata.xml
deleted file mode 100644
index 867a2587c7ff..
--- a/dev-python/trio-asyncio/metadata.xml
+++ /dev/null
@@ -1,28 +0,0 @@
-
-https://www.gentoo.org/dtd/metadata.dtd;>
-
-
-   
-   andrewammerl...@gentoo.org
-   Andrew Ammerlaan
-   
-   
-   
-Rationale
-
-Trio has native concepts of tasks and task cancellation. Asyncio is based on 
callbacks and chaining Futures, albeit with nicer syntax, which make handling 
of failures and timeouts fundamentally less reliable, especially in larger 
programs. Thus, you really want to base your async project on Trio.
-
-On the other hand, there are quite a few asyncio-enhanced libraries. You 
really don't want to re-invent any wheels in your project.
-
-Thus, being able to use asyncio libraries from Trio is useful. trio-asyncio 
enables you to do that, and more.
-Transparent vs. explicit translation
-
-trio_asyncio does not try to magically allow calling await trio_code() from 
asyncio or vice versa. There are multiple reasons for this; the executive 
summary is that cross-domain calls can't be made to work correctly, and any 
such call is likely to result in an irrecoverable error. You need to keep your 
code's asyncio and trio domains rigidly separate.
-
-Fortunately, this is not difficult.
-   
-   
-   python-trio/trio-asyncio
-   trio-asyncio
-   
-

diff --git a/dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild 
b/dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild
deleted file mode 100644
index 70c480643dd7..
--- a/dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..10} )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
-
-DESCRIPTION="a re-implementation of the asyncio mainloop on top of Trio"
-HOMEPAGE="
-   https://github.com/python-trio/trio-asyncio
-   https://pypi.org/project/trio-asyncio/
-"
-SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   dev-python/outcome[${PYTHON_USEDEP}]
-   dev-python/sniffio[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.15.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/pytest-trio-0.6[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=( "${FILESDIR}/no-pytest-runner.patch" )
-
-EPYTEST_DESELECT=(
-   # RuntimeError: You're within a Trio environment.
-   # https://bugs.gentoo.org/834955
-   /Python-3.8/test_asyncio/test_locks.py::ConditionTests::test_ambiguo
-   /Python-3.9/test_asyncio/test_locks.py::ConditionTests::test_ambiguo
-   

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

2023-03-19 Thread Michał Górny
commit: 6ed79945dadf4ce5410039d0df50afbeb52b3815
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 19 17:46:49 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 19 19:03:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ed79945

dev-python/trio-websocket: Bump to 0.10.2

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

 dev-python/trio-websocket/Manifest |  1 +
 .../trio-websocket/trio-websocket-0.10.2.ebuild| 42 ++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/trio-websocket/Manifest 
b/dev-python/trio-websocket/Manifest
index 2347ad7960d0..6a2587b157a1 100644
--- a/dev-python/trio-websocket/Manifest
+++ b/dev-python/trio-websocket/Manifest
@@ -1,2 +1,3 @@
 DIST trio-websocket-0.10.0.gh.tar.gz 43808 BLAKE2B 
fd89ab74c3844a14940ce07a0abc07a0392607b492fa4b6e1d81ba3aa2c37338706975cb800332751c9ea70e934c4169fdcd29dd047019096726164a2130daa9
 SHA512 
04d775a7c1a232b470a7f415b57debce4bd1c3732934a94d65e3c9f3bb45c5ffea7464557100e2e9f68a2aa6a7812bd686220de046f399a0d0242309d2d9be59
 DIST trio-websocket-0.10.1.gh.tar.gz 44657 BLAKE2B 
c7e895c5beccf40baa8603f1e3c62396e4d8c716d9a51b6977c0854f65b4c40a1edb40812f80d55f0530c2e59f10f27f2b62f72a6fb91c693ae0d67aeff3161c
 SHA512 
bd26d72c5de70d8176b62c950e6c2bf6cf47ed5a55bb63f88e675a9d353076be45f45387da8fa9af71b8915d93914844f2a7a662351e4776c4714734512bdd7c
+DIST trio-websocket-0.10.2.gh.tar.gz 45025 BLAKE2B 
cc80f7b8e06bb88bef69c6326dd899a27523ea70e0ea10c8b02a26498102638c569ffe21e2b4e355f9c635d60ae8ae34664d311bf5fe286456e43e0f9c2ba481
 SHA512 
ad8d4facb153b59597ca7dac14dabe60ac8ca4331aa72df8120e01ec726e1f392a8167d070f72534eb735b5dbf4afe46e385c0e3a2dd250afa2280c6a5a0c863

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
new file mode 100644
index ..b95a0f2797fc
--- /dev/null
+++ b/dev-python/trio-websocket/trio-websocket-0.10.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 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
+
+DESCRIPTION="WebSocket client and server implementation for Python Trio"
+HOMEPAGE="
+   https://github.com/HyperionGray/trio-websocket/
+   https://pypi.org/project/trio-websocket/
+"
+SRC_URI="
+   https://github.com/HyperionGray/trio-websocket/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86"
+
+RDEPEND="
+   dev-python/exceptiongroup[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.11[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-0.14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -p trio
+}



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

2023-03-18 Thread Michał Górny
commit: 07f75eed3e4b1525d822bcaad0d9de2c98eaf663
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Mar 19 04:08:35 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Mar 19 04:13:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07f75eed

dev-python/trio-websocket: Bump to 0.10.1

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

 dev-python/trio-websocket/Manifest |  1 +
 .../trio-websocket/trio-websocket-0.10.1.ebuild| 42 ++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/trio-websocket/Manifest 
b/dev-python/trio-websocket/Manifest
index 737e9c6f334e..2347ad7960d0 100644
--- a/dev-python/trio-websocket/Manifest
+++ b/dev-python/trio-websocket/Manifest
@@ -1 +1,2 @@
 DIST trio-websocket-0.10.0.gh.tar.gz 43808 BLAKE2B 
fd89ab74c3844a14940ce07a0abc07a0392607b492fa4b6e1d81ba3aa2c37338706975cb800332751c9ea70e934c4169fdcd29dd047019096726164a2130daa9
 SHA512 
04d775a7c1a232b470a7f415b57debce4bd1c3732934a94d65e3c9f3bb45c5ffea7464557100e2e9f68a2aa6a7812bd686220de046f399a0d0242309d2d9be59
+DIST trio-websocket-0.10.1.gh.tar.gz 44657 BLAKE2B 
c7e895c5beccf40baa8603f1e3c62396e4d8c716d9a51b6977c0854f65b4c40a1edb40812f80d55f0530c2e59f10f27f2b62f72a6fb91c693ae0d67aeff3161c
 SHA512 
bd26d72c5de70d8176b62c950e6c2bf6cf47ed5a55bb63f88e675a9d353076be45f45387da8fa9af71b8915d93914844f2a7a662351e4776c4714734512bdd7c

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.1.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.1.ebuild
new file mode 100644
index ..b95a0f2797fc
--- /dev/null
+++ b/dev-python/trio-websocket/trio-websocket-0.10.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 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
+
+DESCRIPTION="WebSocket client and server implementation for Python Trio"
+HOMEPAGE="
+   https://github.com/HyperionGray/trio-websocket/
+   https://pypi.org/project/trio-websocket/
+"
+SRC_URI="
+   https://github.com/HyperionGray/trio-websocket/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86"
+
+RDEPEND="
+   dev-python/exceptiongroup[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.11[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-0.14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -p trio
+}



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

2023-03-16 Thread Michał Górny
commit: fa0dfe72736a8ac33a752ce2ce033cbc56c1ca34
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 16 18:10:09 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 16 18:11:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa0dfe72

dev-python/trio: Remove old

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

 dev-python/trio/Manifest   |  1 -
 dev-python/trio/trio-0.21.0.ebuild | 66 --
 2 files changed, 67 deletions(-)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 719ae9d2c64e..aa2e3bfc1208 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,2 +1 @@
-DIST trio-0.21.0.gh.tar.gz 491228 BLAKE2B 
e5f65d3aa9e4bc0c449e3986048d63fe3001a2eee96dbe5d8c088e0fce786b1d50861b47170baa7cced097938b16c92f0efd51518404a5e0ea6a17a48d656823
 SHA512 
383b11f264ddf4c78eb75829472826ebacf32d063790e8d4681d5df2f21c4f9287884db1752fd19976b674643adf7299816d4404e3032193ef90f522ad9cfa79
 DIST trio-0.22.0.gh.tar.gz 517482 BLAKE2B 
ab1fcb22d8f0ed9c8de831a9384b55ab433811863974cb767cb0ea4eb3a0df7372b5ea2c2d4c2af3ca1d3c8c3144d5546ad8cc68276b17ecb3d20ea1858ba9e0
 SHA512 
45b813d6cc65f8d49f70cb0ea7f33593fed0cc5989c60ba449f0b38c4759604aa7360cd016758fd364438b92516be549edf1efd583c7f5ee2de8813334f182bc

diff --git a/dev-python/trio/trio-0.21.0.ebuild 
b/dev-python/trio/trio-0.21.0.ebuild
deleted file mode 100644
index f4e3f619a5ec..
--- a/dev-python/trio/trio-0.21.0.ebuild
+++ /dev/null
@@ -1,66 +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
-
-DESCRIPTION="Python library for async concurrency and I/O"
-HOMEPAGE="
-   https://github.com/python-trio/trio/
-   https://pypi.org/project/trio/
-"
-SRC_URI="
-   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
-   -> ${P}.gh.tar.gz
-"
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
-   >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
-   dev-python/idna[${PYTHON_USEDEP}]
-   dev-python/outcome[${PYTHON_USEDEP}]
-   dev-python/sniffio[${PYTHON_USEDEP}]
-   dev-python/sortedcontainers[${PYTHON_USEDEP}]
-"
-# NB: we're ignoring tests that require trustme+pyopenssl
-BDEPEND="
-   test? (
-   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
-   )
-"
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs/source \
-   dev-python/immutables \
-   dev-python/sphinxcontrib-trio \
-   dev-python/sphinx-rtd-theme \
-   dev-python/towncrier
-
-python_test() {
-   local EPYTEST_IGNORE=(
-   # these tests require internet access
-   trio/tests/test_ssl.py
-   trio/tests/test_highlevel_ssl_helpers.py
-   )
-
-   local EPYTEST_DESELECT=(
-   # Times out on slower arches (ia64 in this case)
-   # https://github.com/python-trio/trio/issues/1753
-   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
-
-   # incompatible ipython version?
-   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
-   )
-
-   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
-   epytest -m "not redistributors_should_skip"
-}



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

2023-03-16 Thread Michał Górny
commit: d96477daacd071997dc5f0898f3e8ede99f0c497
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar 16 16:31:48 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar 16 16:31:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d96477da

dev-python/trio-websocket: Remove old

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

 dev-python/trio-websocket/Manifest |  1 -
 .../files/trio-websocket-0.9.2-async-gen.patch | 79 --
 .../trio-websocket/trio-websocket-0.9.2.ebuild | 47 -
 3 files changed, 127 deletions(-)

diff --git a/dev-python/trio-websocket/Manifest 
b/dev-python/trio-websocket/Manifest
index 3b52207d94d9..737e9c6f334e 100644
--- a/dev-python/trio-websocket/Manifest
+++ b/dev-python/trio-websocket/Manifest
@@ -1,2 +1 @@
 DIST trio-websocket-0.10.0.gh.tar.gz 43808 BLAKE2B 
fd89ab74c3844a14940ce07a0abc07a0392607b492fa4b6e1d81ba3aa2c37338706975cb800332751c9ea70e934c4169fdcd29dd047019096726164a2130daa9
 SHA512 
04d775a7c1a232b470a7f415b57debce4bd1c3732934a94d65e3c9f3bb45c5ffea7464557100e2e9f68a2aa6a7812bd686220de046f399a0d0242309d2d9be59
-DIST trio-websocket-0.9.2.gh.tar.gz 43146 BLAKE2B 
f5463d20253c3686a0d0fe4cb38ffec235c4378c14ed2952b3518486602b06bb961291d098542a52dee7e25506713df382e303cd2dc7fa579041124d66c8ecb8
 SHA512 
0f25a7d234a6d9f7c0c0bdbbd2836e6baee02b4ff2daab8354f8fd483a10de65fe357a273675a172227b1b0e9f7cf6cf27ddfdf9426d1b330122a8b2ef957435

diff --git 
a/dev-python/trio-websocket/files/trio-websocket-0.9.2-async-gen.patch 
b/dev-python/trio-websocket/files/trio-websocket-0.9.2-async-gen.patch
deleted file mode 100644
index 7631e2118678..
--- a/dev-python/trio-websocket/files/trio-websocket-0.9.2-async-gen.patch
+++ /dev/null
@@ -1,79 +0,0 @@
-From 37388d8122960f6aec707a9aa30a310bdc67610a Mon Sep 17 00:00:00 2001
-From: John Belmonte 
-Date: Sat, 21 Nov 2020 15:38:54 +0900
-Subject: [PATCH] use native async generator support
-

- tests/test_connection.py | 7 ++-
- trio_websocket/_impl.py  | 5 ++---
- 2 files changed, 4 insertions(+), 8 deletions(-)
-
-diff --git a/tests/test_connection.py b/tests/test_connection.py
-index 8af07a9..7832355 100644
 a/tests/test_connection.py
-+++ b/tests/test_connection.py
-@@ -37,7 +37,6 @@
- import pytest
- import trio
- import trustme
--from async_generator import async_generator, yield_
- from trio.testing import memory_stream_pair
- from wsproto.events import CloseConnection
- 
-@@ -78,24 +77,22 @@
- 
- 
- @pytest.fixture
--@async_generator
- async def echo_server(nursery):
- ''' A server that reads one message, sends back the same message,
- then closes the connection. '''
- serve_fn = partial(serve_websocket, echo_request_handler, HOST, 0,
- ssl_context=None)
- server = await nursery.start(serve_fn)
--await yield_(server)
-+yield server
- 
- 
- @pytest.fixture
--@async_generator
- async def echo_conn(echo_server):
- ''' Return a client connection instance that is connected to an echo
- server. '''
- async with open_websocket(HOST, echo_server.port, RESOURCE,
- use_ssl=False) as conn:
--await yield_(conn)
-+yield conn
- 
- 
- async def echo_request_handler(request):
-diff --git a/trio_websocket/_impl.py b/trio_websocket/_impl.py
-index 693c379..440d0e2 100644
 a/trio_websocket/_impl.py
-+++ b/trio_websocket/_impl.py
-@@ -9,7 +9,7 @@
- import struct
- import urllib.parse
- 
--from async_generator import async_generator, yield_, asynccontextmanager
-+from async_generator import asynccontextmanager
- import trio
- import trio.abc
- from wsproto import ConnectionType, WSConnection
-@@ -65,7 +65,6 @@ def remove_cancels(exc):
- 
- 
- @asynccontextmanager
--@async_generator
- async def open_websocket(host, port, resource, *, use_ssl, subprotocols=None,
- extra_headers=None,
- message_queue_size=MESSAGE_QUEUE_SIZE, max_message_size=MAX_MESSAGE_SIZE,
-@@ -115,7 +114,7 @@ async def open_websocket(host, port, resource, *, use_ssl, 
subprotocols=None,
- except OSError as e:
- raise HandshakeError from e
- try:
--await yield_(connection)
-+yield connection
- finally:
- try:
- with trio.fail_after(disconnect_timeout):

diff --git a/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
deleted file mode 100644
index e9cd84406569..
--- a/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 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
-
-DESCRIPTION="WebSocket client and server implementation for Python Trio"
-HOMEPAGE="
-   https://github.com/HyperionGray/trio-websocket/
-   

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

2023-03-14 Thread Michał Górny
commit: d8f21a1c14be6c498a484ff5342932755f9c2a98
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Mar 14 05:09:27 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Mar 14 06:11:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8f21a1c

dev-python/trio-websocket: Bump to 0.10.0

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

 dev-python/trio-websocket/Manifest |  1 +
 .../trio-websocket/trio-websocket-0.10.0.ebuild| 42 ++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/trio-websocket/Manifest 
b/dev-python/trio-websocket/Manifest
index 1f25a757c7ef..3b52207d94d9 100644
--- a/dev-python/trio-websocket/Manifest
+++ b/dev-python/trio-websocket/Manifest
@@ -1 +1,2 @@
+DIST trio-websocket-0.10.0.gh.tar.gz 43808 BLAKE2B 
fd89ab74c3844a14940ce07a0abc07a0392607b492fa4b6e1d81ba3aa2c37338706975cb800332751c9ea70e934c4169fdcd29dd047019096726164a2130daa9
 SHA512 
04d775a7c1a232b470a7f415b57debce4bd1c3732934a94d65e3c9f3bb45c5ffea7464557100e2e9f68a2aa6a7812bd686220de046f399a0d0242309d2d9be59
 DIST trio-websocket-0.9.2.gh.tar.gz 43146 BLAKE2B 
f5463d20253c3686a0d0fe4cb38ffec235c4378c14ed2952b3518486602b06bb961291d098542a52dee7e25506713df382e303cd2dc7fa579041124d66c8ecb8
 SHA512 
0f25a7d234a6d9f7c0c0bdbbd2836e6baee02b4ff2daab8354f8fd483a10de65fe357a273675a172227b1b0e9f7cf6cf27ddfdf9426d1b330122a8b2ef957435

diff --git a/dev-python/trio-websocket/trio-websocket-0.10.0.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.10.0.ebuild
new file mode 100644
index ..b95a0f2797fc
--- /dev/null
+++ b/dev-python/trio-websocket/trio-websocket-0.10.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 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
+
+DESCRIPTION="WebSocket client and server implementation for Python Trio"
+HOMEPAGE="
+   https://github.com/HyperionGray/trio-websocket/
+   https://pypi.org/project/trio-websocket/
+"
+SRC_URI="
+   https://github.com/HyperionGray/trio-websocket/archive/${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86"
+
+RDEPEND="
+   dev-python/exceptiongroup[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.11[${PYTHON_USEDEP}]
+   >=dev-python/wsproto-0.14[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/pytest-trio-0.5.0[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -p trio
+}



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

2023-03-10 Thread Yixun Lan
commit: ddd56b0a965be4e7c832601ed5ebefaa4697c008
Author: Yixun Lan  gentoo  org>
AuthorDate: Fri Mar 10 08:48:18 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Fri Mar 10 08:48:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddd56b0a

dev-python/trio-websocket: Keyword 0.9.2 riscv, #900601

Signed-off-by: Yixun Lan  gentoo.org>

 dev-python/trio-websocket/trio-websocket-0.9.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
index 306620236f61..e9cd84406569 100644
--- a/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="~amd64 ~ppc ~riscv ~sparc ~x86"
 
 RDEPEND="
>=dev-python/async_generator-1.10[${PYTHON_USEDEP}]



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

2023-03-09 Thread Arthur Zamarin
commit: 4b251f0f8fff8a0a66c412508affc6d3cbd585d4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Mar 10 07:48:55 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Mar 10 07:48:55 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b251f0f

dev-python/trio-websocket: Keyword 0.9.2 x86, #900601

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

 dev-python/trio-websocket/trio-websocket-0.9.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
index 41205bdac05c..306620236f61 100644
--- a/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
 
 RDEPEND="
>=dev-python/async_generator-1.10[${PYTHON_USEDEP}]



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

2023-03-09 Thread Sam James
commit: 79afa49ed174b4bf45bf239ff6d5a5f2fe86a44e
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 10 02:00:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 10 02:00:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79afa49e

dev-python/trio-websocket: Keyword 0.9.2 ppc, #900601

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

 dev-python/trio-websocket/trio-websocket-0.9.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
index 36ba3a2f48cd..41205bdac05c 100644
--- a/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~sparc"
+KEYWORDS="~amd64 ~ppc ~sparc"
 
 RDEPEND="
>=dev-python/async_generator-1.10[${PYTHON_USEDEP}]



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

2023-03-09 Thread Sam James
commit: fbe5d61dc0ebf39eb3dd180dbe0f918ccc811c92
Author: Sam James  gentoo  org>
AuthorDate: Fri Mar 10 02:00:04 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Mar 10 02:00:04 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbe5d61d

dev-python/trio-websocket: Keyword 0.9.2 sparc, #900601

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

 dev-python/trio-websocket/trio-websocket-0.9.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
index c0129ead5201..36ba3a2f48cd 100644
--- a/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
+++ b/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~sparc"
 
 RDEPEND="
>=dev-python/async_generator-1.10[${PYTHON_USEDEP}]



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

2023-03-09 Thread Michał Górny
commit: b0e6740a8a6b1266051abdfaa90d2591672aaf1d
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Mar  9 17:17:52 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Mar  9 18:17:40 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0e6740a

dev-python/trio-websocket: New package, v0.9.2

New dependency of dev-python/selenium.

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

 dev-python/trio-websocket/Manifest |  1 +
 .../files/trio-websocket-0.9.2-async-gen.patch | 79 ++
 dev-python/trio-websocket/metadata.xml | 13 
 .../trio-websocket/trio-websocket-0.9.2.ebuild | 47 +
 4 files changed, 140 insertions(+)

diff --git a/dev-python/trio-websocket/Manifest 
b/dev-python/trio-websocket/Manifest
new file mode 100644
index ..1f25a757c7ef
--- /dev/null
+++ b/dev-python/trio-websocket/Manifest
@@ -0,0 +1 @@
+DIST trio-websocket-0.9.2.gh.tar.gz 43146 BLAKE2B 
f5463d20253c3686a0d0fe4cb38ffec235c4378c14ed2952b3518486602b06bb961291d098542a52dee7e25506713df382e303cd2dc7fa579041124d66c8ecb8
 SHA512 
0f25a7d234a6d9f7c0c0bdbbd2836e6baee02b4ff2daab8354f8fd483a10de65fe357a273675a172227b1b0e9f7cf6cf27ddfdf9426d1b330122a8b2ef957435

diff --git 
a/dev-python/trio-websocket/files/trio-websocket-0.9.2-async-gen.patch 
b/dev-python/trio-websocket/files/trio-websocket-0.9.2-async-gen.patch
new file mode 100644
index ..7631e2118678
--- /dev/null
+++ b/dev-python/trio-websocket/files/trio-websocket-0.9.2-async-gen.patch
@@ -0,0 +1,79 @@
+From 37388d8122960f6aec707a9aa30a310bdc67610a Mon Sep 17 00:00:00 2001
+From: John Belmonte 
+Date: Sat, 21 Nov 2020 15:38:54 +0900
+Subject: [PATCH] use native async generator support
+
+---
+ tests/test_connection.py | 7 ++-
+ trio_websocket/_impl.py  | 5 ++---
+ 2 files changed, 4 insertions(+), 8 deletions(-)
+
+diff --git a/tests/test_connection.py b/tests/test_connection.py
+index 8af07a9..7832355 100644
+--- a/tests/test_connection.py
 b/tests/test_connection.py
+@@ -37,7 +37,6 @@
+ import pytest
+ import trio
+ import trustme
+-from async_generator import async_generator, yield_
+ from trio.testing import memory_stream_pair
+ from wsproto.events import CloseConnection
+ 
+@@ -78,24 +77,22 @@
+ 
+ 
+ @pytest.fixture
+-@async_generator
+ async def echo_server(nursery):
+ ''' A server that reads one message, sends back the same message,
+ then closes the connection. '''
+ serve_fn = partial(serve_websocket, echo_request_handler, HOST, 0,
+ ssl_context=None)
+ server = await nursery.start(serve_fn)
+-await yield_(server)
++yield server
+ 
+ 
+ @pytest.fixture
+-@async_generator
+ async def echo_conn(echo_server):
+ ''' Return a client connection instance that is connected to an echo
+ server. '''
+ async with open_websocket(HOST, echo_server.port, RESOURCE,
+ use_ssl=False) as conn:
+-await yield_(conn)
++yield conn
+ 
+ 
+ async def echo_request_handler(request):
+diff --git a/trio_websocket/_impl.py b/trio_websocket/_impl.py
+index 693c379..440d0e2 100644
+--- a/trio_websocket/_impl.py
 b/trio_websocket/_impl.py
+@@ -9,7 +9,7 @@
+ import struct
+ import urllib.parse
+ 
+-from async_generator import async_generator, yield_, asynccontextmanager
++from async_generator import asynccontextmanager
+ import trio
+ import trio.abc
+ from wsproto import ConnectionType, WSConnection
+@@ -65,7 +65,6 @@ def remove_cancels(exc):
+ 
+ 
+ @asynccontextmanager
+-@async_generator
+ async def open_websocket(host, port, resource, *, use_ssl, subprotocols=None,
+ extra_headers=None,
+ message_queue_size=MESSAGE_QUEUE_SIZE, max_message_size=MAX_MESSAGE_SIZE,
+@@ -115,7 +114,7 @@ async def open_websocket(host, port, resource, *, use_ssl, 
subprotocols=None,
+ except OSError as e:
+ raise HandshakeError from e
+ try:
+-await yield_(connection)
++yield connection
+ finally:
+ try:
+ with trio.fail_after(disconnect_timeout):

diff --git a/dev-python/trio-websocket/metadata.xml 
b/dev-python/trio-websocket/metadata.xml
new file mode 100644
index ..f92b85725b72
--- /dev/null
+++ b/dev-python/trio-websocket/metadata.xml
@@ -0,0 +1,13 @@
+
+https://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   pyt...@gentoo.org
+   Python
+   
+   
+   
+   HyperionGray/trio-websocket
+   trio-websocket
+   
+

diff --git a/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild 
b/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
new file mode 100644
index ..c0129ead5201
--- /dev/null
+++ b/dev-python/trio-websocket/trio-websocket-0.9.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 

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

2022-11-26 Thread Michał Górny
commit: 5c50b9bc472e08cc3f0fc07f5237add7f7fe12a0
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 26 15:40:33 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 26 15:40:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c50b9bc

dev-python/trio: Fix incorrect version in metadata

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

 dev-python/trio/{trio-0.22.0.ebuild => trio-0.22.0-r1.ebuild} | 7 +++
 1 file changed, 7 insertions(+)

diff --git a/dev-python/trio/trio-0.22.0.ebuild 
b/dev-python/trio/trio-0.22.0-r1.ebuild
similarity index 91%
rename from dev-python/trio/trio-0.22.0.ebuild
rename to dev-python/trio/trio-0.22.0-r1.ebuild
index 88fa5db8d5e3..08ba007b088a 100644
--- a/dev-python/trio/trio-0.22.0.ebuild
+++ b/dev-python/trio/trio-0.22.0-r1.ebuild
@@ -47,6 +47,13 @@ distutils_enable_sphinx docs/source \
dev-python/sphinx_rtd_theme \
dev-python/towncrier
 
+src_prepare() {
+   # fix incorrect version
+   # https://github.com/python-trio/trio/issues/2485
+   sed -i -e "s:0.21.0+dev:${PV}:" trio/_version.py || die
+   distutils-r1_src_prepare
+}
+
 python_test() {
local EPYTEST_IGNORE=(
# these tests require internet access



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

2022-11-13 Thread Michał Górny
commit: 614db2e953d713e5279e3511feae244815a584de
Author: Michał Górny  gentoo  org>
AuthorDate: Mon Nov 14 05:06:35 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Mon Nov 14 05:06:35 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=614db2e9

dev-python/trio-asyncio: Remove old

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

 dev-python/trio-asyncio/Manifest   |  1 -
 dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild | 34 --
 2 files changed, 35 deletions(-)

diff --git a/dev-python/trio-asyncio/Manifest b/dev-python/trio-asyncio/Manifest
index 6b789ea8d080..bc3289b8e24d 100644
--- a/dev-python/trio-asyncio/Manifest
+++ b/dev-python/trio-asyncio/Manifest
@@ -1,2 +1 @@
 DIST trio-asyncio-0.12.0.gh.tar.gz 72508 BLAKE2B 
f2dad48e20dadb81f603f8e7edf5d108f5c1dec332e65599e06495a9e3b919d20a15e3cb0d4f06c46a0e844cd79a88c172043b5cae2bc632661679a9ac854c04
 SHA512 
da630bf95d0736efd419a7b84d3fcb55f4440ef5f3ac584f36b2eca9188145d4581b20d4842b1322b07f176822f7c76e32ae57ac71899ea2445ce1783bcd382c
-DIST trio-asyncio-0.12.0.tar.gz 72508 BLAKE2B 
f2dad48e20dadb81f603f8e7edf5d108f5c1dec332e65599e06495a9e3b919d20a15e3cb0d4f06c46a0e844cd79a88c172043b5cae2bc632661679a9ac854c04
 SHA512 
da630bf95d0736efd419a7b84d3fcb55f4440ef5f3ac584f36b2eca9188145d4581b20d4842b1322b07f176822f7c76e32ae57ac71899ea2445ce1783bcd382c

diff --git a/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild 
b/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild
deleted file mode 100644
index 05009fc247e8..
--- a/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild
+++ /dev/null
@@ -1,34 +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="a re-implementation of the asyncio mainloop on top of Trio"
-HOMEPAGE="
-   https://github.com/python-trio/trio-asyncio
-   https://pypi.org/project/trio-asyncio/
-"
-SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"
-KEYWORDS="~amd64"
-
-RDEPEND="
-   dev-python/outcome[${PYTHON_USEDEP}]
-   dev-python/sniffio[${PYTHON_USEDEP}]
-   >=dev-python/trio-0.15.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
-   test? (
-   >=dev-python/pytest-trio-0.6[${PYTHON_USEDEP}]
-   )
-"
-PATCHES=( "${FILESDIR}/no-pytest-runner.patch" )
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio 
dev-python/sphinx_rtd_theme



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

2022-11-04 Thread Michał Górny
commit: bf9fbc7dd28073484a3f030dc317e29833eb4c8b
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Nov  4 06:13:05 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Nov  4 06:13:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf9fbc7d

dev-python/trio: Clear keywords to match newer

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

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

diff --git a/dev-python/trio/trio-0.21.0.ebuild 
b/dev-python/trio/trio-0.21.0.ebuild
index 3e91277b5bb8..fb5fa1a55bdf 100644
--- a/dev-python/trio/trio-0.21.0.ebuild
+++ b/dev-python/trio/trio-0.21.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/async_generator-1.9[${PYTHON_USEDEP}]



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

2022-11-03 Thread Arthur Zamarin
commit: 2b4cdc37375cd9ae4eb5472aaa54dc584d6b40a4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Nov  3 19:38:11 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Nov  3 19:38:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b4cdc37

dev-python/trio: Stabilize 0.22.0 ALLARCHES, #879373

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

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

diff --git a/dev-python/trio/trio-0.22.0.ebuild 
b/dev-python/trio/trio-0.22.0.ebuild
index f4ead3cc9f45..88fa5db8d5e3 100644
--- a/dev-python/trio/trio-0.22.0.ebuild
+++ b/dev-python/trio/trio-0.22.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
 
 RDEPEND="
>=dev-python/async_generator-1.9[${PYTHON_USEDEP}]



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

2022-09-28 Thread Andrew Ammerlaan
commit: 72e25d11c126a11d6856bf941fd2c2fba00894af
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Sep 28 13:13:01 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Sep 28 13:13:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72e25d11

dev-python/trio: add missing test dep

Closes: https://bugs.gentoo.org/873283
Signed-off-by: Andrew Ammerlaan  gentoo.org>

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

diff --git a/dev-python/trio/trio-0.22.0.ebuild 
b/dev-python/trio/trio-0.22.0.ebuild
index 0762903a78dd..f4ead3cc9f45 100644
--- a/dev-python/trio/trio-0.22.0.ebuild
+++ b/dev-python/trio/trio-0.22.0.ebuild
@@ -31,11 +31,11 @@ RDEPEND="
dev-python/sniffio[${PYTHON_USEDEP}]
dev-python/sortedcontainers[${PYTHON_USEDEP}]
 "
-# NB: we're ignoring tests that require pyopenssl
 BDEPEND="
test? (
>=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
>=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/trustme[${PYTHON_USEDEP}]
)
 "



[gentoo-commits] repo/gentoo:master commit in: dev-python/trio/, profiles/features/wd40/

2022-09-28 Thread Andrew Ammerlaan
commit: ee23fb4365bb824ce2363b72d2b816e43562ea72
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Sep 28 11:45:10 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Sep 28 11:45:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee23fb43

dev-python/trio: add 0.22.0

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

 dev-python/trio/Manifest|  1 +
 dev-python/trio/trio-0.22.0.ebuild  | 68 +
 profiles/features/wd40/package.mask |  1 +
 3 files changed, 70 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index e0e21672d738..719ae9d2c64e 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1 +1,2 @@
 DIST trio-0.21.0.gh.tar.gz 491228 BLAKE2B 
e5f65d3aa9e4bc0c449e3986048d63fe3001a2eee96dbe5d8c088e0fce786b1d50861b47170baa7cced097938b16c92f0efd51518404a5e0ea6a17a48d656823
 SHA512 
383b11f264ddf4c78eb75829472826ebacf32d063790e8d4681d5df2f21c4f9287884db1752fd19976b674643adf7299816d4404e3032193ef90f522ad9cfa79
+DIST trio-0.22.0.gh.tar.gz 517482 BLAKE2B 
ab1fcb22d8f0ed9c8de831a9384b55ab433811863974cb767cb0ea4eb3a0df7372b5ea2c2d4c2af3ca1d3c8c3144d5546ad8cc68276b17ecb3d20ea1858ba9e0
 SHA512 
45b813d6cc65f8d49f70cb0ea7f33593fed0cc5989c60ba449f0b38c4759604aa7360cd016758fd364438b92516be549edf1efd583c7f5ee2de8813334f182bc

diff --git a/dev-python/trio/trio-0.22.0.ebuild 
b/dev-python/trio/trio-0.22.0.ebuild
new file mode 100644
index ..0762903a78dd
--- /dev/null
+++ b/dev-python/trio/trio-0.22.0.ebuild
@@ -0,0 +1,68 @@
+# 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..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
+   >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+   >=dev-python/exceptiongroup-1.0.0_rc9[${PYTHON_USEDEP}]
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   dev-python/sniffio[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+# NB: we're ignoring tests that require pyopenssl
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/trustme[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source \
+   dev-python/immutables \
+   dev-python/sphinxcontrib-trio \
+   dev-python/sphinx_rtd_theme \
+   dev-python/towncrier
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   # these tests require internet access
+   trio/tests/test_ssl.py
+   trio/tests/test_highlevel_ssl_helpers.py
+   )
+
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+
+   # incompatible ipython version?
+   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -m "not redistributors_should_skip"
+}

diff --git a/profiles/features/wd40/package.mask 
b/profiles/features/wd40/package.mask
index 9e34df407953..73cf842b502d 100644
--- a/profiles/features/wd40/package.mask
+++ b/profiles/features/wd40/package.mask
@@ -50,6 +50,7 @@ dev-python/spur
 dev-python/sshtunnel
 dev-python/tempest
 dev-python/trustme
+>=dev-python/trio-0.22.0
 dev-python/twine
 dev-python/watchfiles
 dev-ros/roswtf



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

2022-08-31 Thread Andrew Ammerlaan
commit: 1bfa4f7671ec866d7d5c13c1dbefdc489a750f4b
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Aug 31 16:44:25 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Aug 31 17:56:18 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bfa4f76

dev-python/trio-asyncio: properly skip the test on python3_{8,9} as well.

Closes: https://bugs.gentoo.org/867733
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild 
b/dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild
index 0130aa355548..32be0ae5ec74 100644
--- a/dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild
+++ b/dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild
@@ -33,6 +33,8 @@ PATCHES=( "${FILESDIR}/no-pytest-runner.patch" )
 EPYTEST_DESELECT=(
# RuntimeError: You're within a Trio environment.
# https://bugs.gentoo.org/834955
+   /Python-3.8/test_asyncio/test_locks.py::ConditionTests::test_ambiguo
+   /Python-3.9/test_asyncio/test_locks.py::ConditionTests::test_ambiguo
/Python-3.10/test_asyncio/test_locks.py::ConditionTests::test_ambiguo
/Python-3.11/test_asyncio/test_locks.py::ConditionTests::test_ambiguo
 )



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

2022-08-31 Thread Andrew Ammerlaan
commit: 1244989d9b3f6e6b3ecf17dce7df4404bc56faf1
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Wed Aug 31 13:05:42 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Wed Aug 31 13:06:54 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1244989d

dev-python/trio-asyncio: update EAPI 7 -> 8, pep517

Closes: https://bugs.gentoo.org/834955
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 dev-python/trio-asyncio/Manifest   |  1 +
 .../trio-asyncio/trio-asyncio-0.12.0-r1.ebuild | 41 ++
 2 files changed, 42 insertions(+)

diff --git a/dev-python/trio-asyncio/Manifest b/dev-python/trio-asyncio/Manifest
index a4fd4634294e..6b789ea8d080 100644
--- a/dev-python/trio-asyncio/Manifest
+++ b/dev-python/trio-asyncio/Manifest
@@ -1 +1,2 @@
+DIST trio-asyncio-0.12.0.gh.tar.gz 72508 BLAKE2B 
f2dad48e20dadb81f603f8e7edf5d108f5c1dec332e65599e06495a9e3b919d20a15e3cb0d4f06c46a0e844cd79a88c172043b5cae2bc632661679a9ac854c04
 SHA512 
da630bf95d0736efd419a7b84d3fcb55f4440ef5f3ac584f36b2eca9188145d4581b20d4842b1322b07f176822f7c76e32ae57ac71899ea2445ce1783bcd382c
 DIST trio-asyncio-0.12.0.tar.gz 72508 BLAKE2B 
f2dad48e20dadb81f603f8e7edf5d108f5c1dec332e65599e06495a9e3b919d20a15e3cb0d4f06c46a0e844cd79a88c172043b5cae2bc632661679a9ac854c04
 SHA512 
da630bf95d0736efd419a7b84d3fcb55f4440ef5f3ac584f36b2eca9188145d4581b20d4842b1322b07f176822f7c76e32ae57ac71899ea2445ce1783bcd382c

diff --git a/dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild 
b/dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild
new file mode 100644
index ..0130aa355548
--- /dev/null
+++ b/dev-python/trio-asyncio/trio-asyncio-0.12.0-r1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="a re-implementation of the asyncio mainloop on top of Trio"
+HOMEPAGE="
+   https://github.com/python-trio/trio-asyncio
+   https://pypi.org/project/trio-asyncio/
+"
+SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+   dev-python/outcome[${PYTHON_USEDEP}]
+   dev-python/sniffio[${PYTHON_USEDEP}]
+   >=dev-python/trio-0.15.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+   test? (
+   >=dev-python/pytest-trio-0.6[${PYTHON_USEDEP}]
+   )
+"
+PATCHES=( "${FILESDIR}/no-pytest-runner.patch" )
+
+EPYTEST_DESELECT=(
+   # RuntimeError: You're within a Trio environment.
+   # https://bugs.gentoo.org/834955
+   /Python-3.10/test_asyncio/test_locks.py::ConditionTests::test_ambiguo
+   /Python-3.11/test_asyncio/test_locks.py::ConditionTests::test_ambiguo
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio 
dev-python/sphinx_rtd_theme



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

2022-07-10 Thread Michał Górny
commit: 549e751f696628f0dc76b3f882501e7a0b748cea
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Jul 10 18:49:14 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Jul 10 18:50:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=549e751f

dev-python/trio: Remove old

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

 dev-python/trio/Manifest  |  1 -
 dev-python/trio/files/trio-0.20.0-py311.patch | 26 --
 dev-python/trio/trio-0.20.0.ebuild| 75 ---
 3 files changed, 102 deletions(-)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 061047fccaa6..e0e21672d738 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,2 +1 @@
-DIST trio-0.20.0.tar.gz 491254 BLAKE2B 
354e8019d1ba8ac35bbb00477806ab87d62de0e9a94b1ff3a4d63c024af8cd40261c46a2c9449f38550e809938f3c6ee620a47e866bc31203c3c4a4984446fa5
 SHA512 
9aa431d0bc28737dd48a7358446acaffbf34860dc467ac121166f7241ebf4a4ed8bcdc8dc0277034e3c3fd70f1f8a57d790e98bdda7a1141f2c53c6b85a97a3c
 DIST trio-0.21.0.gh.tar.gz 491228 BLAKE2B 
e5f65d3aa9e4bc0c449e3986048d63fe3001a2eee96dbe5d8c088e0fce786b1d50861b47170baa7cced097938b16c92f0efd51518404a5e0ea6a17a48d656823
 SHA512 
383b11f264ddf4c78eb75829472826ebacf32d063790e8d4681d5df2f21c4f9287884db1752fd19976b674643adf7299816d4404e3032193ef90f522ad9cfa79

diff --git a/dev-python/trio/files/trio-0.20.0-py311.patch 
b/dev-python/trio/files/trio-0.20.0-py311.patch
deleted file mode 100644
index f7d447825a16..
--- a/dev-python/trio/files/trio-0.20.0-py311.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-diff --git a/trio/_core/_multierror.py b/trio/_core/_multierror.py
-index 6dfdaa7a5..de0d56d46 100644
 a/trio/_core/_multierror.py
-+++ b/trio/_core/_multierror.py
-@@ -383,11 +383,10 @@ def traceback_exception_init(
- capture_locals=False,
- compact=False,
- _seen=None,
-+**kwargs,
- ):
- if sys.version_info >= (3, 10):
--kwargs = {"compact": compact}
--else:
--kwargs = {}
-+kwargs["compact"] = compact
- 
- # Capture the original exception and its cause and context as 
TracebackExceptions
- traceback_exception_original_init(
-@@ -421,6 +420,7 @@ def traceback_exception_init(
- # copy the set of _seen exceptions so that duplicates
- # shared between sub-exceptions are not omitted
- _seen=None if seen_was_none else set(_seen),
-+**kwargs,
- )
- )
- self.embedded = embedded

diff --git a/dev-python/trio/trio-0.20.0.ebuild 
b/dev-python/trio/trio-0.20.0.ebuild
deleted file mode 100644
index 10ace0d68090..
--- a/dev-python/trio/trio-0.20.0.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( pypy3 python3_{8..11} )
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1
-
-DESCRIPTION="Python library for async concurrency and I/O"
-HOMEPAGE="
-   https://github.com/python-trio/trio/
-   https://pypi.org/project/trio/
-"
-SRC_URI="
-   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
-   -> ${P}.tar.gz
-"
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~mips ppc ppc64 ~riscv 
~s390 sparc x86"
-
-RDEPEND="
-   >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
-   >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
-   dev-python/idna[${PYTHON_USEDEP}]
-   dev-python/outcome[${PYTHON_USEDEP}]
-   dev-python/sniffio[${PYTHON_USEDEP}]
-   dev-python/sortedcontainers[${PYTHON_USEDEP}]
-"
-# NB: we're ignoring tests that require trustme+pyopenssl
-BDEPEND="
-   test? (
-   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}/${P}-py311.patch"
-)
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs/source \
-   dev-python/immutables \
-   dev-python/sphinxcontrib-trio \
-   dev-python/sphinx_rtd_theme \
-   dev-python/towncrier
-
-python_test() {
-   local EPYTEST_IGNORE=(
-   # these tests require internet access
-   trio/tests/test_ssl.py
-   trio/tests/test_highlevel_ssl_helpers.py
-   )
-
-   local EPYTEST_DESELECT=(
-   # Times out on slower arches (ia64 in this case)
-   # https://github.com/python-trio/trio/issues/1753
-   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
-
-   # incompatible ipython version?
-   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
-   )
-
-   [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
-   # test for functionality that has been removed 

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

2022-07-10 Thread Sam James
commit: 0bb4f9881947757652c78627642a128132f5811e
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 10 16:55:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 10 16:55:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb4f988

dev-python/trio: Stabilize 0.21.0 ALLARCHES, #857435

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

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

diff --git a/dev-python/trio/trio-0.21.0.ebuild 
b/dev-python/trio/trio-0.21.0.ebuild
index 6fc1ee37808f..3e91277b5bb8 100644
--- a/dev-python/trio/trio-0.21.0.ebuild
+++ b/dev-python/trio/trio-0.21.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="|| ( Apache-2.0 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/async_generator-1.9[${PYTHON_USEDEP}]



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

2022-06-07 Thread Michał Górny
commit: f676c1f1cdb05d864b4c7b7df61defbfe2ae53f4
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Jun  8 04:39:23 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Jun  8 05:34:50 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f676c1f1

dev-python/trio: Bump to 0.21.0

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

 dev-python/trio/Manifest   |  1 +
 dev-python/trio/trio-0.21.0.ebuild | 66 ++
 2 files changed, 67 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index b15fbda9fd41..061047fccaa6 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1 +1,2 @@
 DIST trio-0.20.0.tar.gz 491254 BLAKE2B 
354e8019d1ba8ac35bbb00477806ab87d62de0e9a94b1ff3a4d63c024af8cd40261c46a2c9449f38550e809938f3c6ee620a47e866bc31203c3c4a4984446fa5
 SHA512 
9aa431d0bc28737dd48a7358446acaffbf34860dc467ac121166f7241ebf4a4ed8bcdc8dc0277034e3c3fd70f1f8a57d790e98bdda7a1141f2c53c6b85a97a3c
+DIST trio-0.21.0.gh.tar.gz 491228 BLAKE2B 
e5f65d3aa9e4bc0c449e3986048d63fe3001a2eee96dbe5d8c088e0fce786b1d50861b47170baa7cced097938b16c92f0efd51518404a5e0ea6a17a48d656823
 SHA512 
383b11f264ddf4c78eb75829472826ebacf32d063790e8d4681d5df2f21c4f9287884db1752fd19976b674643adf7299816d4404e3032193ef90f522ad9cfa79

diff --git a/dev-python/trio/trio-0.21.0.ebuild 
b/dev-python/trio/trio-0.21.0.ebuild
new file mode 100644
index ..6fc1ee37808f
--- /dev/null
+++ b/dev-python/trio/trio-0.21.0.ebuild
@@ -0,0 +1,66 @@
+# 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..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
+"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.gh.tar.gz
+"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 
~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
+   >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   dev-python/sniffio[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+# NB: we're ignoring tests that require trustme+pyopenssl
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source \
+   dev-python/immutables \
+   dev-python/sphinxcontrib-trio \
+   dev-python/sphinx_rtd_theme \
+   dev-python/towncrier
+
+python_test() {
+   local EPYTEST_IGNORE=(
+   # these tests require internet access
+   trio/tests/test_ssl.py
+   trio/tests/test_highlevel_ssl_helpers.py
+   )
+
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+
+   # incompatible ipython version?
+   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
+   )
+
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+   epytest -m "not redistributors_should_skip"
+}



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

2022-05-15 Thread Michał Górny
commit: 26feaf57c5a4ecc163efc2d036b9c6df1b48067b
Author: Michał Górny  gentoo  org>
AuthorDate: Sun May 15 05:49:43 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun May 15 06:07:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26feaf57

dev-python/trio: Enable py3.11

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

 dev-python/trio/files/trio-0.20.0-py311.patch | 26 +++
 dev-python/trio/trio-0.20.0.ebuild| 37 +--
 2 files changed, 49 insertions(+), 14 deletions(-)

diff --git a/dev-python/trio/files/trio-0.20.0-py311.patch 
b/dev-python/trio/files/trio-0.20.0-py311.patch
new file mode 100644
index ..f7d447825a16
--- /dev/null
+++ b/dev-python/trio/files/trio-0.20.0-py311.patch
@@ -0,0 +1,26 @@
+diff --git a/trio/_core/_multierror.py b/trio/_core/_multierror.py
+index 6dfdaa7a5..de0d56d46 100644
+--- a/trio/_core/_multierror.py
 b/trio/_core/_multierror.py
+@@ -383,11 +383,10 @@ def traceback_exception_init(
+ capture_locals=False,
+ compact=False,
+ _seen=None,
++**kwargs,
+ ):
+ if sys.version_info >= (3, 10):
+-kwargs = {"compact": compact}
+-else:
+-kwargs = {}
++kwargs["compact"] = compact
+ 
+ # Capture the original exception and its cause and context as 
TracebackExceptions
+ traceback_exception_original_init(
+@@ -421,6 +420,7 @@ def traceback_exception_init(
+ # copy the set of _seen exceptions so that duplicates
+ # shared between sub-exceptions are not omitted
+ _seen=None if seen_was_none else set(_seen),
++**kwargs,
+ )
+ )
+ self.embedded = embedded

diff --git a/dev-python/trio/trio-0.20.0.ebuild 
b/dev-python/trio/trio-0.20.0.ebuild
index 721a7b11a297..10ace0d68090 100644
--- a/dev-python/trio/trio-0.20.0.ebuild
+++ b/dev-python/trio/trio-0.20.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( pypy3 python3_{8..10} )
+PYTHON_COMPAT=( pypy3 python3_{8..11} )
 DISTUTILS_USE_PEP517=setuptools
 
 inherit distutils-r1
@@ -38,19 +38,8 @@ BDEPEND="
)
 "
 
-EPYTEST_DESELECT=(
-   # Times out on slower arches (ia64 in this case)
-   # https://github.com/python-trio/trio/issues/1753
-   trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
-
-   # incompatible ipython version?
-   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
-)
-
-EPYTEST_IGNORE=(
-   # these tests require internet access
-   trio/tests/test_ssl.py
-   trio/tests/test_highlevel_ssl_helpers.py
+PATCHES=(
+   "${FILESDIR}/${P}-py311.patch"
 )
 
 distutils_enable_tests pytest
@@ -61,6 +50,26 @@ distutils_enable_sphinx docs/source \
dev-python/towncrier
 
 python_test() {
+   local EPYTEST_IGNORE=(
+   # these tests require internet access
+   trio/tests/test_ssl.py
+   trio/tests/test_highlevel_ssl_helpers.py
+   )
+
+   local EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+
+   # incompatible ipython version?
+   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
+   )
+
+   [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
+   # test for functionality that has been removed from py3.11
+   trio/tests/test_util.py::test_coroutine_or_error
+   )
+
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m "not redistributors_should_skip"
 }



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

2022-05-06 Thread Michał Górny
commit: 30b234520e30e51643e6853961a06cd11912edd8
Author: Michał Górny  gentoo  org>
AuthorDate: Fri May  6 13:22:00 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri May  6 13:22:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30b23452

dev-python/trio: Keyword 0.20.0 alpha, #808273

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

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

diff --git a/dev-python/trio/trio-0.20.0.ebuild 
b/dev-python/trio/trio-0.20.0.ebuild
index b7771ddfe9bf..c7315572b631 100644
--- a/dev-python/trio/trio-0.20.0.ebuild
+++ b/dev-python/trio/trio-0.20.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86"
 
 RDEPEND="
>=dev-python/async_generator-1.9[${PYTHON_USEDEP}]



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

2022-04-25 Thread Sam James
commit: 0c394eac742e07df00b80ca72a8100f56e173ca3
Author: Sam James  gentoo  org>
AuthorDate: Mon Apr 25 17:16:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Apr 25 17:16:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c394eac

dev-python/trio: Keyword 0.20.0 s390, #840785

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

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

diff --git a/dev-python/trio/trio-0.20.0.ebuild 
b/dev-python/trio/trio-0.20.0.ebuild
index a544993a08dc..fb5db8abf00e 100644
--- a/dev-python/trio/trio-0.20.0.ebuild
+++ b/dev-python/trio/trio-0.20.0.ebuild
@@ -20,7 +20,7 @@ SRC_URI="
 
 LICENSE="|| ( Apache-2.0 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/async_generator-1.9[${PYTHON_USEDEP}]



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

2022-04-07 Thread Michał Górny
commit: 8d9031e6a05957689353feafa3d5cc2f311d91cb
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  7 08:42:06 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  7 08:45:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d9031e6

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

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

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

diff --git a/dev-python/trio/metadata.xml b/dev-python/trio/metadata.xml
index 3cfd749824db..9a0a7c3b54c5 100644
--- a/dev-python/trio/metadata.xml
+++ b/dev-python/trio/metadata.xml
@@ -6,6 +6,10 @@
andrewammerl...@gentoo.org
Andrew Ammerlaan

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


 The Trio project's goal is to produce a production-quality, permissively 
licensed, async/await-native I/O library for Python. Like all async libraries, 
its main purpose is to help you write programs that do multiple things at the 
same time with parallelized I/O. A web spider that wants to fetch lots of pages 
in parallel, a web server that needs to juggle lots of downloads and websocket 
connections at the same time, a process supervisor monitoring multiple 
subprocesses... that sort of thing. Compared to other libraries, Trio attempts 
to distinguish itself with an obsessive focus on usability and correctness. 
Concurrency is complicated; we try to make it easy to get things right.



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

2022-04-07 Thread Michał Górny
commit: 976f6d76a78e26e290ac0855b41076ba12ff0da6
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  7 08:41:45 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  7 08:45:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=976f6d76

dev-python/trio: Fix HOMEPAGE

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

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

diff --git a/dev-python/trio/trio-0.20.0.ebuild 
b/dev-python/trio/trio-0.20.0.ebuild
index 7886ff51e8af..a544993a08dc 100644
--- a/dev-python/trio/trio-0.20.0.ebuild
+++ b/dev-python/trio/trio-0.20.0.ebuild
@@ -10,8 +10,8 @@ inherit distutils-r1
 
 DESCRIPTION="Python library for async concurrency and I/O"
 HOMEPAGE="
-   https://github.com/python-trio/trio
-   https://pypi.org/project/trio
+   https://github.com/python-trio/trio/
+   https://pypi.org/project/trio/
 "
 SRC_URI="
https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz



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

2022-04-07 Thread Michał Górny
commit: 84c0461f155282edcb097156914767b4fac4d36e
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  7 08:40:54 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  7 08:45:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84c0461f

dev-python/trio: Fix tests

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

 dev-python/trio/trio-0.20.0.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/trio/trio-0.20.0.ebuild 
b/dev-python/trio/trio-0.20.0.ebuild
index 07ef1e108cee..22ac3caa37a2 100644
--- a/dev-python/trio/trio-0.20.0.ebuild
+++ b/dev-python/trio/trio-0.20.0.ebuild
@@ -38,6 +38,9 @@ EPYTEST_DESELECT=(
# Times out on slower arches (ia64 in this case)
# https://github.com/python-trio/trio/issues/1753
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+
+   # incompatible ipython version?
+   trio/_core/tests/test_multierror.py::test_ipython_exc_handler
 )
 
 EPYTEST_IGNORE=(
@@ -54,5 +57,6 @@ distutils_enable_sphinx docs/source \
dev-python/towncrier
 
 python_test() {
+   local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
epytest -m "not redistributors_should_skip"
 }



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

2022-04-07 Thread Michał Górny
commit: 9ba8a004073c90f734ac62a333ff5403d89a6bc6
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  7 08:15:48 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  7 08:45:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba8a004

dev-python/trio: Remove unused deps on jedi & pylint

The jedi and pylint dependencies are used in one test only,
and the ebuild has been skipping this test anyway.  While at it, skip it
using upstream marker instead of explicitly by name.

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

 dev-python/trio/trio-0.20.0.ebuild | 19 ---
 1 file changed, 8 insertions(+), 11 deletions(-)

diff --git a/dev-python/trio/trio-0.20.0.ebuild 
b/dev-python/trio/trio-0.20.0.ebuild
index 5611597d176c..de63f002d01d 100644
--- a/dev-python/trio/trio-0.20.0.ebuild
+++ b/dev-python/trio/trio-0.20.0.ebuild
@@ -32,8 +32,6 @@ BDEPEND="
>=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
>=dev-python/immutables-0.6[${PYTHON_USEDEP}]
dev-python/ipython[${PYTHON_USEDEP}]
-   >=dev-python/jedi-0.18.0[${PYTHON_USEDEP}]
-   dev-python/pylint[${PYTHON_USEDEP}]
)
 "
 
@@ -41,11 +39,6 @@ EPYTEST_DESELECT=(
# Times out on slower arches (ia64 in this case)
# https://github.com/python-trio/trio/issues/1753
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
-
-   # Fail with Python 3.10 on 'IPPROTO_MPTCP'
-   # Everything else passes and this is a simple check for exported symbols
-   # Let's try again with the next release (after 0.19.0).
-   trio/tests/test_exports.py::test_static_tool_sees_all_symbols
 )
 
 EPYTEST_IGNORE=(
@@ -56,7 +49,11 @@ EPYTEST_IGNORE=(
 
 distutils_enable_tests pytest
 distutils_enable_sphinx docs/source \
-   dev-python/immutables \
-   dev-python/sphinxcontrib-trio \
-   dev-python/sphinx_rtd_theme \
-   dev-python/towncrier
+   dev-python/immutables \
+   dev-python/sphinxcontrib-trio \
+   dev-python/sphinx_rtd_theme \
+   dev-python/towncrier
+
+python_test() {
+   epytest -m "not redistributors_should_skip"
+}



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

2022-04-07 Thread Michał Górny
commit: 46217e9ee59f308b64864b2269c6213708975736
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  7 08:21:06 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  7 08:45:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46217e9e

dev-python/trio: Remove optional test dep on dev-python/ipython

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

 dev-python/trio/trio-0.20.0.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dev-python/trio/trio-0.20.0.ebuild 
b/dev-python/trio/trio-0.20.0.ebuild
index de63f002d01d..07ef1e108cee 100644
--- a/dev-python/trio/trio-0.20.0.ebuild
+++ b/dev-python/trio/trio-0.20.0.ebuild
@@ -31,7 +31,6 @@ BDEPEND="
test? (
>=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
>=dev-python/immutables-0.6[${PYTHON_USEDEP}]
-   dev-python/ipython[${PYTHON_USEDEP}]
)
 "
 



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

2022-04-07 Thread Michał Górny
commit: 3b1ec583819afa69148c375c2d52010d5753ea83
Author: Michał Górny  gentoo  org>
AuthorDate: Thu Apr  7 08:41:18 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Apr  7 08:45:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b1ec583

dev-python/trio: Enable pypy3

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

 dev-python/trio/trio-0.20.0.ebuild | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-python/trio/trio-0.20.0.ebuild 
b/dev-python/trio/trio-0.20.0.ebuild
index 22ac3caa37a2..7886ff51e8af 100644
--- a/dev-python/trio/trio-0.20.0.ebuild
+++ b/dev-python/trio/trio-0.20.0.ebuild
@@ -3,8 +3,9 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( pypy3 python3_{8..10} )
 DISTUTILS_USE_PEP517=setuptools
+
 inherit distutils-r1
 
 DESCRIPTION="Python library for async concurrency and I/O"
@@ -12,7 +13,10 @@ HOMEPAGE="
https://github.com/python-trio/trio
https://pypi.org/project/trio
 "
-SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+SRC_URI="
+   https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz
+   -> ${P}.tar.gz
+"
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"



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

2022-03-27 Thread Arthur Zamarin
commit: 837437840357cb0823d933e3f3a0631bf1f78070
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Mar 27 11:41:51 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Mar 27 17:01:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83743784

dev-python/trio: remove unused patch(es)

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/24772
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/trio/files/trio-0.19.0-python3.10.patch | 25 --
 1 file changed, 25 deletions(-)

diff --git a/dev-python/trio/files/trio-0.19.0-python3.10.patch 
b/dev-python/trio/files/trio-0.19.0-python3.10.patch
deleted file mode 100644
index 45af8955df3e..
--- a/dev-python/trio/files/trio-0.19.0-python3.10.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-https://github.com/python-trio/trio/commit/0a0b75c914e63366f23790d72caa10bdfcc186f6
-https://github.com/python-trio/trio/pull/2061
-
-From a9c54747b90129776f6d2d384e0f64efaac324ee Mon Sep 17 00:00:00 2001
-From: "Nathaniel J. Smith" 
-Date: Tue, 13 Jul 2021 17:34:26 -0700
-Subject: [PATCH] Export IP_RECVTOS, newly added in python 3.10
-

- trio/socket.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/trio/socket.py b/trio/socket.py
-index 5402f5bc7..afbcefa1d 100644
 a/trio/socket.py
-+++ b/trio/socket.py
-@@ -117,7 +117,7 @@
- J1939_PGN_MAX, J1939_PGN_PDU1_MAX, J1939_PGN_REQUEST,
- SCM_J1939_DEST_ADDR, SCM_J1939_DEST_NAME, SCM_J1939_ERRQUEUE,
- SCM_J1939_PRIO, SO_J1939_ERRQUEUE, SO_J1939_FILTER, SO_J1939_PROMISC,
--SO_J1939_SEND_PRIO, UDPLITE_RECV_CSCOV, UDPLITE_SEND_CSCOV
-+SO_J1939_SEND_PRIO, UDPLITE_RECV_CSCOV, UDPLITE_SEND_CSCOV, IP_RECVTOS
- )
- # fmt: on
- except ImportError:



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

2022-03-26 Thread Arthur Zamarin
commit: a3d1c3ab5f1fd6e4ceda4c4b74f56ac92f59f90e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar 26 18:19:51 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 26 18:20:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3d1c3ab

dev-python/trio: revert drop 0.20.0

Reverts: 466dac8987b99f0b1f0da2631dbae459a413db26
Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-python/trio/Manifest   |  1 +
 dev-python/trio/trio-0.20.0.ebuild | 62 ++
 2 files changed, 63 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 3a72c2dee339..0aa85ca2e0bb 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1 +1,2 @@
 DIST trio-0.19.0.tar.gz 486036 BLAKE2B 
052cadb8d251960b20349659b92f4d26c5b65128cbbfafee21a4a4b90463e43d9c9db6b35f3659d2b062c7d0b8b8914b31b38d2faed6c9d948c0ccbe85a0a250
 SHA512 
5297a3f48b786eac05b686f1e8bb0603a9c0133d6c4872a307cdc8f1e37aedb57d668b61c2568c82b7d1058b6604a22d2c5c2298f13d13f0daf8e9259aa76d7c
+DIST trio-0.20.0.tar.gz 491254 BLAKE2B 
354e8019d1ba8ac35bbb00477806ab87d62de0e9a94b1ff3a4d63c024af8cd40261c46a2c9449f38550e809938f3c6ee620a47e866bc31203c3c4a4984446fa5
 SHA512 
9aa431d0bc28737dd48a7358446acaffbf34860dc467ac121166f7241ebf4a4ed8bcdc8dc0277034e3c3fd70f1f8a57d790e98bdda7a1141f2c53c6b85a97a3c

diff --git a/dev-python/trio/trio-0.20.0.ebuild 
b/dev-python/trio/trio-0.20.0.ebuild
new file mode 100644
index ..5611597d176c
--- /dev/null
+++ b/dev-python/trio/trio-0.20.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio
+   https://pypi.org/project/trio
+"
+SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86"
+
+RDEPEND="
+   >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
+   >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   dev-python/sniffio[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+# NB: we're ignoring tests that require trustme+pyopenssl
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/ipython[${PYTHON_USEDEP}]
+   >=dev-python/jedi-0.18.0[${PYTHON_USEDEP}]
+   dev-python/pylint[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+
+   # Fail with Python 3.10 on 'IPPROTO_MPTCP'
+   # Everything else passes and this is a simple check for exported symbols
+   # Let's try again with the next release (after 0.19.0).
+   trio/tests/test_exports.py::test_static_tool_sees_all_symbols
+)
+
+EPYTEST_IGNORE=(
+   # these tests require internet access
+   trio/tests/test_ssl.py
+   trio/tests/test_highlevel_ssl_helpers.py
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source \
+   dev-python/immutables \
+   dev-python/sphinxcontrib-trio \
+   dev-python/sphinx_rtd_theme \
+   dev-python/towncrier



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

2022-03-26 Thread Arthur Zamarin
commit: a3c048e42b4eef8dd95a964949ace890fc77e16e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar 26 18:20:37 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 26 18:20:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3c048e4

dev-python/trio: drop 0.19.0

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

 dev-python/trio/Manifest   |  1 -
 dev-python/trio/trio-0.19.0.ebuild | 66 --
 2 files changed, 67 deletions(-)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 0aa85ca2e0bb..b15fbda9fd41 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,2 +1 @@
-DIST trio-0.19.0.tar.gz 486036 BLAKE2B 
052cadb8d251960b20349659b92f4d26c5b65128cbbfafee21a4a4b90463e43d9c9db6b35f3659d2b062c7d0b8b8914b31b38d2faed6c9d948c0ccbe85a0a250
 SHA512 
5297a3f48b786eac05b686f1e8bb0603a9c0133d6c4872a307cdc8f1e37aedb57d668b61c2568c82b7d1058b6604a22d2c5c2298f13d13f0daf8e9259aa76d7c
 DIST trio-0.20.0.tar.gz 491254 BLAKE2B 
354e8019d1ba8ac35bbb00477806ab87d62de0e9a94b1ff3a4d63c024af8cd40261c46a2c9449f38550e809938f3c6ee620a47e866bc31203c3c4a4984446fa5
 SHA512 
9aa431d0bc28737dd48a7358446acaffbf34860dc467ac121166f7241ebf4a4ed8bcdc8dc0277034e3c3fd70f1f8a57d790e98bdda7a1141f2c53c6b85a97a3c

diff --git a/dev-python/trio/trio-0.19.0.ebuild 
b/dev-python/trio/trio-0.19.0.ebuild
deleted file mode 100644
index b02ca40ed6e5..
--- a/dev-python/trio/trio-0.19.0.ebuild
+++ /dev/null
@@ -1,66 +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="Python library for async concurrency and I/O"
-HOMEPAGE="
-   https://github.com/python-trio/trio
-   https://pypi.org/project/trio
-"
-SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86"
-
-RDEPEND="
-   >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
-   >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
-   dev-python/idna[${PYTHON_USEDEP}]
-   dev-python/outcome[${PYTHON_USEDEP}]
-   dev-python/sniffio[${PYTHON_USEDEP}]
-   dev-python/sortedcontainers[${PYTHON_USEDEP}]
-"
-# NB: we're ignoring tests that require trustme+pyopenssl
-BDEPEND="
-   test? (
-   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
-   dev-python/ipython[${PYTHON_USEDEP}]
-   >=dev-python/jedi-0.18.0[${PYTHON_USEDEP}]
-   dev-python/pylint[${PYTHON_USEDEP}]
-   )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${P}-python3.10.patch
-)
-
-EPYTEST_DESELECT=(
-   # Times out on slower arches (ia64 in this case)
-   # https://github.com/python-trio/trio/issues/1753
-   trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
-
-   # Fail with Python 3.10 on 'IPPROTO_MPTCP'
-   # Everything else passes and this is a simple check for exported symbols
-   # Let's try again with the next release (after 0.19.0).
-   trio/tests/test_exports.py::test_static_tool_sees_all_symbols
-)
-
-EPYTEST_IGNORE=(
-   # these tests require internet access
-   trio/tests/test_ssl.py
-   trio/tests/test_highlevel_ssl_helpers.py
-)
-
-distutils_enable_tests --install pytest
-distutils_enable_sphinx docs/source \
-   dev-python/immutables \
-   dev-python/sphinxcontrib-trio \
-   dev-python/sphinx_rtd_theme \
-   dev-python/towncrier



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

2022-03-26 Thread Arthur Zamarin
commit: 466dac8987b99f0b1f0da2631dbae459a413db26
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar 26 17:59:22 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 26 17:59:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=466dac89

dev-python/trio: drop 0.20.0

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

 dev-python/trio/Manifest   |  1 -
 dev-python/trio/trio-0.20.0.ebuild | 62 --
 2 files changed, 63 deletions(-)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 0aa85ca2e0bb..3a72c2dee339 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1,2 +1 @@
 DIST trio-0.19.0.tar.gz 486036 BLAKE2B 
052cadb8d251960b20349659b92f4d26c5b65128cbbfafee21a4a4b90463e43d9c9db6b35f3659d2b062c7d0b8b8914b31b38d2faed6c9d948c0ccbe85a0a250
 SHA512 
5297a3f48b786eac05b686f1e8bb0603a9c0133d6c4872a307cdc8f1e37aedb57d668b61c2568c82b7d1058b6604a22d2c5c2298f13d13f0daf8e9259aa76d7c
-DIST trio-0.20.0.tar.gz 491254 BLAKE2B 
354e8019d1ba8ac35bbb00477806ab87d62de0e9a94b1ff3a4d63c024af8cd40261c46a2c9449f38550e809938f3c6ee620a47e866bc31203c3c4a4984446fa5
 SHA512 
9aa431d0bc28737dd48a7358446acaffbf34860dc467ac121166f7241ebf4a4ed8bcdc8dc0277034e3c3fd70f1f8a57d790e98bdda7a1141f2c53c6b85a97a3c

diff --git a/dev-python/trio/trio-0.20.0.ebuild 
b/dev-python/trio/trio-0.20.0.ebuild
deleted file mode 100644
index 5611597d176c..
--- a/dev-python/trio/trio-0.20.0.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
-
-DESCRIPTION="Python library for async concurrency and I/O"
-HOMEPAGE="
-   https://github.com/python-trio/trio
-   https://pypi.org/project/trio
-"
-SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="|| ( Apache-2.0 MIT )"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86"
-
-RDEPEND="
-   >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
-   >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
-   dev-python/idna[${PYTHON_USEDEP}]
-   dev-python/outcome[${PYTHON_USEDEP}]
-   dev-python/sniffio[${PYTHON_USEDEP}]
-   dev-python/sortedcontainers[${PYTHON_USEDEP}]
-"
-# NB: we're ignoring tests that require trustme+pyopenssl
-BDEPEND="
-   test? (
-   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
-   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
-   dev-python/ipython[${PYTHON_USEDEP}]
-   >=dev-python/jedi-0.18.0[${PYTHON_USEDEP}]
-   dev-python/pylint[${PYTHON_USEDEP}]
-   )
-"
-
-EPYTEST_DESELECT=(
-   # Times out on slower arches (ia64 in this case)
-   # https://github.com/python-trio/trio/issues/1753
-   trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
-
-   # Fail with Python 3.10 on 'IPPROTO_MPTCP'
-   # Everything else passes and this is a simple check for exported symbols
-   # Let's try again with the next release (after 0.19.0).
-   trio/tests/test_exports.py::test_static_tool_sees_all_symbols
-)
-
-EPYTEST_IGNORE=(
-   # these tests require internet access
-   trio/tests/test_ssl.py
-   trio/tests/test_highlevel_ssl_helpers.py
-)
-
-distutils_enable_tests pytest
-distutils_enable_sphinx docs/source \
-   dev-python/immutables \
-   dev-python/sphinxcontrib-trio \
-   dev-python/sphinx_rtd_theme \
-   dev-python/towncrier



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

2022-03-26 Thread Arthur Zamarin
commit: feda44e90a890392bc6be684ff28eaeefa068a29
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar 26 17:00:02 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar 26 17:00:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=feda44e9

dev-python/trio: Stabilize 0.20.0 ALLARCHES, #836175

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

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

diff --git a/dev-python/trio/trio-0.20.0.ebuild 
b/dev-python/trio/trio-0.20.0.ebuild
index 4d8c69bb7ba7..5611597d176c 100644
--- a/dev-python/trio/trio-0.20.0.ebuild
+++ b/dev-python/trio/trio-0.20.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
>=dev-python/async_generator-1.9[${PYTHON_USEDEP}]



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

2022-02-21 Thread Andrew Ammerlaan
commit: c058a3f5946fdd69f3d8c37ccba17a66e54d0a52
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon Feb 21 19:08:28 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Feb 21 19:09:09 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c058a3f5

dev-python/trio: add version 0.20.0

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

 dev-python/trio/Manifest   |  1 +
 dev-python/trio/trio-0.20.0.ebuild | 62 ++
 2 files changed, 63 insertions(+)

diff --git a/dev-python/trio/Manifest b/dev-python/trio/Manifest
index 3a72c2dee339..0aa85ca2e0bb 100644
--- a/dev-python/trio/Manifest
+++ b/dev-python/trio/Manifest
@@ -1 +1,2 @@
 DIST trio-0.19.0.tar.gz 486036 BLAKE2B 
052cadb8d251960b20349659b92f4d26c5b65128cbbfafee21a4a4b90463e43d9c9db6b35f3659d2b062c7d0b8b8914b31b38d2faed6c9d948c0ccbe85a0a250
 SHA512 
5297a3f48b786eac05b686f1e8bb0603a9c0133d6c4872a307cdc8f1e37aedb57d668b61c2568c82b7d1058b6604a22d2c5c2298f13d13f0daf8e9259aa76d7c
+DIST trio-0.20.0.tar.gz 491254 BLAKE2B 
354e8019d1ba8ac35bbb00477806ab87d62de0e9a94b1ff3a4d63c024af8cd40261c46a2c9449f38550e809938f3c6ee620a47e866bc31203c3c4a4984446fa5
 SHA512 
9aa431d0bc28737dd48a7358446acaffbf34860dc467ac121166f7241ebf4a4ed8bcdc8dc0277034e3c3fd70f1f8a57d790e98bdda7a1141f2c53c6b85a97a3c

diff --git a/dev-python/trio/trio-0.20.0.ebuild 
b/dev-python/trio/trio-0.20.0.ebuild
new file mode 100644
index ..4d8c69bb7ba7
--- /dev/null
+++ b/dev-python/trio/trio-0.20.0.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_PEP517=setuptools
+inherit distutils-r1
+
+DESCRIPTION="Python library for async concurrency and I/O"
+HOMEPAGE="
+   https://github.com/python-trio/trio
+   https://pypi.org/project/trio
+"
+SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="|| ( Apache-2.0 MIT )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+   >=dev-python/async_generator-1.9[${PYTHON_USEDEP}]
+   >=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
+   dev-python/idna[${PYTHON_USEDEP}]
+   dev-python/outcome[${PYTHON_USEDEP}]
+   dev-python/sniffio[${PYTHON_USEDEP}]
+   dev-python/sortedcontainers[${PYTHON_USEDEP}]
+"
+# NB: we're ignoring tests that require trustme+pyopenssl
+BDEPEND="
+   test? (
+   >=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
+   >=dev-python/immutables-0.6[${PYTHON_USEDEP}]
+   dev-python/ipython[${PYTHON_USEDEP}]
+   >=dev-python/jedi-0.18.0[${PYTHON_USEDEP}]
+   dev-python/pylint[${PYTHON_USEDEP}]
+   )
+"
+
+EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+
+   # Fail with Python 3.10 on 'IPPROTO_MPTCP'
+   # Everything else passes and this is a simple check for exported symbols
+   # Let's try again with the next release (after 0.19.0).
+   trio/tests/test_exports.py::test_static_tool_sees_all_symbols
+)
+
+EPYTEST_IGNORE=(
+   # these tests require internet access
+   trio/tests/test_ssl.py
+   trio/tests/test_highlevel_ssl_helpers.py
+)
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/source \
+   dev-python/immutables \
+   dev-python/sphinxcontrib-trio \
+   dev-python/sphinx_rtd_theme \
+   dev-python/towncrier



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

2021-11-28 Thread Andrew Ammerlaan
commit: 3e06ba00c5e17b372b92f6e066aee13526ab6000
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Sun Nov 28 12:16:29 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Sun Nov 28 12:51:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e06ba00

dev-python/trio-asyncio: enable py3.10

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

 dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild 
b/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild
index 296d8886411b..05009fc247e8 100644
--- a/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild
+++ b/dev-python/trio-asyncio/trio-asyncio-0.12.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
@@ -31,4 +31,4 @@ BDEPEND="
 PATCHES=( "${FILESDIR}/no-pytest-runner.patch" )
 
 distutils_enable_tests pytest
-distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio
+distutils_enable_sphinx docs/source dev-python/sphinxcontrib-trio 
dev-python/sphinx_rtd_theme



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

2021-11-27 Thread Michał Górny
commit: 1249c1ff11b35bd003ce0c65ce7c3910c5aa1bfb
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 27 13:15:43 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 27 13:46:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1249c1ff

dev-python/trio: Use EPYTEST_IGNORE for Internet tests

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

 dev-python/trio/trio-0.19.0.ebuild | 14 ++
 1 file changed, 6 insertions(+), 8 deletions(-)

diff --git a/dev-python/trio/trio-0.19.0.ebuild 
b/dev-python/trio/trio-0.19.0.ebuild
index 3a0aecc30f71..b02ca40ed6e5 100644
--- a/dev-python/trio/trio-0.19.0.ebuild
+++ b/dev-python/trio/trio-0.19.0.ebuild
@@ -52,17 +52,15 @@ EPYTEST_DESELECT=(
trio/tests/test_exports.py::test_static_tool_sees_all_symbols
 )
 
+EPYTEST_IGNORE=(
+   # these tests require internet access
+   trio/tests/test_ssl.py
+   trio/tests/test_highlevel_ssl_helpers.py
+)
+
 distutils_enable_tests --install pytest
 distutils_enable_sphinx docs/source \
dev-python/immutables \
dev-python/sphinxcontrib-trio \
dev-python/sphinx_rtd_theme \
dev-python/towncrier
-
-python_prepare_all() {
-   # these tests require internet access
-   rm trio/tests/test_ssl.py || die
-   rm trio/tests/test_highlevel_ssl_helpers.py || die
-
-   distutils-r1_python_prepare_all
-}



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

2021-11-27 Thread Michał Górny
commit: 1f7d04d6e19f7be033ef8b15d71a135ccc59557d
Author: Michał Górny  gentoo  org>
AuthorDate: Sat Nov 27 13:15:00 2021 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sat Nov 27 13:46:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f7d04d6

dev-python/trio: Remove unused SSL test deps

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

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

diff --git a/dev-python/trio/trio-0.19.0.ebuild 
b/dev-python/trio/trio-0.19.0.ebuild
index 2f5dc6e484dd..3a0aecc30f71 100644
--- a/dev-python/trio/trio-0.19.0.ebuild
+++ b/dev-python/trio/trio-0.19.0.ebuild
@@ -26,15 +26,14 @@ RDEPEND="
dev-python/sniffio[${PYTHON_USEDEP}]
dev-python/sortedcontainers[${PYTHON_USEDEP}]
 "
+# NB: we're ignoring tests that require trustme+pyopenssl
 BDEPEND="
test? (
>=dev-python/astor-0.8.0[${PYTHON_USEDEP}]
>=dev-python/immutables-0.6[${PYTHON_USEDEP}]
dev-python/ipython[${PYTHON_USEDEP}]
>=dev-python/jedi-0.18.0[${PYTHON_USEDEP}]
-   dev-python/pyopenssl[${PYTHON_USEDEP}]
dev-python/pylint[${PYTHON_USEDEP}]
-   dev-python/trustme[${PYTHON_USEDEP}]
)
 "
 



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

2021-11-18 Thread Sam James
commit: 4832afe43cb7c7eddc027faf47fdf2e11b82bad5
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 19 06:40:51 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 19 06:40:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4832afe4

dev-python/trio: Stabilize 0.19.0 arm, #811000

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

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

diff --git a/dev-python/trio/trio-0.19.0.ebuild 
b/dev-python/trio/trio-0.19.0.ebuild
index 5037096ab5d1..2f5dc6e484dd 100644
--- a/dev-python/trio/trio-0.19.0.ebuild
+++ b/dev-python/trio/trio-0.19.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
>=dev-python/async_generator-1.9[${PYTHON_USEDEP}]



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

2021-11-18 Thread Sam James
commit: b92b89c74a5592be7f7f1d008c324dd0c984fc70
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 18 09:08:37 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 18 09:08:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b92b89c7

dev-python/trio: Stabilize 0.19.0 ppc, #811000

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

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

diff --git a/dev-python/trio/trio-0.19.0.ebuild 
b/dev-python/trio/trio-0.19.0.ebuild
index cf7fb684f7e9..5037096ab5d1 100644
--- a/dev-python/trio/trio-0.19.0.ebuild
+++ b/dev-python/trio/trio-0.19.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ~ppc ppc64 ~riscv sparc x86"
+KEYWORDS="amd64 ~arm arm64 hppa ~ia64 ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
>=dev-python/async_generator-1.9[${PYTHON_USEDEP}]



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

2021-11-17 Thread Sam James
commit: a3ae72b4cb73182e41bfea2c1b270a9fa7e5e4a7
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 18 03:58:48 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 18 04:01:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3ae72b4

dev-python/trio: add Python 3.10

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

 dev-python/trio/files/trio-0.19.0-python3.10.patch | 25 ++
 dev-python/trio/trio-0.19.0.ebuild | 11 +-
 2 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/dev-python/trio/files/trio-0.19.0-python3.10.patch 
b/dev-python/trio/files/trio-0.19.0-python3.10.patch
new file mode 100644
index ..45af8955df3e
--- /dev/null
+++ b/dev-python/trio/files/trio-0.19.0-python3.10.patch
@@ -0,0 +1,25 @@
+https://github.com/python-trio/trio/commit/0a0b75c914e63366f23790d72caa10bdfcc186f6
+https://github.com/python-trio/trio/pull/2061
+
+From a9c54747b90129776f6d2d384e0f64efaac324ee Mon Sep 17 00:00:00 2001
+From: "Nathaniel J. Smith" 
+Date: Tue, 13 Jul 2021 17:34:26 -0700
+Subject: [PATCH] Export IP_RECVTOS, newly added in python 3.10
+
+---
+ trio/socket.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/trio/socket.py b/trio/socket.py
+index 5402f5bc7..afbcefa1d 100644
+--- a/trio/socket.py
 b/trio/socket.py
+@@ -117,7 +117,7 @@
+ J1939_PGN_MAX, J1939_PGN_PDU1_MAX, J1939_PGN_REQUEST,
+ SCM_J1939_DEST_ADDR, SCM_J1939_DEST_NAME, SCM_J1939_ERRQUEUE,
+ SCM_J1939_PRIO, SO_J1939_ERRQUEUE, SO_J1939_FILTER, SO_J1939_PROMISC,
+-SO_J1939_SEND_PRIO, UDPLITE_RECV_CSCOV, UDPLITE_SEND_CSCOV
++SO_J1939_SEND_PRIO, UDPLITE_RECV_CSCOV, UDPLITE_SEND_CSCOV, IP_RECVTOS
+ )
+ # fmt: on
+ except ImportError:

diff --git a/dev-python/trio/trio-0.19.0.ebuild 
b/dev-python/trio/trio-0.19.0.ebuild
index e7b642031083..c72f4de9e3f3 100644
--- a/dev-python/trio/trio-0.19.0.ebuild
+++ b/dev-python/trio/trio-0.19.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 
 inherit distutils-r1
 
@@ -38,10 +38,19 @@ BDEPEND="
)
 "
 
+PATCHES=(
+   "${FILESDIR}"/${P}-python3.10.patch
+)
+
 EPYTEST_DESELECT=(
# Times out on slower arches (ia64 in this case)
# https://github.com/python-trio/trio/issues/1753
trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+
+   # Fail with Python 3.10 on 'IPPROTO_MPTCP'
+   # Everything else passes and this is a simple check for exported symbols
+   # Let's try again with the next release (after 0.19.0).
+   trio/tests/test_exports.py::test_static_tool_sees_all_symbols
 )
 
 distutils_enable_tests --install pytest



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

2021-11-14 Thread Sam James
commit: b8c9952a6ac5ef246bd6337b059f21af99542aa4
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov 14 08:30:07 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov 14 08:30:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8c9952a

dev-python/trio: skip test that times out on ia64

Doesn't seem to be an easy knob to tweak for timeouts,
so let's just skip this one.

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

 dev-python/trio/trio-0.19.0.ebuild | 6 ++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/trio/trio-0.19.0.ebuild 
b/dev-python/trio/trio-0.19.0.ebuild
index 64b662850aff..77b4cb5d4d0d 100644
--- a/dev-python/trio/trio-0.19.0.ebuild
+++ b/dev-python/trio/trio-0.19.0.ebuild
@@ -38,6 +38,12 @@ BDEPEND="
)
 "
 
+EPYTEST_DESELECT=(
+   # Times out on slower arches (ia64 in this case)
+   # https://github.com/python-trio/trio/issues/1753
+   trio/tests/test_unix_pipes.py::test_close_at_bad_time_for_send_all
+)
+
 distutils_enable_tests --install pytest
 distutils_enable_sphinx docs/source \
dev-python/immutables \



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

2021-09-25 Thread Sam James
commit: a4fd12e6d5c38a856232d175ecd19b9cb8291254
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sat Sep 25 16:09:04 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep 25 16:37:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4fd12e6

dev-python/trio: stable 0.19.0 for sparc, bug #811000

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

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

diff --git a/dev-python/trio/trio-0.19.0.ebuild 
b/dev-python/trio/trio-0.19.0.ebuild
index c337c389eb2..9cc46ddc68a 100644
--- a/dev-python/trio/trio-0.19.0.ebuild
+++ b/dev-python/trio/trio-0.19.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
>=dev-python/async_generator-1.9[${PYTHON_USEDEP}]



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

2021-09-04 Thread Sam James
commit: b632eb44b404e146a74b57bb4e1cb41823b644cc
Author: Sam James  gentoo  org>
AuthorDate: Sat Sep  4 21:34:36 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Sep  4 21:39:11 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b632eb44

dev-python/trio: Stabilize 0.19.0 arm64, #811000

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

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

diff --git a/dev-python/trio/trio-0.19.0.ebuild 
b/dev-python/trio/trio-0.19.0.ebuild
index ad03d4447f4..c337c389eb2 100644
--- a/dev-python/trio/trio-0.19.0.ebuild
+++ b/dev-python/trio/trio-0.19.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~sparc x86"
+KEYWORDS="amd64 ~arm arm64 ~ppc ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
>=dev-python/async_generator-1.9[${PYTHON_USEDEP}]



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

2021-08-31 Thread Sam James
commit: f29b71302d522d5cb27479a49e4fb3a59532e6c4
Author: Sam James  gentoo  org>
AuthorDate: Tue Aug 31 17:38:13 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Aug 31 17:38:13 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29b7130

dev-python/trio: Stabilize 0.19.0 x86, #811000

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

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

diff --git a/dev-python/trio/trio-0.19.0.ebuild 
b/dev-python/trio/trio-0.19.0.ebuild
index 5fc7dc5a0b4..ad03d4447f4 100644
--- a/dev-python/trio/trio-0.19.0.ebuild
+++ b/dev-python/trio/trio-0.19.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~sparc x86"
 
 RDEPEND="
>=dev-python/async_generator-1.9[${PYTHON_USEDEP}]



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

2021-08-30 Thread Agostino Sarubbo
commit: d0edad790470e9e5288ac9cf02a46853f065760a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Aug 30 07:25:31 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Aug 30 07:25:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0edad79

dev-python/trio: amd64 stable wrt bug #811000

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

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

diff --git a/dev-python/trio/trio-0.19.0.ebuild 
b/dev-python/trio/trio-0.19.0.ebuild
index f6e2d9337fd..5fc7dc5a0b4 100644
--- a/dev-python/trio/trio-0.19.0.ebuild
+++ b/dev-python/trio/trio-0.19.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/python-trio/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.
 
 LICENSE="|| ( Apache-2.0 MIT )"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~sparc ~x86"
 
 RDEPEND="
>=dev-python/async_generator-1.9[${PYTHON_USEDEP}]



  1   2   >