Browse Source

Merge pull request #11642 from jefferyto/python-zope-interface-5.0.1

python-zope-interface: Update to 5.0.1, refresh patch
lilik-openwrt-22.03
Hannu Nyman 5 years ago
committed by GitHub
parent
commit
3ca125971d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions
  1. +2
    -2
      lang/python/python-zope-interface/Makefile
  2. +4
    -4
      lang/python/python-zope-interface/patches/001-omit-tests.patch

+ 2
- 2
lang/python/python-zope-interface/Makefile 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


+ 4
- 4
lang/python/python-zope-interface/patches/001-omit-tests.patch 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,


Loading…
Cancel
Save