summaryrefslogtreecommitdiff
path: root/dev-python/txaio
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/txaio')
-rw-r--r--dev-python/txaio/Manifest4
-rw-r--r--dev-python/txaio/metadata.xml2
-rw-r--r--dev-python/txaio/txaio-21.2.1.ebuild13
3 files changed, 11 insertions, 8 deletions
diff --git a/dev-python/txaio/Manifest b/dev-python/txaio/Manifest
index 127d1013e87f..716f49b5a29f 100644
--- a/dev-python/txaio/Manifest
+++ b/dev-python/txaio/Manifest
@@ -1,3 +1,3 @@
DIST txaio-21.2.1.tar.gz 53383 BLAKE2B ff245c7e303a88e0e0f71bfa99ec5cfa2e6ec026e43e9477beb711cc753d73d4f49079727f9f86499779819fda74747edee00ebe22c0ac59c764c1403b983960 SHA512 762875b9c10304dab31dd54f7830f56b0cc26dd6e7a98c8faf57891a2810e36f53004833f872f0f51bad61cb62be033cfc228c99fd6aff60cd4dd2ae2f2e5c37
-EBUILD txaio-21.2.1.ebuild 862 BLAKE2B 79cb697e1d575f90ef6743273fe17cd3c40a7d038321e13f31e068404e9fb627d47e57fbfac403509dd2a8729e15f65a29bee9f4adc2918e9508332d65c0ac71 SHA512 fc83f15d64dec93448cd497e90617acdf0977039dacde7bd0b47b0ed0d099f01498cc72cd5984d317803554303cfa02fcb0eb738da8c0776790f93a3e8bd8ff5
-MISC metadata.xml 617 BLAKE2B a846ad814e7b2107ba9a865cfe98e0ba500b11b2a35dc04efb8f141e7c9abbeedcbbb98df1faaccc7675f0b9076b1294efff20cad07ee6f2b36ef2487a38594a SHA512 2460cee3a6f12587021f87733107903295d1b357d19467df2a2510700a1b0f11d16b6a8e63065692c1ff4ac5c3738a5d75f17f10b6c769d022a7f9d437c040b7
+EBUILD txaio-21.2.1.ebuild 936 BLAKE2B 32a6c06c895c2ff50a7a5821d4c6358819a39b8e8e74135f84da00f6fd23f90f05cbda7e32fea9861530b62006e4e4d50f5afaab7c5fdae763f38a5e543dd566 SHA512 c7095a48f9262b6bc9479ab2eaddc7af3f527c81e2112d208ff56e19f50021f6d8fa2734d64880030e80cd53124bc3e614a1c98b3b61c0293005dd600378a6a5
+MISC metadata.xml 618 BLAKE2B bd097fc800fd543169f113520e8579f6514a355de3d68548e48e6037812b192bb4f6f8d4c2956934ee9cf88e6d13a11f8a2f95a3cdbba95f66638593734087d1 SHA512 fd8817810ff9ee6ab874f8bce30c1a1834caa0c5b22139d2c1317722155ff87e15a05c3f95b6f23f03e7b98807d0a71b0e2081518cc5e2086718cecea42b0c42
diff --git a/dev-python/txaio/metadata.xml b/dev-python/txaio/metadata.xml
index 4172d926c7ab..26a77153d753 100644
--- a/dev-python/txaio/metadata.xml
+++ b/dev-python/txaio/metadata.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>dolsen@gentoo.org</email>
diff --git a/dev-python/txaio/txaio-21.2.1.ebuild b/dev-python/txaio/txaio-21.2.1.ebuild
index 0ae1647e9e78..edb1de4360cf 100644
--- a/dev-python/txaio/txaio-21.2.1.ebuild
+++ b/dev-python/txaio/txaio-21.2.1.ebuild
@@ -2,9 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7..9} )
-inherit distutils-r1
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1 optfeature
DESCRIPTION="Compatibility API between asyncio/Twisted/Trollius"
HOMEPAGE="https://github.com/crossbario/txaio https://pypi.org/project/txaio/"
@@ -24,9 +24,12 @@ distutils_enable_sphinx docs \
'>=dev-python/sphinx_rtd_theme-0.1.9'
distutils_enable_tests pytest
-src_prepare() {
- default_src_prepare
+EPYTEST_DESELECT=(
# Take out failing tests known to pass when run manually
# we certainly don't need to test "python setup.py sdist" here
- rm "${S}/test/test_packaging.py" || die
+ test/test_packaging.py
+)
+
+pkg_postinst() {
+ optfeature "Twisted support" "dev-python/twisted dev-python/zope-interface"
}