1 |
commit: cd02c2253dcb1a51c6d3209b65f6d7ac1db134b2 |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 24 17:42:48 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 24 17:42:48 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd02c225 |
7 |
|
8 |
dev-python/typed-ast: add 1.5.2 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/typed-ast/Manifest | 1 + |
13 |
dev-python/typed-ast/typed-ast-1.5.2.ebuild | 24 ++++++++++++++++++++++++ |
14 |
2 files changed, 25 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/typed-ast/Manifest b/dev-python/typed-ast/Manifest |
17 |
index d21aa5d5e06d..fdc1d265e03b 100644 |
18 |
--- a/dev-python/typed-ast/Manifest |
19 |
+++ b/dev-python/typed-ast/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST typed_ast-1.4.3.tar.gz 210893 BLAKE2B 9e0bbaac73d97c13303c783d4e91b015570d9b9ad74361e1bcfe67259982459003ea6c24602ce004fe1447c4375090d5fa58006e18af28da256f6b25d9aa20b1 SHA512 7ac06e277c883afd1a7161601ffca0114aa63db257695a4bf4c64d819a7192fe52167edb57991aefc7accc6a9902b5faf2ba9e4032c4b9be31f1db7a091607c9 |
22 |
DIST typed_ast-1.5.1.tar.gz 252316 BLAKE2B 4bb2987cc84277a595c8297563f257e495a4b298885f54b82ce177f5ce610809f462d0022a549e83c4c991e441720f36bd2451eef3487fc68ceda76b845a01d2 SHA512 9e1b1e5da242f29c52857a5a683be47d95b592c788a7c603fc38f637ee64f687253aa58994061681c703addd2405532dfdc0765dd1cadf16b339623901f61355 |
23 |
+DIST typed_ast-1.5.2.tar.gz 252310 BLAKE2B c36ab31e4c266de38a07935fc72ece62087bc52a6ebde401f9b2dcc641af064828572fa6e903dbdfb0c573ced10686b8dba995d316a5f7a7ee68efd3a4e9520c SHA512 7da72fc0c4fcb74cb41914765baea5c7f52b1e8a5c58883877e702765be59d3dd8c7f73bd5759a65781d04fdecbcf46160ff4402578a92685f25163e12b93558 |
24 |
|
25 |
diff --git a/dev-python/typed-ast/typed-ast-1.5.2.ebuild b/dev-python/typed-ast/typed-ast-1.5.2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..8a0f2077cd67 |
28 |
--- /dev/null |
29 |
+++ b/dev-python/typed-ast/typed-ast-1.5.2.ebuild |
30 |
@@ -0,0 +1,24 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+DISTUTILS_USE_PEP517=setuptools |
38 |
+inherit distutils-r1 |
39 |
+ |
40 |
+DESCRIPTION="Python typed-ast backported" |
41 |
+HOMEPAGE="https://pypi.org/project/typed-ast/ https://github.com/python/typed_ast" |
42 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/_}/${P/-/_}.tar.gz" |
43 |
+S="${WORKDIR}/${P/-/_}" |
44 |
+ |
45 |
+LICENSE="Apache-2.0 MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos" |
48 |
+ |
49 |
+distutils_enable_tests pytest |
50 |
+ |
51 |
+python_test() { |
52 |
+ cd "${BUILD_DIR}" || die |
53 |
+ epytest |
54 |
+} |