From 2c523b12d1345ea7357da5ebec5f3e212e4b6624 Mon Sep 17 00:00:00 2001 From: Patrick McLean Date: Wed, 27 Nov 2019 12:07:02 -0800 Subject: 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 --- dev-python/webtest/webtest-2.0.33.ebuild | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) (limited to 'dev-python/webtest') diff --git a/dev-python/webtest/webtest-2.0.33.ebuild b/dev-python/webtest/webtest-2.0.33.ebuild index c9df5a13b440..c3d7b98ef26c 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}" +#} -- cgit v1.2.3-65-gdbad