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