dev-python/pycparser: Enable py3.8
authorMichał Górny <mgorny@gentoo.org>
Sat, 16 Nov 2019 22:13:48 +0000 (23:13 +0100)
committerMichał Górny <mgorny@gentoo.org>
Sat, 16 Nov 2019 23:00:53 +0000 (00:00 +0100)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/pycparser/pycparser-2.19.ebuild

index 3fee4c55f691a2d9bd691b5328f9bc658787446f..3f40a0e4ed731bc45ad8ce1e4b959e69fe3afc8e 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy pypy3 )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 )
 
 inherit distutils-r1
 
@@ -15,6 +15,7 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
 IUSE="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="dev-python/ply:=[${PYTHON_USEDEP}]"
 DEPEND="${RDEPEND}