Handle missing META.yml file.
This commit is contained in:
parent
a56224a3a9
commit
43937c8326
1 changed files with 5 additions and 2 deletions
|
@ -1456,8 +1456,11 @@ 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)
|
||||||
run_with_build_fixers(session, ["./Build", "distmeta"], fixers)
|
run_with_build_fixers(session, ["./Build", "distmeta"], fixers)
|
||||||
|
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)
|
||||||
|
except FileNotFoundError:
|
||||||
|
pass
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def probe(cls, path):
|
def probe(cls, path):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue