commit:     c491d8862aa6fde0d24081a96bdcd54f7343142f
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Wed Dec  4 21:47:30 2019 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Dec  4 21:59:58 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c491d886

dev-python/bleach-3.1.0-r1: revbump, add py38, distutils helper

Copyright: Sony Interactive Entertainment Inc.
Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org>

 .../bleach/{bleach-3.1.0.ebuild => bleach-3.1.0-r1.ebuild}  | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/dev-python/bleach/bleach-3.1.0.ebuild 
b/dev-python/bleach/bleach-3.1.0-r1.ebuild
similarity index 65%
rename from dev-python/bleach/bleach-3.1.0.ebuild
rename to dev-python/bleach/bleach-3.1.0-r1.ebuild
index 386329537c3..51c292c4244 100644
--- a/dev-python/bleach/bleach-3.1.0.ebuild
+++ b/dev-python/bleach/bleach-3.1.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
 
@@ -17,11 +17,8 @@ IUSE="test"
 
 RDEPEND="
        dev-python/six[${PYTHON_USEDEP}]
-       dev-python/webencodings[${PYTHON_USEDEP}]"
-BDEPEND="
-       dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
+       dev-python/webencodings[${PYTHON_USEDEP}]
+"
+BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 
-python_test() {
-       pytest -v || die "tests failed under ${EPYTHON}"
-}
+distutils_enable_tests pytest

Reply via email to