summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick McLean <chutzpah@gentoo.org>2019-11-29 16:18:50 -0800
committerPatrick McLean <chutzpah@gentoo.org>2019-11-29 16:44:37 -0800
commitaa6b3a3604dc61819965c4523f401f436299884c (patch)
tree55b561091d709713bcc9c376f3600196c94516ee /dev-python
parentdev-python/typing-extensions-3.7.4.1: Version bump, add py38 (diff)
downloadgentoo-aa6b3a3604dc61819965c4523f401f436299884c.tar.gz
gentoo-aa6b3a3604dc61819965c4523f401f436299884c.tar.bz2
gentoo-aa6b3a3604dc61819965c4523f401f436299884c.zip
dev-python/typed-ast-1.4.0-r1: revbump, port to new helpers, add py38
Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/typed-ast/typed-ast-1.4.0-r1.ebuild (renamed from dev-python/typed-ast/typed-ast-1.4.0.ebuild)13
1 files changed, 4 insertions, 9 deletions
diff --git a/dev-python/typed-ast/typed-ast-1.4.0.ebuild b/dev-python/typed-ast/typed-ast-1.4.0-r1.ebuild
index 6b7dab0ca1c0..0a92447ceb15 100644
--- a/dev-python/typed-ast/typed-ast-1.4.0.ebuild
+++ b/dev-python/typed-ast/typed-ast-1.4.0-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python3_{5,6,7} )
+PYTHON_COMPAT=( python3_{5,6,7,8} )
inherit distutils-r1
DESCRIPTION="Python typed-ast backported"
@@ -13,14 +13,9 @@ 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}] )"
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
-S=${WORKDIR}/${P/-/_}
+S="${WORKDIR}/${P/-/_}"
-python_test() {
- pytest -vv || die "Tests fail with ${EPYTHON}"
-}
+distutils_enable_tests pytest