commit: 6e4a1e58de8911b79332cf8538ec2f30c045ac10
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 11 02:29:35 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 11 02:43:57 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6e4a1e58
media-gfx/cairosvg: Backport entry point fix for new setuptools
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
.../{cairosvg-2.7.1.ebuild => cairosvg-2.7.1-r1.ebuild} | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/media-gfx/cairosvg/cairosvg-2.7.1.ebuild
b/media-gfx/cairosvg/cairosvg-2.7.1-r1.ebuild
similarity index 75%
rename from media-gfx/cairosvg/cairosvg-2.7.1.ebuild
rename to media-gfx/cairosvg/cairosvg-2.7.1-r1.ebuild
index 5f1116adf30b..c9e6085de11c 100644
--- a/media-gfx/cairosvg/cairosvg-2.7.1.ebuild
+++ b/media-gfx/cairosvg/cairosvg-2.7.1-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYPI_NO_NORMALIZE=1
PYPI_PN="CairoSVG"
-PYTHON_COMPAT=( pypy3 pypy3_11 python3_{10..13} )
+PYTHON_COMPAT=( pypy3_11 python3_{11..13} )
inherit distutils-r1 pypi
@@ -36,3 +36,11 @@ EPYTEST_IGNORE=(
# sense for us and requires both distfiles around
test_non_regression
)
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # https://github.com/Kozea/CairoSVG/issues/441
+ #
https://github.com/Kozea/CairoSVG/commit/8ecb0806c4ed0813eb5dc6f27b36d9005acfa725
+ sed -i -e 's:console-scripts:console_scripts:' setup.cfg || die
+}