commit:     47e42fb5ae4c3a7d562011e7c3ff6981cd9892d6
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb  7 14:30:33 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb  7 14:30:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47e42fb5

dev-python/flask-babel: Fix stray files in site-packages

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../{flask-babel-3.0.1.ebuild => flask-babel-3.0.1-r1.ebuild}       | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/flask-babel/flask-babel-3.0.1.ebuild 
b/dev-python/flask-babel/flask-babel-3.0.1-r1.ebuild
similarity index 85%
rename from dev-python/flask-babel/flask-babel-3.0.1.ebuild
rename to dev-python/flask-babel/flask-babel-3.0.1-r1.ebuild
index c11b51e41219..914d55fc495d 100644
--- a/dev-python/flask-babel/flask-babel-3.0.1.ebuild
+++ b/dev-python/flask-babel/flask-babel-3.0.1-r1.ebuild
@@ -39,3 +39,9 @@ BDEPEND="
 distutils_enable_sphinx docs \
        dev-python/pallets-sphinx-themes
 distutils_enable_tests pytest
+
+src_prepare() {
+       # https://github.com/python-babel/flask-babel/pull/215
+       sed -i -e 's:^include:exclude:' pyproject.toml || die
+       distutils-r1_src_prepare
+}

Reply via email to