dev-python/readme_renderer-24.0-r1: revbump, add py38, use distutils helper
authorPatrick McLean <patrick.mclean@sony.com>
Wed, 4 Dec 2019 21:50:28 +0000 (13:50 -0800)
committerPatrick McLean <chutzpah@gentoo.org>
Wed, 4 Dec 2019 21:59:58 +0000 (13:59 -0800)
Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
dev-python/readme_renderer/readme_renderer-24.0-r1.ebuild [moved from dev-python/readme_renderer/readme_renderer-24.0.ebuild with 76% similarity]

similarity index 76%
rename from dev-python/readme_renderer/readme_renderer-24.0.ebuild
rename to dev-python/readme_renderer/readme_renderer-24.0-r1.ebuild
index 47bdfdbe3b182243bb89b64dd9b4d31e4a0d86d9..f000d90c102c9765f7896a2e5d4ec9244a0f0425 100644 (file)
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-PYTHON_COMPAT=( python2_7 python3_{5,6,7} pypy{,3} )
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} )
 
 inherit distutils-r1
 
@@ -13,8 +13,6 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="test"
-RESTRICT="!test? ( test )"
 
 RDEPEND="
        >=dev-python/bleach-2.1.0[${PYTHON_USEDEP}]
@@ -24,11 +22,8 @@ RDEPEND="
 "
 DEPEND="${RDEPEND}
        dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/pytest[${PYTHON_USEDEP}] )
 "
 
 DOCS=( README.rst )
 
-python_test() {
-       py.test || die "Tests failed under ${EPYTHON}"
-}
+distutils_enable_tests pytest