Return the env specialized for the recipe
(self, arch=None, with_flags_in_cc=True)
| 532 | info('{} is already unpacked, skipping'.format(self.name)) |
| 533 | |
| 534 | def get_recipe_env(self, arch=None, with_flags_in_cc=True): |
| 535 | """Return the env specialized for the recipe |
| 536 | """ |
| 537 | if arch is None: |
| 538 | arch = self.filtered_archs[0] |
| 539 | env = arch.get_env(with_flags_in_cc=with_flags_in_cc) |
| 540 | |
| 541 | for proxy_key in ['HTTP_PROXY', 'http_proxy', 'HTTPS_PROXY', 'https_proxy']: |
| 542 | if proxy_key in environ: |
| 543 | env[proxy_key] = environ[proxy_key] |
| 544 | |
| 545 | return env |
| 546 | |
| 547 | def prebuild_arch(self, arch): |
| 548 | '''Run any pre-build tasks for the Recipe. By default, this checks if |