summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2016-03-09 18:39:50 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-03-10 23:13:54 +0000
commit82dec4647483caaf8123fb9feea51d67efe2a634 (patch)
tree8e98596e18f5bc171ec296dbe64077d7dc63af34 /meta/recipes-devtools
parent815c36f4173d7c963bf3fb3597fe4494ee73aff1 (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc7
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"
275RDEPENDS_${PN}-module-constant += "${PN}-module-strict" 276RDEPENDS_${PN}-module-constant += "${PN}-module-strict"
276RDEPENDS_${PN}-module-constant += "${PN}-module-warnings-register" 277RDEPENDS_${PN}-module-constant += "${PN}-module-warnings-register"
277RDEPENDS_${PN}-module-corelist += "${PN}-module-list-util" 278RDEPENDS_${PN}-module-corelist += "${PN}-module-list-util"
278RDEPENDS_${PN}-module-corelist += "${PN}-module-corelist"
279RDEPENDS_${PN}-module-corelist += "${PN}-module-strict" 279RDEPENDS_${PN}-module-corelist += "${PN}-module-strict"
280RDEPENDS_${PN}-module-corelist += "${PN}-module-vars" 280RDEPENDS_${PN}-module-corelist += "${PN}-module-vars"
281RDEPENDS_${PN}-module-corelist += "${PN}-module-version" 281RDEPENDS_${PN}-module-corelist += "${PN}-module-version"
@@ -283,7 +283,6 @@ RDEPENDS_${PN}-module-corelist += "${PN}-module-warnings"
283RDEPENDS_${PN}-module-cpan += "${PN}-module-b" 283RDEPENDS_${PN}-module-cpan += "${PN}-module-b"
284RDEPENDS_${PN}-module-cpan += "${PN}-module-carp" 284RDEPENDS_${PN}-module-cpan += "${PN}-module-carp"
285RDEPENDS_${PN}-module-cpan += "${PN}-module-config" 285RDEPENDS_${PN}-module-cpan += "${PN}-module-config"
286RDEPENDS_${PN}-module-cpan += "${PN}-module-cpan"
287RDEPENDS_${PN}-module-cpan += "${PN}-module-cwd" 286RDEPENDS_${PN}-module-cpan += "${PN}-module-cwd"
288RDEPENDS_${PN}-module-cpan += "${PN}-module-data-dumper" 287RDEPENDS_${PN}-module-cpan += "${PN}-module-data-dumper"
289RDEPENDS_${PN}-module-cpan += "${PN}-module-dirhandle" 288RDEPENDS_${PN}-module-cpan += "${PN}-module-dirhandle"
@@ -885,7 +884,6 @@ RDEPENDS_${PN}-module-fatal += "${PN}-module-autodie-scopeutil"
885RDEPENDS_${PN}-module-fatal += "${PN}-module-carp" 884RDEPENDS_${PN}-module-fatal += "${PN}-module-carp"
886RDEPENDS_${PN}-module-fatal += "${PN}-module-config" 885RDEPENDS_${PN}-module-fatal += "${PN}-module-config"
887RDEPENDS_${PN}-module-fatal += "${PN}-module-constant" 886RDEPENDS_${PN}-module-fatal += "${PN}-module-constant"
888RDEPENDS_${PN}-module-fatal += "${PN}-module-fatal"
889RDEPENDS_${PN}-module-fatal += "${PN}-module-fcntl" 887RDEPENDS_${PN}-module-fatal += "${PN}-module-fcntl"
890RDEPENDS_${PN}-module-fatal += "${PN}-module-posix" 888RDEPENDS_${PN}-module-fatal += "${PN}-module-posix"
891RDEPENDS_${PN}-module-fatal += "${PN}-module-scalar-util" 889RDEPENDS_${PN}-module-fatal += "${PN}-module-scalar-util"
@@ -1079,7 +1077,6 @@ RDEPENDS_${PN}-module-i18n-langtags-detect += "${PN}-module-vars"
1079RDEPENDS_${PN}-module-i18n-langtags-list += "${PN}-module-strict" 1077RDEPENDS_${PN}-module-i18n-langtags-list += "${PN}-module-strict"
1080RDEPENDS_${PN}-module-i18n-langtags-list += "${PN}-module-vars" 1078RDEPENDS_${PN}-module-i18n-langtags-list += "${PN}-module-vars"
1081RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-exporter" 1079RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-exporter"
1082RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-i18n-langtags"
1083RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-strict" 1080RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-strict"
1084RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-vars" 1081RDEPENDS_${PN}-module-i18n-langtags += "${PN}-module-vars"
1085RDEPENDS_${PN}-module-io-compress-adapter-bzip2 += "${PN}-module-bytes" 1082RDEPENDS_${PN}-module-io-compress-adapter-bzip2 += "${PN}-module-bytes"
@@ -1428,7 +1425,6 @@ RDEPENDS_${PN}-module-load += "${PN}-module-filehandle"
1428RDEPENDS_${PN}-module-load += "${PN}-module-file-spec" 1425RDEPENDS_${PN}-module-load += "${PN}-module-file-spec"
1429RDEPENDS_${PN}-module-load += "${PN}-module-locale-maketext-simple" 1426RDEPENDS_${PN}-module-load += "${PN}-module-locale-maketext-simple"
1430RDEPENDS_${PN}-module-load += "${PN}-module-corelist" 1427RDEPENDS_${PN}-module-load += "${PN}-module-corelist"
1431RDEPENDS_${PN}-module-load += "${PN}-module-load"
1432RDEPENDS_${PN}-module-load += "${PN}-module-params-check" 1428RDEPENDS_${PN}-module-load += "${PN}-module-params-check"
1433RDEPENDS_${PN}-module-load += "${PN}-module-strict" 1429RDEPENDS_${PN}-module-load += "${PN}-module-strict"
1434RDEPENDS_${PN}-module-load += "${PN}-module-vars" 1430RDEPENDS_${PN}-module-load += "${PN}-module-vars"
@@ -2353,7 +2349,6 @@ RDEPENDS_${PN}-module-test-harness += "${PN}-module-warnings"
2353RDEPENDS_${PN}-module-test-more += "${PN}-module-scalar-util" 2349RDEPENDS_${PN}-module-test-more += "${PN}-module-scalar-util"
2354RDEPENDS_${PN}-module-test-more += "${PN}-module-strict" 2350RDEPENDS_${PN}-module-test-more += "${PN}-module-strict"
2355RDEPENDS_${PN}-module-test-more += "${PN}-module-test-builder-module" 2351RDEPENDS_${PN}-module-test-more += "${PN}-module-test-builder-module"
2356RDEPENDS_${PN}-module-test-more += "${PN}-module-test-more"
2357RDEPENDS_${PN}-module-test-more += "${PN}-module-warnings" 2352RDEPENDS_${PN}-module-test-more += "${PN}-module-warnings"
2358RDEPENDS_${PN}-module-test += "${PN}-module-carp" 2353RDEPENDS_${PN}-module-test += "${PN}-module-carp"
2359RDEPENDS_${PN}-module-test += "${PN}-module-exporter" 2354RDEPENDS_${PN}-module-test += "${PN}-module-exporter"