diff options
| author | Jeffery To <jeffery.to@gmail.com> | 2018-06-25 02:33:11 +0800 |
|---|---|---|
| committer | Jeffery To <jeffery.to@gmail.com> | 2018-06-25 02:33:11 +0800 |
| commit | a8c87eb1e40297b9641bec55ac56fc1bb6341fc2 (patch) | |
| tree | 92096d996b437f5350003bf813f26766b74ac21e /lang/python/python-zope-interface/patches | |
| parent | 6d733be85c1670cf0106736538aa8bc56d1ca5f2 (diff) | |
python-zope-interface: update to 4.5.0
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Diffstat (limited to 'lang/python/python-zope-interface/patches')
| -rw-r--r-- | lang/python/python-zope-interface/patches/001-omit-tests.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lang/python/python-zope-interface/patches/001-omit-tests.patch b/lang/python/python-zope-interface/patches/001-omit-tests.patch new file mode 100644 index 000000000..95ff7be13 --- /dev/null +++ b/lang/python/python-zope-interface/patches/001-omit-tests.patch @@ -0,0 +1,21 @@ +diff --git a/setup.py b/setup.py +index 0eb36ea..2e64aae 100644 +--- a/setup.py ++++ b/setup.py +@@ -121,7 +121,7 @@ setup(name='zope.interface', + "Framework :: Zope3", + "Topic :: Software Development :: Libraries :: Python Modules", + ], +- packages=find_packages('src'), ++ packages=find_packages('src', exclude=["*.tests", "*.tests.*"]), + package_dir={'': 'src'}, + namespace_packages=["zope"], + cmdclass={ +@@ -129,6 +129,7 @@ setup(name='zope.interface', + }, + test_suite='zope.interface.tests', + include_package_data=True, ++ exclude_package_data={'':['tests/*']}, + zip_safe=False, + tests_require=tests_require, + install_requires=['setuptools'], |
