1 |
commit: d5b78154dd9e51bba4e0afa9b04f09b2ba80dedc |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Jul 5 01:01:19 2021 +0000 |
4 |
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> |
5 |
CommitDate: Mon Jul 5 01:01:19 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d5b78154 |
7 |
|
8 |
dev-python/webpy: ebuild maintenance |
9 |
|
10 |
Closes: https://bugs.gentoo.org/788319 |
11 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
12 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
13 |
|
14 |
dev-python/webpy/webpy-0.62.ebuild | 25 +++++++++++++++---------- |
15 |
1 file changed, 15 insertions(+), 10 deletions(-) |
16 |
|
17 |
diff --git a/dev-python/webpy/webpy-0.62.ebuild b/dev-python/webpy/webpy-0.62.ebuild |
18 |
index 5adfaa913..083e62602 100644 |
19 |
--- a/dev-python/webpy/webpy-0.62.ebuild |
20 |
+++ b/dev-python/webpy/webpy-0.62.ebuild |
21 |
@@ -1,16 +1,17 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI="7" |
27 |
+EAPI="8" |
28 |
|
29 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
30 |
+PYTHON_COMPAT=( python3_{8..10} ) |
31 |
|
32 |
inherit distutils-r1 |
33 |
|
34 |
DESCRIPTION="A web framework for python that is as simple as it is powerful" |
35 |
HOMEPAGE=" |
36 |
- https://webpy.org/ |
37 |
+ https://webpy.org |
38 |
https://github.com/webpy/webpy |
39 |
+ https://pypi.org/project/web.py |
40 |
" |
41 |
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
|
43 |
@@ -18,12 +19,7 @@ LICENSE="public-domain" |
44 |
SLOT="0" |
45 |
KEYWORDS="~amd64 ~x86" |
46 |
|
47 |
-RDEPEND=" |
48 |
- dev-python/cheroot[${PYTHON_USEDEP}] |
49 |
-" |
50 |
-BDEPEND="test? ( |
51 |
- >=dev-python/pytest-4.6.2[${PYTHON_USEDEP}] |
52 |
-)" |
53 |
+RDEPEND="dev-python/cheroot[${PYTHON_USEDEP}]" |
54 |
|
55 |
distutils_enable_tests pytest |
56 |
distutils_enable_sphinx docs |
57 |
@@ -33,3 +29,12 @@ src_prepare() { |
58 |
rm tests/test_db.py |
59 |
default |
60 |
} |
61 |
+ |
62 |
+python_test() { |
63 |
+ #https://github.com/webpy/webpy/issues/712 |
64 |
+ #https://github.com/webpy/webpy/issues/713 |
65 |
+ epytest -vv \ |
66 |
+ --deselect tests/test_application.py::ApplicationTest::test_routing \ |
67 |
+ --deselect tests/test_session.py::DiskStoreTest::testStoreConcurrent \ |
68 |
+ || die |
69 |
+} |