commit:     46180d18cf9774701cb79939c25b4f20b59ad1fd
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 28 14:45:11 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jun 28 14:45:32 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46180d18

dev-python/typed-ast: Bump to 1.4.0

Closes: https://bugs.gentoo.org/688884
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/typed-ast/Manifest               |  1 +
 dev-python/typed-ast/typed-ast-1.4.0.ebuild | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)

diff --git a/dev-python/typed-ast/Manifest b/dev-python/typed-ast/Manifest
index fb7c8db2b35..fac222b1bb7 100644
--- a/dev-python/typed-ast/Manifest
+++ b/dev-python/typed-ast/Manifest
@@ -1,3 +1,4 @@
 DIST typed-ast-1.1.0.tar.gz 200587 BLAKE2B 
09dd6d65513a37a57ecb6df2a505100f5fc08a49a244f1cb83af363d20d9b1b76f127ec5da6ef115a56ae6dc560ab40dcaae4740385fdd9e305bfd2ec26fdbaf
 SHA512 
439e949082ee5cb9434fec99021c08401a46ec2ad16d96296c6440aa1fd8158f6605efbdfa55e536c3fddd4018bb0f4c5ee4d5a4a32954242b7902b9ce3463f2
 DIST typed-ast-1.2.0.tar.gz 202702 BLAKE2B 
79e919019763f4af0a2f24108cfa418693dc5a1d791a0045a49fb128d715f91ec5bcca6d4bb6812e19b7a5438bcb27d239f2aba7de8b859d4e8e73027c59665f
 SHA512 
801f59cdce48f7be3045c44d207a5a269bc1cd5ca9f0536d3d16f10ce82794a7e5cd5d3c83982927cebc52e1b1dbd47532140bcedca0ca4ace45b726aa0343ee
 DIST typed-ast-1.3.1.tar.gz 204285 BLAKE2B 
209911e0dc7291ec4b48ce7c5163d738ccd0978027d2bb1b64004c0f08feb7567d83ba8f04dfe48975ecc2116ee365a903f455dddcaf1bc07cf5deb08572f92c
 SHA512 
390547485878ccb7e3a168e24b8b63c1784888ecedfae980562c3c0c0073c73ebef27190feeac99745c205d18061ffe5e3eb0830068968176ef2a06fd3ae4b2a
+DIST typed_ast-1.4.0.tar.gz 206620 BLAKE2B 
59d3ed516b63643e37d9530dcb82670dd0e36f436650880f9fb304d081c3a72ecd494646dbf8f62fe95d2e70742390a5be711bcb803f1f0b6524dec1bf43c8c3
 SHA512 
b74e7fc51cde16439eae7cf41f0bdb95b5998362eccb73cf736f343cdab64daab63bc0f95f05a4911b229761749bdd31ac83423b58f2f3e1e1dadc7e6015bc1c

diff --git a/dev-python/typed-ast/typed-ast-1.4.0.ebuild 
b/dev-python/typed-ast/typed-ast-1.4.0.ebuild
new file mode 100644
index 00000000000..6b7dab0ca1c
--- /dev/null
+++ b/dev-python/typed-ast/typed-ast-1.4.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{5,6,7} )
+inherit distutils-r1
+
+DESCRIPTION="Python typed-ast backported"
+HOMEPAGE="https://pypi.org/project/typed-ast/ 
https://github.com/python/typed_ast";
+SRC_URI="mirror://pypi/${PN:0:1}/${PN/-/_}/${P/-/_}.tar.gz"
+
+LICENSE="Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+       test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+
+S=${WORKDIR}/${P/-/_}
+
+python_test() {
+       pytest -vv || die "Tests fail with ${EPYTHON}"
+}

Reply via email to