Skip to content

Commit

Permalink
try different way to add dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Mar 12, 2024
1 parent 0ba102e commit 08fe731
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eb_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ def parse_hook_imagemagick_add_dependency(ec, eprefix):
if ec.name == 'ImageMagick':
if LooseVersion(ec.version) == LooseVersion('7.1.0-37'):
print_msg("Added dependency for PCRE/8.45 to %s/%s", ec.name, ec.version)
ec.update('builddependencies', ('PCRE', '8.45'))
#ec.update('dependencies', ('PCRE', '8.45'))
ec['dependencies'].append(('PCRE', '8.45'))
else:
print_msg("Not adding dependency for %s/%s", ec.name, ec.version)
else:
Expand Down

0 comments on commit 08fe731

Please sign in to comment.