Parse out build/configure requires from META.yml.
This commit is contained in:
parent
9432bbf6a0
commit
fc73f0ead2
1 changed files with 4 additions and 0 deletions
|
@ -1115,6 +1115,10 @@ class Make(BuildSystem):
|
||||||
warnings.warn("Unable to parse META.yml: %s" % e)
|
warnings.warn("Unable to parse META.yml: %s" % e)
|
||||||
return
|
return
|
||||||
for require in data.get("requires", []):
|
for require in data.get("requires", []):
|
||||||
|
yield "core", PerlModuleRequirement(require)
|
||||||
|
for require in data.get("build_requires", []):
|
||||||
|
yield "build", PerlModuleRequirement(require)
|
||||||
|
for require in data.get("configure_requires", []):
|
||||||
yield "build", PerlModuleRequirement(require)
|
yield "build", PerlModuleRequirement(require)
|
||||||
something = True
|
something = True
|
||||||
if os.path.exists(os.path.join(self.path, "cpanfile")):
|
if os.path.exists(os.path.join(self.path, "cpanfile")):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue