commit:     2a68018af374e9be293382a904534c7acc228cfb
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed May 12 14:15:32 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed May 12 18:21:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a68018a

dev-python/sphinx: Remove unnecessary upper version bounds

Bug: https://bugs.gentoo.org/789681
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/sphinx/{sphinx-4.0.1.ebuild => sphinx-4.0.1-r1.ebuild} | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dev-python/sphinx/sphinx-4.0.1.ebuild 
b/dev-python/sphinx/sphinx-4.0.1-r1.ebuild
similarity index 97%
rename from dev-python/sphinx/sphinx-4.0.1.ebuild
rename to dev-python/sphinx/sphinx-4.0.1-r1.ebuild
index 8dee8dd7b8f..1c6f8a61729 100644
--- a/dev-python/sphinx/sphinx-4.0.1.ebuild
+++ b/dev-python/sphinx/sphinx-4.0.1-r1.ebuild
@@ -69,6 +69,11 @@ python_prepare_all() {
        sed -i -e 's:^intersphinx_mapping:disabled_&:' \
                doc/conf.py || die
 
+       # remove unnecessary upper bounds
+       sed -e '/Jinja2/s:,<3.0::' \
+               -e '/MarkupSafe/s:<2.0::' \
+               -i setup.py || die
+
        distutils-r1_python_prepare_all
 }
 

Reply via email to