blob: 3d8b9bbcca1a095f16f0e2114ba924f362c2b73a (
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", "perl-module-cpanplus-internals-source-sqlite", "perl-module-cpanplus-internals-source-sqlite-tie"]
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
|