1 |
commit: 8405529f11b667257029a9bc8b0d65ee53871e23 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Nov 29 20:02:17 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Nov 29 20:18:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8405529f |
7 |
|
8 |
dev-python/asttokens: add 2.2.0 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/asttokens/Manifest | 1 + |
13 |
dev-python/asttokens/asttokens-2.2.0.ebuild | 43 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/asttokens/Manifest b/dev-python/asttokens/Manifest |
17 |
index c25b8ebb726a..02b1a88d2e8b 100644 |
18 |
--- a/dev-python/asttokens/Manifest |
19 |
+++ b/dev-python/asttokens/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST asttokens-2.0.8.gh.tar.gz 50804 BLAKE2B 31b5fcf6c8c201279924da9297f16a1de087fe98e930dde341b54b29a54a23a462d44e1b2cc1c4695e7829b0dbb86c5a275ffac7c8430c191fd268026306c912 SHA512 e920aa50ba7f073f198182c053729e43c7cf3812a925cead258708ba88b82f6a7a32499810e67f346db79579607c07f211d924dc9e33b8bfdf44e5c9f171d53c |
22 |
DIST asttokens-2.1.0.gh.tar.gz 55584 BLAKE2B eb2a73a47fcbfe1b75e0058f7fcc650ebc3cac00e1f816d2b5b7d02b75aaa07445de854c624e3564455036e2d973bc841e9ad3c18232d88b9091cfc3a2f95c71 SHA512 f89fe2ef700c3c07f48a87e39805792d00abc1050e619a987b863f4befc186505749bde956a95eaf152c4d69e087e32f8fa997cfa5527bbeb87e0143da89a662 |
23 |
+DIST asttokens-2.2.0.gh.tar.gz 55963 BLAKE2B 93bdaf42fc19b0735f4f9c70f20a250d8ac6e99e0d663222133be7c2d306b242c807b0a108e9e6dc6a3b014d19c34c4319de5d4c884113dbeacd0219fc780c87 SHA512 1a803bb99852c0dd186a4afc340c3543e8400efea03dc06331d761f8c70e97711915aaa5ae32aea54bd61fb0d77827c5ab3afaa7762913175a5ad75ca2fff5ca |
24 |
|
25 |
diff --git a/dev-python/asttokens/asttokens-2.2.0.ebuild b/dev-python/asttokens/asttokens-2.2.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..839fb416705f |
28 |
--- /dev/null |
29 |
+++ b/dev-python/asttokens/asttokens-2.2.0.ebuild |
30 |
@@ -0,0 +1,43 @@ |
31 |
+# Copyright 2020-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..11} ) |
38 |
+ |
39 |
+inherit distutils-r1 |
40 |
+ |
41 |
+DESCRIPTION="Annotate Python AST trees with source text and token information" |
42 |
+HOMEPAGE=" |
43 |
+ https://github.com/gristlabs/asttokens/ |
44 |
+ https://pypi.org/project/asttokens/ |
45 |
+" |
46 |
+SRC_URI=" |
47 |
+ https://github.com/gristlabs/asttokens/archive/${PV}.tar.gz |
48 |
+ -> ${P}.gh.tar.gz |
49 |
+" |
50 |
+ |
51 |
+LICENSE="Apache-2.0" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
54 |
+ |
55 |
+RDEPEND=" |
56 |
+ dev-python/six[${PYTHON_USEDEP}] |
57 |
+" |
58 |
+BDEPEND=" |
59 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
60 |
+ test? ( |
61 |
+ dev-python/astroid[${PYTHON_USEDEP}] |
62 |
+ ) |
63 |
+" |
64 |
+ |
65 |
+distutils_enable_tests pytest |
66 |
+ |
67 |
+EPYTEST_DESELECT=( |
68 |
+ # test suite itself broken with new astroid versions, upstream less care |
69 |
+ # https://github.com/gristlabs/asttokens/issues/79 |
70 |
+ tests/test_astroid.py |
71 |
+) |
72 |
+ |
73 |
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV} |