Skip to content

Commit 980871a

Browse files
committed
update recipezope_interface to 4.1.3 and remove tests
1 parent 52f2478 commit 980871a

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
21
from pythonforandroid.toolchain import PythonRecipe, shprint, current_directory
32
from os.path import join
43
import sh
54

65

76
class 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

1920
recipe = ZopeInterfaceRecipe()

0 commit comments

Comments
 (0)