File tree Expand file tree Collapse file tree
pythonforandroid/recipes/zope_interface Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1-
21from pythonforandroid .toolchain import PythonRecipe , shprint , current_directory
32from os .path import join
43import sh
54
65
76class ZopeInterfaceRecipe (PythonRecipe ):
87 name = 'zope_interface'
9- version = '4.1.2 '
8+ version = '4.1.3 '
109 url = 'https://pypi.python.org/packages/source/z/zope.interface/zope.interface-{version}.tar.gz'
1110 site_packages_name = 'zope.interface'
1211
1312 depends = ['python2' ]
1413
15- def build_arch (self , arch ):
16- super (ZopeInterfaceRecipe , self ).build_arch (arch )
17- print ('Should remove zope tests etc. here, but skipping for now' )
14+ def prebuild_arch (self , arch ):
15+ super (ZopeInterfaceRecipe , self ).prebuild_arch (arch )
16+ with current_directory (self .get_build_dir (arch .arch )):
17+ sh .rm ('-rf' , 'src/zope/interface/tests' , 'src/zope/interface/common/tests' )
18+
1819
1920recipe = ZopeInterfaceRecipe ()
You can’t perform that action at this time.
0 commit comments