Skip to content

Commit f20c7a3

Browse files
committed
patch setup.py to remove test package
1 parent 980871a commit f20c7a3

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

pythonforandroid/recipes/zope_interface/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class ZopeInterfaceRecipe(PythonRecipe):
1010
site_packages_name = 'zope.interface'
1111

1212
depends = ['python2']
13+
patches = ['no_tests.patch']
1314

1415
def prebuild_arch(self, arch):
1516
super(ZopeInterfaceRecipe, self).prebuild_arch(arch)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--- zope_interface/setup.py 2015-10-05 09:35:14.000000000 +0200
2+
+++ b/setup.py 2016-06-15 17:44:35.108263993 +0200
3+
@@ -139,9 +139,8 @@
4+
"Topic :: Software Development :: Libraries :: Python Modules",
5+
],
6+
7+
- packages = ['zope', 'zope.interface', 'zope.interface.tests'],
8+
+ packages = ['zope', 'zope.interface'],
9+
package_dir = {'': 'src'},
10+
cmdclass = {'build_ext': optional_build_ext,
11+
},
12+
- test_suite = 'zope.interface.tests',
13+
**extra)

0 commit comments

Comments
 (0)