commit:     2c523b12d1345ea7357da5ebec5f3e212e4b6624
Author:     Patrick McLean <patrick.mclean <AT> sony <DOT> com>
AuthorDate: Wed Nov 27 20:07:02 2019 +0000
Commit:     Patrick McLean <chutzpah <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 21:19:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c523b12

dev-python/webtest-2.0.33: bump, add py38 and pypy{,3}

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

 dev-python/webtest/webtest-2.0.33.ebuild | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

diff --git a/dev-python/webtest/webtest-2.0.33.ebuild 
b/dev-python/webtest/webtest-2.0.33.ebuild
index c9df5a13b44..c3d7b98ef26 100644
--- a/dev-python/webtest/webtest-2.0.33.ebuild
+++ b/dev-python/webtest/webtest-2.0.33.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_{5,6,7}} )
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} )
 
 inherit distutils-r1
 
@@ -17,17 +17,18 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86"
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc64 ~s390 ~sh ~sparc ~x86"
 IUSE="test"
 RESTRICT="!test? ( test )"
 
-# nose<1.3.0 appears a leftover never updated in requires.txt. tests pass fine 
with latest
 RDEPEND="
+       dev-python/paste[${PYTHON_USEDEP}]
+       dev-python/pastedeploy[${PYTHON_USEDEP}]
        dev-python/six[${PYTHON_USEDEP}]
        >=dev-python/webob-1.2[${PYTHON_USEDEP}]
        >=dev-python/waitress-0.8.5[${PYTHON_USEDEP}]
        dev-python/beautifulsoup:4[${PYTHON_USEDEP}]"
-DEPEND="${RDEPEND}
+BDEPEND="${RDEPEND}
        app-arch/unzip
        dev-python/setuptools[${PYTHON_USEDEP}]
        test? ( dev-python/nose[${PYTHON_USEDEP}]
@@ -43,10 +44,11 @@ PATCHES=(
 )
 
 distutils_enable_sphinx docs
-
-python_test() {
-       distutils_install_for_testing
-       # Tests raise ImportErrors with our default PYTHONPATH.
-       local -x PYTHONPATH=
-       nosetests -v || die "Tests fail with ${EPYTHON}"
-}
+distutils_enable_tests pytest
+
+#python_test() {
+#      distutils_install_for_testing
+#      # Tests raise ImportErrors with our default PYTHONPATH.
+#      local -x PYTHONPATH=
+#      nosetests -v || die "Tests fail with ${EPYTHON}"
+#}

Reply via email to