From 9277f74abddc8f91aad2cc97ec003ebe3c4c6c4c Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Mon, 17 Aug 2020 00:30:09 +0800 Subject: python-hyperlink: Update to 20.0.1 Signed-off-by: Jeffery To --- .../python-hyperlink/patches/001-omit-tests.patch | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'lang/python/python-hyperlink/patches') 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, -- cgit