diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2016-03-09 18:39:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-03-10 23:13:54 +0000 |
commit | 82dec4647483caaf8123fb9feea51d67efe2a634 (patch) | |
tree | 8e98596e18f5bc171ec296dbe64077d7dc63af34 /meta/recipes-devtools/perl | |
parent | 815c36f4173d7c963bf3fb3597fe4494ee73aff1 (diff) | |
download | poky-82dec4647483caaf8123fb9feea51d67efe2a634.tar.gz |
perl-rdepends: Remove circular dependencies
Packages should not depend on themselves, otherwise it could lead to
circular dependencies on the package manager.
I have added a line on the proposed bash script that should add this
check on future versions.
(From OE-Core rev: 52b02df67e93722e29a2b3e9a90cd49c38952024)
Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/perl')
-rw-r--r-- | meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc b/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc index 7f886f34ab..033d4e3546 100644 --- a/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc +++ b/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc | |||
@@ -7,6 +7,7 @@ | |||
7 | #2 find . -name \*.pm | xargs sed -i '/^=head/,/^=cut/d' | 7 | #2 find . -name \*.pm | xargs sed -i '/^=head/,/^=cut/d' |
8 | #3 egrep -r "^\s*(\<use .*|\<require .*);?" perl-module-* --include="*.pm" | 8 | #3 egrep -r "^\s*(\<use .*|\<require .*);?" perl-module-* --include="*.pm" |
9 | #| sed "s/\/.*\.pm: */ += /g;s/[\"\']//g;s/;.*/\"/g;s/+= .*\(require\|use\)\> */+= \"perl-module-/g;s/CPANPLUS::.*/cpanplus/g;s/CPAN::.*/cpan/g;s/::/-/g;s/ [^+\"].*//g;s/_/-/g;s/\.pl\"$/\"/;s/\"\?\$/\"/;s/(//;" | tr [:upper:] [:lower:] | 9 | #| sed "s/\/.*\.pm: */ += /g;s/[\"\']//g;s/;.*/\"/g;s/+= .*\(require\|use\)\> */+= \"perl-module-/g;s/CPANPLUS::.*/cpanplus/g;s/CPAN::.*/cpan/g;s/::/-/g;s/ [^+\"].*//g;s/_/-/g;s/\.pl\"$/\"/;s/\"\?\$/\"/;s/(//;" | tr [:upper:] [:lower:] |
10 | #| awk '{if ($3 != "\x22"$1"\x22"){ print $0}}' | ||
10 | #| grep -v -e "\-vms\-" -e module-5 -e "^$" -e "\\$" -e your -e tk -e autoperl -e html -e http -e parse-cpan -e perl-ostype -e ndbm-file -e module-mac -e fcgi -e lwp -e dbd -e dbix | 11 | #| grep -v -e "\-vms\-" -e module-5 -e "^$" -e "\\$" -e your -e tk -e autoperl -e html -e http -e parse-cpan -e perl-ostype -e ndbm-file -e module-mac -e fcgi -e lwp -e dbd -e dbix |
11 | #| sort -u | 12 | #| sort -u |
12 | #| sed 's/^/RDEPENDS_/;s/perl-module-/${PN}-module-/g;s/module-\(module-\)/\1/g;s/\(module-load\)-conditional/\1/g;s/encode-configlocal/&-pm/;' | 13 | #| sed 's/^/RDEPENDS_/;s/perl-module-/${PN}-module-/g;s/module-\(module-\)/\1/g;s/\(module-load\)-conditional/\1/g;s/encode-configlocal/&-pm/;' |
@@ -275,7 +276,6 @@ RDEPENDS_${PN}-module-constant += "${PN}-module-carp" | |||
275 | RDEPENDS_${PN}-module-constant += "${PN}-module-strict" | 276 | RDEPENDS_${PN}-module-constant += "${PN}-module-strict" |
276 | RDEPENDS_${PN}-module-constant += "${PN}-module-warnings-register" | 277 | RDEPENDS_${PN}-module-constant += "${PN}-module-warnings-register" |
277 | RDEPENDS_${PN}-module-corelist += "${PN}-module-list-util" | 278 | RDEPENDS_${PN}-module-corelist += "${PN}-module-list-util" |
278 | RDEPENDS_${PN}-module-corelist += "${PN}-module-corelist" | ||
279 | RDEPENDS_${PN}-module-corelist += "${PN}-module-strict" | 279 | RDEPENDS_${PN}-module-corelist += "${PN}-module-strict" |
280 | RDEPENDS_${PN}-module-corelist += "${PN}-module-vars" | 280 | RDEPENDS_${PN}-module-corelist += "${PN}-module-vars" |
281 | RDEPENDS_${PN}-module-corelist += "${PN}-module-version" | 281 | RDEPENDS_${PN}-module-corelist += "${PN}-module-version" |
@@ -283,7 +283,6 @@ RDEPENDS_${PN}-module-corelist += "${PN}-module-warnings" | |||
283 | RDEPENDS_${PN}-module-cpan += "${PN}-module-b" | 283 | RDEPENDS_${PN}-module-cpan += "${PN}-module-b" |
284 | RDEPENDS_${PN}-module-cpan += "${PN}-module-carp" | 284 | RDEPENDS_${PN}-module-cpan += "${PN}-module-carp" |
285 | RDEPENDS_${PN}-module-cpan += "${PN}-module-config" | 285 | RDEPENDS_${PN}-module-cpan += "${PN}-module-config" |
286 | RDEPENDS_${PN}-module-cpan += "${PN}-module-cpan" | ||
287 | RDEPENDS_${PN}-module-cpan += "${PN}-module-cwd" | 286 | RDEPENDS_${PN}-module-cpan += "${PN}-module-cwd" |
288 | RDEPENDS_${PN}-module-cpan += "${PN}-module-data-dumper" | 287 | RDEPENDS_${PN}-module-cpan += "${PN}-module-data-dumper" |
289 | RDEPENDS_${PN}-module-cpan += "${PN}-module-dirhandle" | 288 | RDEPENDS_${PN}-module-cpan += "${PN}-module-dirhandle" |
@@ -885,7 +884,6 @@ RDEPENDS_${PN}-module-fatal += "${PN}-module-autodie-scopeutil" | |||
885 | RDEPENDS_${PN}-module-fatal += "${PN}-module-carp" | 884 | RDEPENDS_${PN}-module-fatal += "${PN}-module-carp" |
886 | RDEPENDS_${PN}-module-fatal += "${PN}-module-config" | 885 | RDEPENDS_${PN}-module-fatal += "${PN}-module-config" |
887 | RDEPENDS_${PN}-module-fatal += "${PN}-module-constant" | 886 | RDEPENDS_${PN}-module-fatal += "${PN}-module-constant" |
888 | RDEPENDS_${PN}-module-fatal += "${PN}-module-fatal" | ||
889 | RDEPENDS_${PN}-module-fatal += "${PN}-module-fcntl" | 887 | RDEPENDS_${PN}-module-fatal += "${PN}-module-fcntl" |
890 | RDEPENDS_${PN}-module-fatal += "${PN}-module-posix" | 888 | RDEPENDS_${PN}-module-fatal += "${PN}-module-posix" |
891 | RDEPENDS_${PN}-module-fatal += "${PN}-module-scalar-util" | 889 | RDEPENDS_${PN}-module-fatal += "${PN}-module-scalar-util" |
@@ -1079,7 +1077,6 @@ RDEPENDS_${PN}-module-i18n-langtags-detect += "${PN}-module-vars" | |||
1079 | RDEPENDS_${PN}-module-i18n-langtags-list += "${PN}-module-strict" | 1077 | RDEPENDS_${PN}-module-i18n-langtags-list += "${PN}-module-strict" |
1080 | RDEPENDS_${PN}-module-i18n-langtags-list += "${PN}-module-vars" | 1078 | RDEPENDS_${PN}-module-i18n-langtags-list += "${PN}-module-vars" |
1081 | RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-exporter" | 1079 | RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-exporter" |
1082 | RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-i18n-langtags" | ||
1083 | RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-strict" | 1080 | RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-strict" |
1084 | RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-vars" | 1081 | RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-vars" |
1085 | RDEPENDS_${PN}-module-io-compress-adapter-bzip2 += "${PN}-module-bytes" | 1082 | RDEPENDS_${PN}-module-io-compress-adapter-bzip2 += "${PN}-module-bytes" |
@@ -1428,7 +1425,6 @@ RDEPENDS_${PN}-module-load += "${PN}-module-filehandle" | |||
1428 | RDEPENDS_${PN}-module-load += "${PN}-module-file-spec" | 1425 | RDEPENDS_${PN}-module-load += "${PN}-module-file-spec" |
1429 | RDEPENDS_${PN}-module-load += "${PN}-module-locale-maketext-simple" | 1426 | RDEPENDS_${PN}-module-load += "${PN}-module-locale-maketext-simple" |
1430 | RDEPENDS_${PN}-module-load += "${PN}-module-corelist" | 1427 | RDEPENDS_${PN}-module-load += "${PN}-module-corelist" |
1431 | RDEPENDS_${PN}-module-load += "${PN}-module-load" | ||
1432 | RDEPENDS_${PN}-module-load += "${PN}-module-params-check" | 1428 | RDEPENDS_${PN}-module-load += "${PN}-module-params-check" |
1433 | RDEPENDS_${PN}-module-load += "${PN}-module-strict" | 1429 | RDEPENDS_${PN}-module-load += "${PN}-module-strict" |
1434 | RDEPENDS_${PN}-module-load += "${PN}-module-vars" | 1430 | RDEPENDS_${PN}-module-load += "${PN}-module-vars" |
@@ -2353,7 +2349,6 @@ RDEPENDS_${PN}-module-test-harness += "${PN}-module-warnings" | |||
2353 | RDEPENDS_${PN}-module-test-more += "${PN}-module-scalar-util" | 2349 | RDEPENDS_${PN}-module-test-more += "${PN}-module-scalar-util" |
2354 | RDEPENDS_${PN}-module-test-more += "${PN}-module-strict" | 2350 | RDEPENDS_${PN}-module-test-more += "${PN}-module-strict" |
2355 | RDEPENDS_${PN}-module-test-more += "${PN}-module-test-builder-module" | 2351 | RDEPENDS_${PN}-module-test-more += "${PN}-module-test-builder-module" |
2356 | RDEPENDS_${PN}-module-test-more += "${PN}-module-test-more" | ||
2357 | RDEPENDS_${PN}-module-test-more += "${PN}-module-warnings" | 2352 | RDEPENDS_${PN}-module-test-more += "${PN}-module-warnings" |
2358 | RDEPENDS_${PN}-module-test += "${PN}-module-carp" | 2353 | RDEPENDS_${PN}-module-test += "${PN}-module-carp" |
2359 | RDEPENDS_${PN}-module-test += "${PN}-module-exporter" | 2354 | RDEPENDS_${PN}-module-test += "${PN}-module-exporter" |