diff options
author | Patrick McLean <patrick.mclean@sony.com> | 2019-11-27 12:07:02 -0800 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2019-11-27 13:19:27 -0800 |
commit | 2c523b12d1345ea7357da5ebec5f3e212e4b6624 (patch) | |
tree | 204f1cf5f63bdb17b972ac9edfc673c6460f1ef3 /dev-python/webtest | |
parent | dev-python/pastedeploy-2.0.1-r1: revbump, add py38 and pypy{,3} (diff) | |
download | gentoo-2c523b12d1345ea7357da5ebec5f3e212e4b6624.tar.gz gentoo-2c523b12d1345ea7357da5ebec5f3e212e4b6624.tar.bz2 gentoo-2c523b12d1345ea7357da5ebec5f3e212e4b6624.zip |
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@gentoo.org>
Diffstat (limited to 'dev-python/webtest')
-rw-r--r-- | dev-python/webtest/webtest-2.0.33.ebuild | 24 |
1 files 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 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}" +#} |