Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
depends = [('python2' ,'python2crystax')]
patches = ['no_tests.patch', 'force_build_ext.patch']
def prebuild_arch(self, arch):
super(ZopeInterfaceRecipe, self).prebuild_arch(arch)
with current_directory(self.get_build_dir(arch.arch)):
sh.rm('-rf', 'src/zope/interface/tests', 'src/zope/interface/common/tests')
def postbuild_arch(self, arch):
super(ZopeInterfaceRecipe, self).postbuild_arch(arch)
with current_directory(self.ctx.get_site_packages_dir(arch)):
sh.touch( 'zope/__init__.py')
recipe = ZopeInterfaceRecipe()
def prebuild_arch(self, arch):
super(ZopeInterfaceRecipe, self).prebuild_arch(arch)
with current_directory(self.get_build_dir(arch.arch)):
sh.rm('-rf', 'src/zope/interface/tests', 'src/zope/interface/common/tests')