summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-02-07 15:30:33 +0100
committerMichał Górny <mgorny@gentoo.org>2023-02-07 15:30:33 +0100
commit47e42fb5ae4c3a7d562011e7c3ff6981cd9892d6 (patch)
tree813f5c6c1b509e708df040463ef938d922a2c876 /dev-python/flask-babel
parentdev-python/flask-babel: Remove old (diff)
downloadgentoo-47e42fb5ae4c3a7d562011e7c3ff6981cd9892d6.tar.gz
gentoo-47e42fb5ae4c3a7d562011e7c3ff6981cd9892d6.tar.bz2
gentoo-47e42fb5ae4c3a7d562011e7c3ff6981cd9892d6.zip
dev-python/flask-babel: Fix stray files in site-packages
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/flask-babel')
-rw-r--r--dev-python/flask-babel/flask-babel-3.0.1-r1.ebuild (renamed from dev-python/flask-babel/flask-babel-3.0.1.ebuild)6
1 files changed, 6 insertions, 0 deletions
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
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
+}