1 |
commit: 2c523b12d1345ea7357da5ebec5f3e212e4b6624 |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Wed Nov 27 20:07:02 2019 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 27 21:19:27 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c523b12 |
7 |
|
8 |
dev-python/webtest-2.0.33: bump, add py38 and pypy{,3} |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/webtest/webtest-2.0.33.ebuild | 24 +++++++++++++----------- |
15 |
1 file changed, 13 insertions(+), 11 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/webtest/webtest-2.0.33.ebuild b/dev-python/webtest/webtest-2.0.33.ebuild |
18 |
index c9df5a13b44..c3d7b98ef26 100644 |
19 |
--- a/dev-python/webtest/webtest-2.0.33.ebuild |
20 |
+++ b/dev-python/webtest/webtest-2.0.33.ebuild |
21 |
@@ -3,7 +3,7 @@ |
22 |
|
23 |
EAPI=7 |
24 |
|
25 |
-PYTHON_COMPAT=( python{2_7,3_{5,6,7}} ) |
26 |
+PYTHON_COMPAT=( python{2_7,3_{5,6,7,8}} pypy{,3} ) |
27 |
|
28 |
inherit distutils-r1 |
29 |
|
30 |
@@ -17,17 +17,18 @@ S="${WORKDIR}/${MY_P}" |
31 |
|
32 |
LICENSE="MIT" |
33 |
SLOT="0" |
34 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc64 ~s390 ~sh ~sparc ~x86" |
35 |
+KEYWORDS="~amd64 ~arm64 ~hppa ~ppc64 ~s390 ~sh ~sparc ~x86" |
36 |
IUSE="test" |
37 |
RESTRICT="!test? ( test )" |
38 |
|
39 |
-# nose<1.3.0 appears a leftover never updated in requires.txt. tests pass fine with latest |
40 |
RDEPEND=" |
41 |
+ dev-python/paste[${PYTHON_USEDEP}] |
42 |
+ dev-python/pastedeploy[${PYTHON_USEDEP}] |
43 |
dev-python/six[${PYTHON_USEDEP}] |
44 |
>=dev-python/webob-1.2[${PYTHON_USEDEP}] |
45 |
>=dev-python/waitress-0.8.5[${PYTHON_USEDEP}] |
46 |
dev-python/beautifulsoup:4[${PYTHON_USEDEP}]" |
47 |
-DEPEND="${RDEPEND} |
48 |
+BDEPEND="${RDEPEND} |
49 |
app-arch/unzip |
50 |
dev-python/setuptools[${PYTHON_USEDEP}] |
51 |
test? ( dev-python/nose[${PYTHON_USEDEP}] |
52 |
@@ -43,10 +44,11 @@ PATCHES=( |
53 |
) |
54 |
|
55 |
distutils_enable_sphinx docs |
56 |
- |
57 |
-python_test() { |
58 |
- distutils_install_for_testing |
59 |
- # Tests raise ImportErrors with our default PYTHONPATH. |
60 |
- local -x PYTHONPATH= |
61 |
- nosetests -v || die "Tests fail with ${EPYTHON}" |
62 |
-} |
63 |
+distutils_enable_tests pytest |
64 |
+ |
65 |
+#python_test() { |
66 |
+# distutils_install_for_testing |
67 |
+# # Tests raise ImportErrors with our default PYTHONPATH. |
68 |
+# local -x PYTHONPATH= |
69 |
+# nosetests -v || die "Tests fail with ${EPYTHON}" |
70 |
+#} |