Handle distmeta not being supported.
This commit is contained in:
parent
f9e757760b
commit
90f740fd4a
1 changed files with 7 additions and 1 deletions
|
@ -1455,7 +1455,13 @@ class PerlBuildTiny(BuildSystem):
|
||||||
|
|
||||||
def get_declared_dependencies(self, session, fixers=None):
|
def get_declared_dependencies(self, session, fixers=None):
|
||||||
self.setup(session, fixers)
|
self.setup(session, fixers)
|
||||||
|
try:
|
||||||
run_with_build_fixers(session, ["./Build", "distmeta"], fixers)
|
run_with_build_fixers(session, ["./Build", "distmeta"], fixers)
|
||||||
|
except UnidentifiedError as e:
|
||||||
|
if "No such action 'distmeta'" in e.lines:
|
||||||
|
pass
|
||||||
|
else:
|
||||||
|
raise
|
||||||
try:
|
try:
|
||||||
with open(os.path.join(self.path, 'META.yml'), 'r') as f:
|
with open(os.path.join(self.path, 'META.yml'), 'r') as f:
|
||||||
yield from _declared_deps_from_meta_yml(f)
|
yield from _declared_deps_from_meta_yml(f)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue