1 |
commit: 1779c5dddbdb396aa84d3e2d06c0b9c9a6cd71a4 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri May 13 07:26:31 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 13 09:07:59 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1779c5dd |
7 |
|
8 |
dev-python/mako: Enable py3.11 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/mako/mako-1.2.0.ebuild | 18 +++++++++++++++--- |
13 |
1 file changed, 15 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/mako/mako-1.2.0.ebuild b/dev-python/mako/mako-1.2.0.ebuild |
16 |
index d40f67924a4b..16fca49e82f0 100644 |
17 |
--- a/dev-python/mako/mako-1.2.0.ebuild |
18 |
+++ b/dev-python/mako/mako-1.2.0.ebuild |
19 |
@@ -4,13 +4,17 @@ |
20 |
EAPI=8 |
21 |
|
22 |
DISTUTILS_USE_PEP517=setuptools |
23 |
-PYTHON_COMPAT=( pypy3 python3_{8..10} ) |
24 |
+PYTHON_COMPAT=( pypy3 python3_{8..11} ) |
25 |
|
26 |
inherit distutils-r1 |
27 |
|
28 |
MY_P=${P^} |
29 |
DESCRIPTION="A Python templating language" |
30 |
-HOMEPAGE="https://www.makotemplates.org/ https://pypi.org/project/Mako/" |
31 |
+HOMEPAGE=" |
32 |
+ https://www.makotemplates.org/ |
33 |
+ https://github.com/sqlalchemy/mako/ |
34 |
+ https://pypi.org/project/Mako/ |
35 |
+" |
36 |
SRC_URI="mirror://pypi/${MY_P:0:1}/${PN^}/${MY_P}.tar.gz" |
37 |
S="${WORKDIR}/${MY_P}" |
38 |
|
39 |
@@ -31,10 +35,18 @@ BDEPEND=" |
40 |
distutils_enable_tests pytest |
41 |
|
42 |
python_test() { |
43 |
- local EPYTEST_DESELECT=() |
44 |
+ local EPYTEST_DESELECT=( |
45 |
+ # change in pygments |
46 |
+ test/test_exceptions.py::ExceptionsTest::test_format_exceptions_pygments |
47 |
+ ) |
48 |
[[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=( |
49 |
test/test_exceptions.py::ExceptionsTest::test_alternating_file_names |
50 |
) |
51 |
+ [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( |
52 |
+ # py3.11 changed tracebacks |
53 |
+ test/test_exceptions.py::ExceptionsTest::test_tback_no_trace_from_py_file |
54 |
+ test/test_exceptions.py::ExceptionsTest::test_tback_trace_from_py_file |
55 |
+ ) |
56 |
local EPYTEST_IGNORE=( |
57 |
# lingua is not packaged in Gentoo and the skip is currently broken |
58 |
# https://github.com/sqlalchemy/mako/pull/357 |