1 |
commit: aa6b3a3604dc61819965c4523f401f436299884c |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 30 00:18:50 2019 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 30 00:44:37 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa6b3a36 |
7 |
|
8 |
dev-python/typed-ast-1.4.0-r1: revbump, port to new helpers, add py38 |
9 |
|
10 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
11 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
12 |
|
13 |
.../{typed-ast-1.4.0.ebuild => typed-ast-1.4.0-r1.ebuild} | 13 ++++--------- |
14 |
1 file changed, 4 insertions(+), 9 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/typed-ast/typed-ast-1.4.0.ebuild b/dev-python/typed-ast/typed-ast-1.4.0-r1.ebuild |
17 |
similarity index 62% |
18 |
rename from dev-python/typed-ast/typed-ast-1.4.0.ebuild |
19 |
rename to dev-python/typed-ast/typed-ast-1.4.0-r1.ebuild |
20 |
index 6b7dab0ca1c..0a92447ceb1 100644 |
21 |
--- a/dev-python/typed-ast/typed-ast-1.4.0.ebuild |
22 |
+++ b/dev-python/typed-ast/typed-ast-1.4.0-r1.ebuild |
23 |
@@ -3,7 +3,7 @@ |
24 |
|
25 |
EAPI=7 |
26 |
|
27 |
-PYTHON_COMPAT=( python3_{5,6,7} ) |
28 |
+PYTHON_COMPAT=( python3_{5,6,7,8} ) |
29 |
inherit distutils-r1 |
30 |
|
31 |
DESCRIPTION="Python typed-ast backported" |
32 |
@@ -13,14 +13,9 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/_}/${P/-/_}.tar.gz" |
33 |
LICENSE="Apache-2.0 MIT" |
34 |
SLOT="0" |
35 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
36 |
-IUSE="test" |
37 |
-RESTRICT="!test? ( test )" |
38 |
|
39 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] |
40 |
- test? ( dev-python/pytest[${PYTHON_USEDEP}] )" |
41 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
42 |
|
43 |
-S=${WORKDIR}/${P/-/_} |
44 |
+S="${WORKDIR}/${P/-/_}" |
45 |
|
46 |
-python_test() { |
47 |
- pytest -vv || die "Tests fail with ${EPYTHON}" |
48 |
-} |
49 |
+distutils_enable_tests pytest |