recipe dependencies
This commit is contained in:
parent
bad28e3735
commit
26a76b65e5
8 changed files with 19 additions and 13 deletions
|
@ -9,7 +9,13 @@ class CffiRecipe(CythonRecipe):
|
|||
"686af8873b70028fccf67b15c78fd4e4667a3da995007afc71e786d61b0a/"
|
||||
"cffi-{version}.tar.gz"
|
||||
)
|
||||
depends = ["libffi", "pycparser"]
|
||||
depends = ["libffi", "host_setuptools", "pycparser"]
|
||||
cythonize = False
|
||||
|
||||
def get_recipe_env(self, arch):
|
||||
env = super(CffiRecipe, self).get_recipe_env(arch)
|
||||
env["CC"] += " -I{}".format(
|
||||
join(self.ctx.dist_dir, "include", arch.arch, "libffi"))
|
||||
return env
|
||||
|
||||
recipe = CffiRecipe()
|
||||
|
|
|
@ -10,13 +10,13 @@ class CryptographyRecipe(CythonRecipe):
|
|||
"60984cb85cc38c4ebdfca27b32a6df6f1914959d8790f5a349608c78be61/"
|
||||
"cryptography-{version}.tar.gz"
|
||||
)
|
||||
depends = ["host_setuptools", "six", "idna", "pyasn1"]
|
||||
depends = ["host_setuptools", "cffi", "six", "idna", "pyasn1", "enum34"]
|
||||
cythonize = False
|
||||
|
||||
def get_recipe_env(self, arch):
|
||||
env = super(CryptographyRecipe, self).get_recipe_env(arch)
|
||||
env["CC"] += " -I{}".format(
|
||||
join(self.ctx.dist_dir, "include", arch.arch, "libffi"))
|
||||
return env
|
||||
#def get_recipe_env(self, arch):
|
||||
# env = super(CryptographyRecipe, self).get_recipe_env(arch)
|
||||
# env["CC"] += " -I{}".format(
|
||||
# join(self.ctx.dist_dir, "include", arch.arch, "libffi"))
|
||||
# return env
|
||||
|
||||
recipe = CryptographyRecipe()
|
||||
|
|
|
@ -12,7 +12,7 @@ class Enum34Recipe(PythonRecipe):
|
|||
"31d502c25302814a7c2f1d3959d2a3b3f78e509002ba91aea64993936876/"
|
||||
"enum34-{version}.tar.gz"
|
||||
)
|
||||
depends = ["python"]
|
||||
depends = ["python", "host_setuptools"]
|
||||
|
||||
def install(self):
|
||||
arch = list(self.filtered_archs)[0]
|
||||
|
|
|
@ -12,7 +12,7 @@ class IdnaRecipe(PythonRecipe):
|
|||
"8c27516fbaa8147acd2e431086b473c453c428e24e8fb99a1d89ce381851/"
|
||||
"idna-{version}.tar.gz"
|
||||
)
|
||||
depends = ["python"]
|
||||
depends = ["python", "host_setuptools"]
|
||||
|
||||
def install(self):
|
||||
arch = list(self.filtered_archs)[0]
|
||||
|
|
|
@ -12,7 +12,7 @@ class IPAddressRecipe(PythonRecipe):
|
|||
"3b64955ff73f9e3155079b9ed31812afdfa5333b5c76387454d651ef593a/"
|
||||
"ipaddress-{version}.tar.gz"
|
||||
)
|
||||
depends = ["python"]
|
||||
depends = ["python", "host_setuptools"]
|
||||
|
||||
def install(self):
|
||||
arch = list(self.filtered_archs)[0]
|
||||
|
|
|
@ -12,7 +12,7 @@ class Pyasn1Recipe(PythonRecipe):
|
|||
"377e3dd2e95f9020dbd0dfd3c47aaa7deebe3c68d3857a4e51917146ae8b/"
|
||||
"pyasn1-{version}.tar.gz"
|
||||
)
|
||||
depends = ["python"]
|
||||
depends = ["ipaddress"]
|
||||
|
||||
def install(self):
|
||||
arch = list(self.filtered_archs)[0]
|
||||
|
|
|
@ -12,7 +12,7 @@ class PyOpenSSLRecipe(PythonRecipe):
|
|||
"79c75db50e57350a7cefb70b110255757e9abd380a50ebdc0cfd853b7450/"
|
||||
"pyOpenSSL-{version}.tar.gz"
|
||||
)
|
||||
depends = ["openssl", "six", "cryptography"]
|
||||
depends = ["openssl", "cryptography"]
|
||||
|
||||
def install(self):
|
||||
arch = list(self.filtered_archs)[0]
|
||||
|
|
|
@ -12,7 +12,7 @@ class TxaioRecipe(PythonRecipe):
|
|||
"f7d88767d65dbfc20d4b4aa0dad657dbbe8ca629ead2bef24da04630a12a/"
|
||||
"txaio-{version}.tar.gz"
|
||||
)
|
||||
depends = ["six"]
|
||||
depends = ["host_setuptools", "six"]
|
||||
|
||||
def install(self):
|
||||
arch = list(self.filtered_archs)[0]
|
||||
|
|
Loading…
Reference in a new issue