1 |
commit: eaa6e8731ec9ca71bd06f703ec894880f9b6bbdf |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 26 13:30:22 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 26 13:31:53 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eaa6e873 |
7 |
|
8 |
dev-python/asttokens: Remove old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/asttokens/Manifest | 1 - |
13 |
dev-python/asttokens/asttokens-2.0.4.ebuild | 58 ----------------------------- |
14 |
2 files changed, 59 deletions(-) |
15 |
|
16 |
diff --git a/dev-python/asttokens/Manifest b/dev-python/asttokens/Manifest |
17 |
index 25a698734cf..09dd9550f1c 100644 |
18 |
--- a/dev-python/asttokens/Manifest |
19 |
+++ b/dev-python/asttokens/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST asttokens-2.0.4.gh.tar.gz 46823 BLAKE2B 111ed58c1b657900f830b7b9f521c1f87fd37945ab6ed6e165108fc2371923030b37cae33885e166a524eb8dd5cfad5fe9391a19b7729b7cd504474d1477748d SHA512 49287259d64c43c7460357d19ed95495ab499b0ad7ae0d5a59378ea0332142b574643349d1d3ca56442712ebec14c53167da475915017feb1b524ac190f9dac3 |
22 |
DIST asttokens-2.0.5.gh.tar.gz 46876 BLAKE2B 8a8da138888de0a4096b10eccc483c9540710acde0da188ed3fb3845f96b862fe2eec393c69ca62e7b313bfa0e2f0d673d828e9d1ff6dbbf5b641fe8122a548d SHA512 3e710ca9703e67643bb9c0a4db4e5c1656e6d5c904a1262a9ddb962beff06e4e8bd9815bcd2509b48974a97a565d8479a4369583c166a65b6d16c19fd926e93f |
23 |
|
24 |
diff --git a/dev-python/asttokens/asttokens-2.0.4.ebuild b/dev-python/asttokens/asttokens-2.0.4.ebuild |
25 |
deleted file mode 100644 |
26 |
index 2fb6b6e0d04..00000000000 |
27 |
--- a/dev-python/asttokens/asttokens-2.0.4.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,58 +0,0 @@ |
30 |
-# Copyright 2020-2021 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-PYTHON_COMPAT=( python3_{7..9} ) |
36 |
-inherit distutils-r1 |
37 |
- |
38 |
-DESCRIPTION="Annotate Python AST trees with source text and token information" |
39 |
-HOMEPAGE=" |
40 |
- https://github.com/gristlabs/asttokens/ |
41 |
- https://pypi.org/project/asttokens/" |
42 |
-SRC_URI=" |
43 |
- https://github.com/gristlabs/asttokens/archive/v${PV}.tar.gz |
44 |
- -> ${P}.gh.tar.gz" |
45 |
- |
46 |
-LICENSE="Apache-2.0" |
47 |
-SLOT="0" |
48 |
-KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 ~sparc x86" |
49 |
- |
50 |
-RDEPEND="dev-python/six[${PYTHON_USEDEP}]" |
51 |
-BDEPEND=" |
52 |
- dev-python/setuptools_scm[${PYTHON_USEDEP}] |
53 |
- dev-python/toml[${PYTHON_USEDEP}] |
54 |
- test? ( |
55 |
- dev-python/astroid[${PYTHON_USEDEP}] |
56 |
- )" |
57 |
- |
58 |
-distutils_enable_tests pytest |
59 |
- |
60 |
-export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |
61 |
- |
62 |
-src_prepare() { |
63 |
- # Kill off useless wheel dep |
64 |
- sed -i -e 's/wheel; //' setup.cfg || die |
65 |
- |
66 |
- distutils-r1_src_prepare |
67 |
-} |
68 |
- |
69 |
-python_test() { |
70 |
- local deselect=() |
71 |
- [[ ${EPYTHON} == python3.9 ]] && deselect+=( |
72 |
- # invalid syntax |
73 |
- --deselect |
74 |
- tests/test_astroid.py::TestAstroid::test_fixture9 |
75 |
- --deselect |
76 |
- tests/test_astroid.py::TestAstroid::test_splat |
77 |
- --deselect |
78 |
- tests/test_astroid.py::TestAstroid::test_sys_modules |
79 |
- --deselect |
80 |
- tests/test_mark_tokens.py::TestMarkTokens::test_fixture9 |
81 |
- --deselect |
82 |
- tests/test_mark_tokens.py::TestMarkTokens::test_splat |
83 |
- --deselect |
84 |
- tests/test_mark_tokens.py::TestMarkTokens::test_sys_modules |
85 |
- ) |
86 |
- pytest -vv "${deselect[@]}" || die "Tests failed with ${EPYTHON}" |
87 |
-} |