From 00841f98731fe7599c7f2cae2bf4e08599833647 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Fri, 29 Sep 2023 11:37:08 +0800 Subject: python-twisted: Update to 23.8.0, rework patches The package changed to the hatchling build backend. Signed-off-by: Jeffery To --- .../python-twisted/patches/002-omit-tests.patch | 28 +++++++--------------- 1 file changed, 9 insertions(+), 19 deletions(-) (limited to 'lang/python/python-twisted/patches/002-omit-tests.patch') diff --git a/lang/python/python-twisted/patches/002-omit-tests.patch b/lang/python/python-twisted/patches/002-omit-tests.patch index 3ec59fd48..841b5e09e 100644 --- a/lang/python/python-twisted/patches/002-omit-tests.patch +++ b/lang/python/python-twisted/patches/002-omit-tests.patch @@ -1,20 +1,10 @@ ---- a/setup.cfg -+++ b/setup.cfg -@@ -107,6 +107,9 @@ mypy = +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -194,6 +194,7 @@ exclude = [ + "*.pxi", + "*.pyx", + "build.bat", ++ "test", + ] - [options.packages.find] - where = src -+exclude = -+ *.test -+ *.test.* - - [options.entry_points] - console_scripts = -@@ -126,6 +129,7 @@ console_scripts = - *.pxi - *.pyx - build.bat -+ test/* - - [flake8] - disable-noqa = True + [tool.hatch.build.targets.sdist] -- cgit