diff options
Diffstat (limited to 'lang/python/python-hyperlink/patches')
| -rw-r--r-- | lang/python/python-hyperlink/patches/001-omit-tests.patch | 20 |
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, |
