summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-18 17:01:58 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-01-18 17:06:23 +0000
commit73d84b7f1fbf99c0db30c8ffe4c270e2803203fd (patch)
tree05899472e6c6be773102146bca3fb47f084dcd3b
parentd5db235310067251c66d3e2e160dea68f9b362b4 (diff)
downloadmeta-gplv2-73d84b7f1fbf99c0db30c8ffe4c270e2803203fd.tar.gz
mc: Drop python2 scripts
python2 is now EOL. To keep this old version of mc going, delete the python2 scripts to avoid the dependency. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--recipes-extended/mc/mc_4.7.5.2.bb10
1 files changed, 4 insertions, 6 deletions
diff --git a/recipes-extended/mc/mc_4.7.5.2.bb b/recipes-extended/mc/mc_4.7.5.2.bb
index e26bfd9..5f56641 100644
--- a/recipes-extended/mc/mc_4.7.5.2.bb
+++ b/recipes-extended/mc/mc_4.7.5.2.bb
@@ -23,10 +23,12 @@ EXTRA_OECONF = "--with-screen=ncurses --without-gpm-mouse --without-x --without-
23 23
24do_install_append () { 24do_install_append () {
25 sed -i -e '1s,#!.*perl,#!${bindir}/env perl,' ${D}${libexecdir}/mc/extfs.d/* 25 sed -i -e '1s,#!.*perl,#!${bindir}/env perl,' ${D}${libexecdir}/mc/extfs.d/*
26 sed -i -e '1s,#!.*python,#!${bindir}/env python,' ${D}${libexecdir}/mc/extfs.d/* 26 # These use python2 which is no longer supported
27 rm ${D}${libexecdir}/mc/extfs.d/s3+
28 rm ${D}${libexecdir}/mc/extfs.d/uc1541
27} 29}
28 30
29PACKAGES =+ "${BPN}-helpers-perl ${BPN}-helpers-python ${BPN}-helpers ${BPN}-fish" 31PACKAGES =+ "${BPN}-helpers-perl ${BPN}-helpers ${BPN}-fish"
30 32
31SUMMARY_${BPN}-helpers-perl = "Midnight Commander Perl-based helper scripts" 33SUMMARY_${BPN}-helpers-perl = "Midnight Commander Perl-based helper scripts"
32FILES_${BPN}-helpers-perl = "${libexecdir}/mc/extfs.d/a+ ${libexecdir}/mc/extfs.d/apt+ \ 34FILES_${BPN}-helpers-perl = "${libexecdir}/mc/extfs.d/a+ ${libexecdir}/mc/extfs.d/apt+ \
@@ -37,10 +39,6 @@ FILES_${BPN}-helpers-perl = "${libexecdir}/mc/extfs.d/a+ ${libexecdir}/mc/extfs.
37 ${libexecdir}/mc/extfs.d/uzip" 39 ${libexecdir}/mc/extfs.d/uzip"
38RDEPENDS_${BPN}-helpers-perl = "perl" 40RDEPENDS_${BPN}-helpers-perl = "perl"
39 41
40SUMMARY_${BPN}-helpers-python = "Midnight Commander Python-based helper scripts"
41FILES_${BPN}-helpers-python = "${libexecdir}/mc/extfs.d/s3+ ${libexecdir}/mc/extfs.d/uc1541"
42RDEPENDS_${BPN}-helpers-python = "python"
43
44SUMMARY_${BPN}-helpers = "Midnight Commander shell helper scripts" 42SUMMARY_${BPN}-helpers = "Midnight Commander shell helper scripts"
45FILES_${BPN}-helpers = "${libexecdir}/mc/extfs.d/* ${libexecdir}/mc/ext.d/*" 43FILES_${BPN}-helpers = "${libexecdir}/mc/extfs.d/* ${libexecdir}/mc/ext.d/*"
46 44