From bcf987affc0b0b6e3f0de0d939fbc0538cd9e28a Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Wed, 4 Dec 2019 13:50:28 -0800 Subject: [PATCH] dev-python/readme_renderer-24.0-r1: revbump, add py38, use distutils helper Copyright: Sony Interactive Entertainment Inc. Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Patrick McLean --- ...nderer-24.0.ebuild => readme_renderer-24.0-r1.ebuild} | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) rename dev-python/readme_renderer/{readme_renderer-24.0.ebuild => readme_renderer-24.0-r1.ebuild} (76%) diff --git a/dev-python/readme_renderer/readme_renderer-24.0.ebuild b/dev-python/readme_renderer/readme_renderer-24.0-r1.ebuild 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 47bdfdbe3b18..f000d90c102c 100644 --- a/dev-python/readme_renderer/readme_renderer-24.0.ebuild +++ b/dev-python/readme_renderer/readme_renderer-24.0-r1.ebuild @@ -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 -- 2.26.2