Files
python-CairoSVG/use-underscore-in-setup.cfg.patch
Steve Kowalik 9e7b3781a0 - Switch to autosetup and pyproject macros.
- Add patch use-underscore-in-setup.cfg.patch:
  * Use 'console_scripts' in setup.cfg.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-CairoSVG?expand=0&rev=33
2025-04-02 03:01:31 +00:00

23 lines
592 B
Diff

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 @@ install_requires =
python_requires = >= 3.5
[options.entry_points]
-console-scripts =
+console_scripts =
cairosvg = cairosvg.__main__:main
[options.package_data]