summaryrefslogtreecommitdiff
path: root/dev-python/trollius
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/trollius')
-rw-r--r--dev-python/trollius/Manifest4
-rw-r--r--dev-python/trollius/metadata.xml3
-rw-r--r--dev-python/trollius/trollius-2.2.ebuild24
3 files changed, 28 insertions, 3 deletions
diff --git a/dev-python/trollius/Manifest b/dev-python/trollius/Manifest
index bfd52f3410cc..f566420f5052 100644
--- a/dev-python/trollius/Manifest
+++ b/dev-python/trollius/Manifest
@@ -1,3 +1,5 @@
DIST trollius-2.1.tar.gz 276425 BLAKE2B 3337712e482c19ce06bced64a4169effee74f8e6d33e60f4ab411d636acae586a104766639f63d0075fb12a39f09ed7e54c7396f3295aa99db04e0b60aa433fa SHA512 d800e060e13da22c83fc20f2c0e61d6c50cca309d90e8faecaf24e68240d78ec7fc9cfbb68a968ba7e9d73268e974353d9bd9063eb0ca02a4f0e88610abd6018
+DIST trollius-2.2.tar.gz 276391 BLAKE2B 8debb662498551f2bee85605388813bdcdb720f798b2e2e2cb16a86340fe2759b1a59abcbd6d302e96f6d9860a464c140a521b9a7e731579329351fd11baeebd SHA512 d4a123cc0728eb3548f434ca227a36afce0fca8bfc9fdb0005ff501538c8fad9507608112c4b63c7d273cec2d2310b941068093c9bbdf28d984001753b4956cb
EBUILD trollius-2.1.ebuild 664 BLAKE2B 379ad7dfe0fc7b384ac8c1c6f3f2358aed06ab68596fa0f95997bd9b0ed7aae8ee8dc3b45fd1565a41a846773cb952257baeefd54ec1c07b59b866825239943c SHA512 42762d8e9e55efc8a058e025f2fc82a69e090f6d4dc400c524e712652d9bd7a41951fbff0000ff38738a3f54486bf75da3539c6644f0b710386a8e5efdaa6aa1
-MISC metadata.xml 439 BLAKE2B 3b7bf1ea728debb964c4fcf499d81bf98d1afe4b478d3df3f2567d0b184fb95a873e52405169e8bdacf64e7376d81100f8408807347d6b8d7b1bb099d072b391 SHA512 5d0bb280c9e1a08248701899de4f30f59252232121939655aa27af4ccbd77e1cda800ec64e0e051e3437e055490787d52ed0cbac4d9e47319832b5f262d08915
+EBUILD trollius-2.2.ebuild 666 BLAKE2B a81ba883d52588fee17ae3c8cf1e40caa8c3b9ab1802dd1e702c8c5a68a2c5621d2483203d134792f708ab309df3eb25e286bf4dbcafbec0b87f4395381d5159 SHA512 fc485eea591095ab9139fb344d4d70351137fefa4216dbd13fb583f2ff07b2dbbc0fb2af1fbe82cf36a9f5c3c388aeaec399b79a1017f7260dff63112b6172ef
+MISC metadata.xml 380 BLAKE2B 67950aab96abdce21c702fb2aacf3eb4f0376483105bc656988e7d95f65b3a47e2f027dfce5e1a75e23875aca710f8c0d20ec47bc02dee4ff4ea4733b7e8f4de SHA512 96c4e4f92d32c6a7844ffe4412e24ac7985c4c534d5c607873be067a89350b79a112557f9c88b63df6d1135706920a3e3cda79ec0c9aa534cc3f84e9043e6b71
diff --git a/dev-python/trollius/metadata.xml b/dev-python/trollius/metadata.xml
index 40c20e19f5dd..1c03de904bba 100644
--- a/dev-python/trollius/metadata.xml
+++ b/dev-python/trollius/metadata.xml
@@ -7,7 +7,6 @@
</maintainer>
<upstream>
<remote-id type="pypi">trollius</remote-id>
- <remote-id type="bitbucket">enovance/trollius</remote-id>
- <remote-id type="github">haypo/trollius</remote-id>
+ <remote-id type="github">vstinner/trollius</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-python/trollius/trollius-2.2.ebuild b/dev-python/trollius/trollius-2.2.ebuild
new file mode 100644
index 000000000000..9de2fd0afd5d
--- /dev/null
+++ b/dev-python/trollius/trollius-2.2.ebuild
@@ -0,0 +1,24 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python2_7 pypy )
+
+inherit distutils-r1
+
+DESCRIPTION="Port of the asyncio project to Python 2.7 (deprecated)"
+HOMEPAGE="https://github.com/vstinner/trollius https://pypi.org/project/trollius/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+
+RDEPEND="virtual/python-futures[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+
+python_test() {
+ "${PYTHON}" runtests.py -v 2 || die "Testing failed under ${EPYTHON}"
+}