python-zope-interface: Update to 5.0.1, refresh patch

Signed-off-by: Jeffery To <jeffery.to@gmail.com>
This commit is contained in:
Jeffery To 2020-03-24 01:18:33 +08:00
parent 6408a0c585
commit 7662e1ea9b
2 changed files with 6 additions and 6 deletions

View File

@ -8,11 +8,11 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=python-zope-interface
PKG_VERSION:=4.7.2
PKG_VERSION:=5.0.1
PKG_RELEASE:=1
PYPI_NAME:=zope.interface
PKG_HASH:=fd1101bd3fcb4f4cf3485bb20d6cb0b56909b94d3bd2a53a6cb9d381c3da3365
PKG_HASH:=dd0bc4016ec9ffa6d327bf3ba2f044c3ff376880661e5cc38c622e1ae023076f
PKG_LICENSE:=ZPL-2.1
PKG_LICENSE_FILES:=LICENSE.txt

View File

@ -1,15 +1,15 @@
--- a/setup.py
+++ b/setup.py
@@ -121,7 +121,7 @@ setup(name='zope.interface',
"Framework :: Zope :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
@@ -125,7 +125,7 @@ setup(name='zope.interface',
"Framework :: Zope :: 3",
"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',
@@ -133,6 +133,7 @@ setup(name='zope.interface',
},
test_suite='zope.interface.tests',
include_package_data=True,