summaryrefslogtreecommitdiff
path: root/recipes/perl/perl.inc
blob: ddde0b8872f3e220e393f5062efabc63389a4ada (plain)
1
2
3
4
5
6
7
8
# helper functions for perl
def all_perl_packages(d):
    depchains = (d.getVar("DEPCHAIN_POST", True) or "").split()
    blacklist = ["perl-modules", "perl-misc", "perl-pod", "perl-doc"]
    for pkg in d.getVar("PACKAGES", True).split():
        if not pkg in blacklist and not any(pkg.endswith(post) for post in depchains):
            yield pkg