mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-14 19:59:55 +03:00
setuptools >= 78.0.0 no longer accepts `setup.cfg` options with dash characters. The syntax difference led to the `/usr/bin/cairosvg` script entry point to be excluded during install. Patch `setup.cfg` to fix the entry point setting.
25 lines
697 B
Diff
25 lines
697 B
Diff
Patch-Source: https://github.com/Kozea/CairoSVG/commit/8ecb0806c4ed0813eb5dc6f27b36d9005acfa725
|
|
Backported for v2.7.1.
|
|
---
|
|
From 8ecb0806c4ed0813eb5dc6f27b36d9005acfa725 Mon Sep 17 00:00:00 2001
|
|
From: Guillaume Ayoub <guillaume@courtbouillon.org>
|
|
Date: Sat, 5 Aug 2023 11:03:35 +0200
|
|
Subject: [PATCH] Use underscore in setup.cfg instead of deprecated dash
|
|
|
|
---
|
|
setup.cfg | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/setup.cfg b/setup.cfg
|
|
index 05fa3742..c624e583 100644
|
|
--- a/setup.cfg
|
|
+++ b/setup.cfg
|
|
@@ -52,7 +52,7 @@
|
|
python_requires = >= 3.5
|
|
|
|
[options.entry_points]
|
|
-console-scripts =
|
|
+console_scripts =
|
|
cairosvg = cairosvg.__main__:main
|
|
|
|
[options.package_data]
|