summaryrefslogtreecommitdiff
path: root/lang/python/python-hyperlink/patches/001-omit-tests.patch
diff options
context:
space:
mode:
authorJeffery To <jeffery.to@gmail.com>2020-08-17 00:30:09 +0800
committerJeffery To <jeffery.to@gmail.com>2020-08-17 01:56:47 +0800
commit9277f74abddc8f91aad2cc97ec003ebe3c4c6c4c (patch)
tree122a0eb591b5c32176f8fa79778e275743847c4a /lang/python/python-hyperlink/patches/001-omit-tests.patch
parentc158c02bc5f38cebff1bb523df9ca9b6bfc958cb (diff)
python-hyperlink: Update to 20.0.1
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-hyperlink/patches/001-omit-tests.patch')
-rw-r--r--lang/python/python-hyperlink/patches/001-omit-tests.patch20
1 files changed, 9 insertions, 11 deletions
diff --git a/lang/python/python-hyperlink/patches/001-omit-tests.patch b/lang/python/python-hyperlink/patches/001-omit-tests.patch
index cd0c8b800..e0ee3bddb 100644
--- a/lang/python/python-hyperlink/patches/001-omit-tests.patch
+++ b/lang/python/python-hyperlink/patches/001-omit-tests.patch
@@ -1,13 +1,11 @@
--- a/setup.py
+++ b/setup.py
-@@ -24,8 +24,9 @@ setup(name='hyperlink',
- author=__author__,
- author_email=__contact__,
- url=__url__,
-- packages=['hyperlink', 'hyperlink.test'],
-+ packages=['hyperlink'],
- include_package_data=True,
-+ exclude_package_data={'':['test/*']},
- zip_safe=False,
- license=__license__,
- platforms='any',
+@@ -25,7 +25,7 @@ setup(
+ author=__author__,
+ author_email=__contact__,
+ url=__url__,
+- packages=find_packages(where="src"),
++ packages=find_packages(where="src", exclude=["*.test", "*.test.*"]),
+ package_dir={"": "src"},
+ package_data=dict(hyperlink=["py.typed"]),
+ zip_safe=False,