1 |
commit: eaae155631c9ab8c35561aae519a169b68e92dd1 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jun 2 11:41:05 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jun 2 12:01:08 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaae1556 |
7 |
|
8 |
dev-python/blessings: Port to py39 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/blessings/blessings-1.7-r1.ebuild | 21 ++++----------------- |
13 |
1 file changed, 4 insertions(+), 17 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/blessings/blessings-1.7-r1.ebuild b/dev-python/blessings/blessings-1.7-r1.ebuild |
16 |
index d9b166b70bc..5685726fc78 100644 |
17 |
--- a/dev-python/blessings/blessings-1.7-r1.ebuild |
18 |
+++ b/dev-python/blessings/blessings-1.7-r1.ebuild |
19 |
@@ -3,7 +3,7 @@ |
20 |
|
21 |
EAPI=7 |
22 |
|
23 |
-PYTHON_COMPAT=( pypy3 python3_{6,7,8} ) |
24 |
+PYTHON_COMPAT=( pypy3 python3_{6..9} ) |
25 |
|
26 |
inherit distutils-r1 |
27 |
|
28 |
@@ -15,24 +15,11 @@ SRC_URI="https://github.com/erikrose/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
29 |
SLOT="0" |
30 |
LICENSE="MIT" |
31 |
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" |
32 |
-IUSE="doc test" |
33 |
-RESTRICT="!test? ( test )" |
34 |
|
35 |
RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
36 |
-BDEPEND=" |
37 |
- doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) |
38 |
- test? ( |
39 |
- ${RDEPEND} |
40 |
- dev-python/nose[${PYTHON_USEDEP}] |
41 |
- ) |
42 |
-" |
43 |
- |
44 |
-python_compile_all() { |
45 |
- if use doc; then |
46 |
- sphinx-build docs/ docs/_build/html || die |
47 |
- HTML_DOCS=( docs/_build/html/. ) |
48 |
- fi |
49 |
-} |
50 |
+ |
51 |
+distutils_enable_sphinx docs |
52 |
+distutils_enable_tests nose |
53 |
|
54 |
python_test() { |
55 |
# The tests need an interactive terminal |