diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-03-27 18:30:06 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-03-27 18:31:57 +0200 |
commit | dbe333673018c0c0dbdfa43e4529e9d406c133ea (patch) | |
tree | 7d07ac5f7d4f4fc765fbcffbc5f459762620c3d4 | |
parent | dev-util/quilt: drop 0.66-r1 (diff) | |
download | gentoo-dbe333673018c0c0dbdfa43e4529e9d406c133ea.tar.gz gentoo-dbe333673018c0c0dbdfa43e4529e9d406c133ea.tar.bz2 gentoo-dbe333673018c0c0dbdfa43e4529e9d406c133ea.zip |
dev-python/jinja: Fix markupsafe-2.1.0+ compat
Closes: https://bugs.gentoo.org/836268
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | dev-python/jinja/jinja-2.11.3-r1.ebuild (renamed from dev-python/jinja/jinja-2.11.3.ebuild) | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/dev-python/jinja/jinja-2.11.3.ebuild b/dev-python/jinja/jinja-2.11.3-r1.ebuild index 2daebbcea91d..8bed8a3c2310 100644 --- a/dev-python/jinja/jinja-2.11.3.ebuild +++ b/dev-python/jinja/jinja-2.11.3-r1.ebuild @@ -3,7 +3,7 @@ EAPI=7 -PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) +PYTHON_COMPAT=( python3_{8,9} pypy3 ) PYTHON_REQ_USE="threads(+)" inherit distutils-r1 @@ -31,15 +31,13 @@ distutils_enable_tests pytest src_prepare() { # avoid unnecessary dep on extra sphinxcontrib modules - sed -i '/sphinxcontrib.log_cabinet/ d' docs/conf.py || die + sed -i -e '/sphinxcontrib.log_cabinet/ d' docs/conf.py || die + # fix compat with markupsafe-2.1.0+ + sed -i -e 's:soft_unicode:soft_str:g' src/jinja2/*.py || die distutils-r1_src_prepare } -python_install() { - distutils-r1_python_install --skip-build -} - python_install_all() { if use examples ; then docinto examples |