1 |
commit: 0993cb52b9347d1c8b6ce7a66bd5304f59835d90 |
2 |
Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> |
3 |
AuthorDate: Wed May 26 00:04:57 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 26 01:53:16 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0993cb52 |
7 |
|
8 |
dev-python/promise: support python 3.9 |
9 |
|
10 |
Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in> |
11 |
|
12 |
dev-python/promise/promise-2.3.0.ebuild | 13 ++++++++----- |
13 |
1 file changed, 8 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/promise/promise-2.3.0.ebuild b/dev-python/promise/promise-2.3.0.ebuild |
16 |
index 359afc5f9..9e7e9e873 100644 |
17 |
--- a/dev-python/promise/promise-2.3.0.ebuild |
18 |
+++ b/dev-python/promise/promise-2.3.0.ebuild |
19 |
@@ -1,22 +1,21 @@ |
20 |
-# Copyright 1999-2020 Gentoo Authors |
21 |
+# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
EAPI=7 |
25 |
|
26 |
-PYTHON_COMPAT=( python3_{7,8} ) |
27 |
+PYTHON_COMPAT=( python3_{7..9} ) |
28 |
|
29 |
inherit distutils-r1 |
30 |
|
31 |
-DESCRIPTION="Bytecode optimisation using staticness assertions" |
32 |
+DESCRIPTION="Promises/A+ implementation for Python" |
33 |
HOMEPAGE="https://github.com/syrusakbary/promise" |
34 |
-SRC_URI="https://github.com/syrusakbary/promise/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
35 |
+SRC_URI="https://github.com/syrusakbary/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
36 |
|
37 |
LICENSE="MIT" |
38 |
SLOT="0" |
39 |
KEYWORDS="~amd64 ~x86" |
40 |
|
41 |
BDEPEND="test? ( |
42 |
- dev-python/mock[${PYTHON_USEDEP}] |
43 |
dev-python/pytest-asyncio[${PYTHON_USEDEP}] |
44 |
dev-python/pytest-benchmark[${PYTHON_USEDEP}] |
45 |
)" |
46 |
@@ -24,3 +23,7 @@ BDEPEND="test? ( |
47 |
RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
48 |
|
49 |
distutils_enable_tests pytest |
50 |
+ |
51 |
+python_test() { |
52 |
+ epytest --benchmark-disable --deselect tests/test_awaitable.py |
53 |
+} |