
from pythonforandroid.toolchain import PythonRecipe, shprint, current_directory
from os.path import join
import sh


class ZopeInterfaceRecipe(PythonRecipe):
    name = 'zope_interface'
    version = '4.1.2'
    url = 'https://pypi.python.org/packages/source/z/zope.interface/zope.interface-{version}.tar.gz'
    site_packages_name = 'zope.interface'

    depends = ['python2']

    def build_arch(self, arch):
        super(ZopeInterfaceRecipe, self).build_arch(arch)
        print('Should remove zope tests etc. here, but skipping for now')

recipe = ZopeInterfaceRecipe()

@@ -1,13 +1,12 @@
-%0A
 from pythonf
@@ -198,17 +198,17 @@
  = '4.1.
-2
+3
 '%0A    ur
@@ -380,16 +380,19 @@
     def 
+pre
 build_ar
@@ -448,16 +448,19 @@
 , self).
+pre
 build_ar
@@ -480,75 +480,153 @@
     
-print('Should remove zope tests etc. here, but skipping for now
+with current_directory(self.get_build_dir(arch.arch)):%0A            sh.rm('-rf', 'src/zope/interface/tests', 'src/zope/interface/common/tests
 ')%0A%0A
+%0A
 reci

update recipezope_interface to 4.1.3 and remove tests