1 |
commit: 6b82c86b0510f2651e061924639c4f2920d70958 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 4 08:04:47 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 4 08:28:51 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b82c86b |
7 |
|
8 |
dev-python/routes: Port to py3.10 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/routes/routes-2.5.1.ebuild | 15 ++++----------- |
13 |
1 file changed, 4 insertions(+), 11 deletions(-) |
14 |
|
15 |
diff --git a/dev-python/routes/routes-2.5.1.ebuild b/dev-python/routes/routes-2.5.1.ebuild |
16 |
index 98c48ad54fa..75e5ba7a36a 100644 |
17 |
--- a/dev-python/routes/routes-2.5.1.ebuild |
18 |
+++ b/dev-python/routes/routes-2.5.1.ebuild |
19 |
@@ -1,10 +1,9 @@ |
20 |
# Copyright 1999-2021 Gentoo Authors |
21 |
# Distributed under the terms of the GNU General Public License v2 |
22 |
|
23 |
-EAPI=7 |
24 |
- |
25 |
-PYTHON_COMPAT=( python3_{7..9} pypy3 ) |
26 |
+EAPI=8 |
27 |
|
28 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
29 |
inherit distutils-r1 |
30 |
|
31 |
MY_PN="Routes" |
32 |
@@ -18,7 +17,6 @@ S="${WORKDIR}/${MY_P}" |
33 |
LICENSE="BSD" |
34 |
SLOT="0" |
35 |
KEYWORDS="amd64 arm arm64 ~ia64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
36 |
-IUSE="doc" |
37 |
|
38 |
RDEPEND=" |
39 |
>=dev-python/repoze-lru-0.3[${PYTHON_USEDEP}] |
40 |
@@ -40,13 +38,8 @@ distutils_enable_sphinx docs |
41 |
# for the faulty docbuild converted to sed stmnts |
42 |
python_prepare_all() { |
43 |
# The default theme in sphinx switched to classic from shpinx-1.3.1 |
44 |
- if has_version ">=dev-python/sphinx-1.3.1"; then |
45 |
- sed -e "s:html_theme_options = {:html_theme = 'classic'\n&:" \ |
46 |
- -i docs/conf.py || die |
47 |
- else |
48 |
- sed -e "s:html_theme_options = {:html_theme = 'default'\n&:" \ |
49 |
- -i docs/conf.py || die |
50 |
- fi |
51 |
+ sed -e "s:html_theme_options = {:html_theme = 'classic'\n&:" \ |
52 |
+ -i docs/conf.py || die |
53 |
sed -e "s:changes:changes\n todo:" \ |
54 |
-i docs/index.rst || die |