summaryrefslogtreecommitdiff
path: root/lang/python/python-incremental/patches
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2023-02-20 09:22:31 +0800
committerJeffery To <jeffery.to@gmail.com>2023-04-24 16:18:16 +0800
commit8d81b6732757abca7e58c13508689954ea915209 (patch)
treeccf690c3167f6337f8d05496afb4ad313725fda0 /lang/python/python-incremental/patches
parent59b7a81964c879e9a92af3122916f8d33ac2ee0a (diff)
python-incremental: Update to 22.10.0, redo patch, add host build
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-incremental/patches')
-rw-r--r--lang/python/python-incremental/patches/001-omit-tests.patch25
1 files changed, 14 insertions, 11 deletions
diff --git a/lang/python/python-incremental/patches/001-omit-tests.patch b/lang/python/python-incremental/patches/001-omit-tests.patch
index 5c228c004..b71c6e35f 100644
--- a/lang/python/python-incremental/patches/001-omit-tests.patch
+++ b/lang/python/python-incremental/patches/001-omit-tests.patch
@@ -1,11 +1,14 @@
---- a/setup.py
-+++ b/setup.py
-@@ -31,7 +31,7 @@ setup(
- "Programming Language :: Python :: 3.5",
- "Programming Language :: Python :: 3.6",
- ],
-- packages=find_packages("src", exclude=("exampleproj",)),
-+ packages=find_packages("src", exclude=("exampleproj", "*.tests", "*.tests.*")),
- package_dir={"": "src"},
- extras_require={"scripts": ["click>=6.0", "twisted>=16.4.0"]},
- license="MIT",
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -30,7 +30,10 @@ zip_safe = False
+
+ [options.packages.find]
+ where = src
+-exclude = exampleproj
++exclude =
++ exampleproj
++ *.tests
++ *.tests.*
+
+ [options.package_data]
+ incremental = py.typed