summaryrefslogtreecommitdiff
path: root/dev-python/txaio
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-06-29 12:04:12 +0100
commit0f558761aa2dee1017b4751e4017205e015a9560 (patch)
tree037df795519468a25d9362b4e95cdaeb84eb1cf9 /dev-python/txaio
parent752d6256e5204b958b0ef7905675a940b5e9172f (diff)
gentoo resync : 29.12.2022
Diffstat (limited to 'dev-python/txaio')
-rw-r--r--dev-python/txaio/Manifest2
-rw-r--r--dev-python/txaio/txaio-22.2.1.ebuild26
2 files changed, 20 insertions, 8 deletions
diff --git a/dev-python/txaio/Manifest b/dev-python/txaio/Manifest
index 6bb775168e21..5244b0be49dc 100644
--- a/dev-python/txaio/Manifest
+++ b/dev-python/txaio/Manifest
@@ -1,3 +1,3 @@
DIST txaio-22.2.1.tar.gz 53645 BLAKE2B 375203ddbe65d293ba0bf85e316880d552f47cbc9008bd41e50976ee097940c626ec66ad25e0b5322493f71f77141d03f543ce9c9d83268a1a896b16f434ccaa SHA512 b5e33ba671ab215dadf4c348b01e9d5057d080c21707d31e38912fe596aabd7b388e8c5e0f2dd2b7d0d09fe0a175a0906e2a2ee428c1a943e786afa79182631e
-EBUILD txaio-22.2.1.ebuild 908 BLAKE2B 56c146ed48878542cbcc90a73bd939ccbc57401eae379ab032f089e50f387a3f5eff5ed91c5d6422b1ec5f1552349f6a6bd3a52003dd2397bf026d70d5c8604f SHA512 568b6cb21bd45b0e6832c3e64d23f1c0dcad94663ca1a2d728603d724342c8e14c1cd313fc3e4207d5d06c2003d6c01f4724b6f7cbe6be4c022077896ff399e1
+EBUILD txaio-22.2.1.ebuild 1152 BLAKE2B 62d737aa0bf4f23fca32e15049ef88fabcae57d98ea4bdc2c82bba3d5da648aa40b03999701eee02fcfe32fb3233ee5910e097e487960a0672c9eb5c82cedc0f SHA512 b3cac6ae13833a8784cfa897ecccdd543f55f6ce429adaf89ac80256d50a7863f6c49ee2d6532deaa30f43763f4b8eac204077ec21de939198ea22d8dc204860
MISC metadata.xml 618 BLAKE2B bd097fc800fd543169f113520e8579f6514a355de3d68548e48e6037812b192bb4f6f8d4c2956934ee9cf88e6d13a11f8a2f95a3cdbba95f66638593734087d1 SHA512 fd8817810ff9ee6ab874f8bce30c1a1834caa0c5b22139d2c1317722155ff87e15a05c3f95b6f23f03e7b98807d0a71b0e2081518cc5e2086718cecea42b0c42
diff --git a/dev-python/txaio/txaio-22.2.1.ebuild b/dev-python/txaio/txaio-22.2.1.ebuild
index 173b2c1b92f6..9b967afe9b6f 100644
--- a/dev-python/txaio/txaio-22.2.1.ebuild
+++ b/dev-python/txaio/txaio-22.2.1.ebuild
@@ -4,12 +4,15 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1 optfeature
DESCRIPTION="Compatibility API between asyncio/Twisted/Trollius"
-HOMEPAGE="https://github.com/crossbario/txaio https://pypi.org/project/txaio/"
+HOMEPAGE="
+ https://github.com/crossbario/txaio/
+ https://pypi.org/project/txaio/
+"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
@@ -21,11 +24,20 @@ distutils_enable_sphinx docs \
'>=dev-python/sphinx_rtd_theme-0.1.9'
distutils_enable_tests pytest
-EPYTEST_DESELECT=(
- # Take out failing tests known to pass when run manually
- # we certainly don't need to test "python setup.py sdist" here
- test/test_packaging.py
-)
+python_test() {
+ local EPYTEST_DESELECT=(
+ # we certainly don't need to test "python setup.py sdist" here
+ test/test_packaging.py
+ )
+ [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=(
+ # tests for removed asyncio.coroutine
+ test/test_as_future.py::test_as_future_coroutine
+ test/test_call_later.py::test_explicit_reactor_coroutine
+ test/test_is_future.py::test_is_future_coroutine
+ )
+
+ epytest
+}
pkg_postinst() {
optfeature "Twisted support" "dev-python/twisted dev-python/zope-interface"