summaryrefslogtreecommitdiff
path: root/lang/python/python-twisted/patches/002-omit-tests.patch
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-09-29 11:37:08 +0800
committerRosen Penev <rosenp@gmail.com>2023-10-05 14:37:27 -0700
commit00841f98731fe7599c7f2cae2bf4e08599833647 (patch)
tree4915da270d1f341574ac7b3a33c5174e4059730d /lang/python/python-twisted/patches/002-omit-tests.patch
parente429c11b04c7f4ecc67f69e3d40042b499508526 (diff)
python-twisted: Update to 23.8.0, rework patches
The package changed to the hatchling build backend. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-twisted/patches/002-omit-tests.patch')
-rw-r--r--lang/python/python-twisted/patches/002-omit-tests.patch28
1 files changed, 9 insertions, 19 deletions
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]