1 |
commit: 6a49dca30899af7582e58d9adf584117caa97019 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Aug 28 19:24:03 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Aug 28 19:26:04 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a49dca3 |
7 |
|
8 |
dev-python/async_timeout: Re-add version 1.2.1 for gns3-server |
9 |
|
10 |
net-misc/gns3-server-2.1.21 requires <dev-python/async_timeout-3.0.0 |
11 |
|
12 |
Package-Manager: Portage-2.3.73, Repoman-2.3.17 |
13 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
14 |
|
15 |
dev-python/async_timeout/Manifest | 1 + |
16 |
.../async_timeout/async_timeout-1.2.1.ebuild | 31 ++++++++++++++++++++++ |
17 |
2 files changed, 32 insertions(+) |
18 |
|
19 |
diff --git a/dev-python/async_timeout/Manifest b/dev-python/async_timeout/Manifest |
20 |
index f929a7fd11e..4929a35b0db 100644 |
21 |
--- a/dev-python/async_timeout/Manifest |
22 |
+++ b/dev-python/async_timeout/Manifest |
23 |
@@ -1 +1,2 @@ |
24 |
+DIST async-timeout-1.2.1.tar.gz 7797 BLAKE2B d8f736423631a2b2c0fb748eb2857e0f9a143af9591ddfae15d42ab13af33196a6624db5b0a705265269ed28c6c15a4e8cfe56143ccedac75a555ae62a82891b SHA512 2072caeb65a74f1a24b59a4ea905ef96d70f8fb117e3dd9c95c1107b1d67ffaa4d76b68f00364049e6e29cdb0a6d247ba0c3638ccd0a8db27bd6ee0f180f9ccb |
25 |
DIST async-timeout-3.0.1.tar.gz 9724 BLAKE2B f18ae75969b7048469fe22949f25ea25da3fdbf08b98a16b5d5ffe823060a75e6de9ed764727e08d4344c79426e9c89013d49522f20ed62e6fbe912b5c7a8787 SHA512 fd30842671a79edfd52c7350e7fb2120533a6d97b44975f7b071ce2cbde43443bd5bbe1f2ad0ad3ab2156e1987b9e58e0c149b0ecfea8674eb0cb78eee79c986 |
26 |
|
27 |
diff --git a/dev-python/async_timeout/async_timeout-1.2.1.ebuild b/dev-python/async_timeout/async_timeout-1.2.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..22db4f22c78 |
30 |
--- /dev/null |
31 |
+++ b/dev-python/async_timeout/async_timeout-1.2.1.ebuild |
32 |
@@ -0,0 +1,31 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+PYTHON_COMPAT=( python3_{5,6} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+MY_P=${PN/_/-}-${PV} |
42 |
+DESCRIPTION="Timeout context manager for asyncio programs" |
43 |
+HOMEPAGE="https://github.com/aio-libs/async-timeout" |
44 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="test" |
50 |
+S=${WORKDIR}/${MY_P} |
51 |
+ |
52 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
53 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
54 |
+ test? ( dev-python/pytest-aiohttp[${PYTHON_USEDEP}] )" |
55 |
+ |
56 |
+python_prepare_all() { |
57 |
+ sed -i "s:, 'pytest-runner'::" -i setup.py || die |
58 |
+ distutils-r1_python_prepare_all |
59 |
+} |
60 |
+ |
61 |
+python_test() { |
62 |
+ py.test -v || die "Tests fail with ${EPYTHON}" |
63 |
+} |