Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/typed-ast/
Date: Fri, 28 Jun 2019 14:58:58
Message-Id: 1561733132.46180d18cf9774701cb79939c25b4f20b59ad1fd.mgorny@gentoo
1 commit: 46180d18cf9774701cb79939c25b4f20b59ad1fd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 28 14:45:11 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 28 14:45:32 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46180d18
7
8 dev-python/typed-ast: Bump to 1.4.0
9
10 Closes: https://bugs.gentoo.org/688884
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 dev-python/typed-ast/Manifest | 1 +
14 dev-python/typed-ast/typed-ast-1.4.0.ebuild | 26 ++++++++++++++++++++++++++
15 2 files changed, 27 insertions(+)
16
17 diff --git a/dev-python/typed-ast/Manifest b/dev-python/typed-ast/Manifest
18 index fb7c8db2b35..fac222b1bb7 100644
19 --- a/dev-python/typed-ast/Manifest
20 +++ b/dev-python/typed-ast/Manifest
21 @@ -1,3 +1,4 @@
22 DIST typed-ast-1.1.0.tar.gz 200587 BLAKE2B 09dd6d65513a37a57ecb6df2a505100f5fc08a49a244f1cb83af363d20d9b1b76f127ec5da6ef115a56ae6dc560ab40dcaae4740385fdd9e305bfd2ec26fdbaf SHA512 439e949082ee5cb9434fec99021c08401a46ec2ad16d96296c6440aa1fd8158f6605efbdfa55e536c3fddd4018bb0f4c5ee4d5a4a32954242b7902b9ce3463f2
23 DIST typed-ast-1.2.0.tar.gz 202702 BLAKE2B 79e919019763f4af0a2f24108cfa418693dc5a1d791a0045a49fb128d715f91ec5bcca6d4bb6812e19b7a5438bcb27d239f2aba7de8b859d4e8e73027c59665f SHA512 801f59cdce48f7be3045c44d207a5a269bc1cd5ca9f0536d3d16f10ce82794a7e5cd5d3c83982927cebc52e1b1dbd47532140bcedca0ca4ace45b726aa0343ee
24 DIST typed-ast-1.3.1.tar.gz 204285 BLAKE2B 209911e0dc7291ec4b48ce7c5163d738ccd0978027d2bb1b64004c0f08feb7567d83ba8f04dfe48975ecc2116ee365a903f455dddcaf1bc07cf5deb08572f92c SHA512 390547485878ccb7e3a168e24b8b63c1784888ecedfae980562c3c0c0073c73ebef27190feeac99745c205d18061ffe5e3eb0830068968176ef2a06fd3ae4b2a
25 +DIST typed_ast-1.4.0.tar.gz 206620 BLAKE2B 59d3ed516b63643e37d9530dcb82670dd0e36f436650880f9fb304d081c3a72ecd494646dbf8f62fe95d2e70742390a5be711bcb803f1f0b6524dec1bf43c8c3 SHA512 b74e7fc51cde16439eae7cf41f0bdb95b5998362eccb73cf736f343cdab64daab63bc0f95f05a4911b229761749bdd31ac83423b58f2f3e1e1dadc7e6015bc1c
26
27 diff --git a/dev-python/typed-ast/typed-ast-1.4.0.ebuild b/dev-python/typed-ast/typed-ast-1.4.0.ebuild
28 new file mode 100644
29 index 00000000000..6b7dab0ca1c
30 --- /dev/null
31 +++ b/dev-python/typed-ast/typed-ast-1.4.0.ebuild
32 @@ -0,0 +1,26 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +PYTHON_COMPAT=( python3_{5,6,7} )
39 +inherit distutils-r1
40 +
41 +DESCRIPTION="Python typed-ast backported"
42 +HOMEPAGE="https://pypi.org/project/typed-ast/ https://github.com/python/typed_ast"
43 +SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/_}/${P/-/_}.tar.gz"
44 +
45 +LICENSE="Apache-2.0 MIT"
46 +SLOT="0"
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
48 +IUSE="test"
49 +RESTRICT="!test? ( test )"
50 +
51 +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
52 + test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
53 +
54 +S=${WORKDIR}/${P/-/_}
55 +
56 +python_test() {
57 + pytest -vv || die "Tests fail with ${EPYTHON}"
58 +}