kivy-ios/recipes/zope_interface/__init__.py

23 lines
639 B
Python
Raw Normal View History

2016-10-14 12:39:39 +02:00
from toolchain import CythonRecipe, shprint
from os.path import join
2016-10-14 12:39:39 +02:00
import sh
2016-10-14 12:39:39 +02:00
class ZopeInterfaceRecipe(CythonRecipe):
version = "4.3.2"
2016-10-14 12:39:39 +02:00
url = "https://github.com/zopefoundation/zope.interface/archive/{version}.zip"
#library = "libzopeinterface.a"
2016-10-14 09:57:34 +02:00
depends = ["python", "host_setuptools"]
2016-10-14 12:39:39 +02:00
cythonize = False
2016-10-13 16:07:58 +02:00
2016-10-14 12:39:39 +02:00
def get_recipe_env(self, arch):
env = super(ZopeInterfaceRecipe, self).get_recipe_env(arch)
#env["CC"] = "{} {}".format(env["CC"], env["CFLAGS"])
return env
2016-10-13 16:07:58 +02:00
def build_arch(self, arch):
2016-10-14 12:39:39 +02:00
super(ZopeInterfaceRecipe, self).build_arch(arch)
recipe = ZopeInterfaceRecipe()