aboutsummaryrefslogtreecommitdiffstats
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
meta-gplv2-73d84b7f1fbf99c0db30c8ffe4c270e2803203fd.tar.bz2
meta-gplv2-73d84b7f1fbf99c0db30c8ffe4c270e2803203fd.zip
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-
do_install_append () {
sed -i -e '1s,#!.*perl,#!${bindir}/env perl,' ${D}${libexecdir}/mc/extfs.d/*
- sed -i -e '1s,#!.*python,#!${bindir}/env python,' ${D}${libexecdir}/mc/extfs.d/*
+ # These use python2 which is no longer supported
+ rm ${D}${libexecdir}/mc/extfs.d/s3+
+ rm ${D}${libexecdir}/mc/extfs.d/uc1541
}
-PACKAGES =+ "${BPN}-helpers-perl ${BPN}-helpers-python ${BPN}-helpers ${BPN}-fish"
+PACKAGES =+ "${BPN}-helpers-perl ${BPN}-helpers ${BPN}-fish"
SUMMARY_${BPN}-helpers-perl = "Midnight Commander Perl-based helper scripts"
FILES_${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.
${libexecdir}/mc/extfs.d/uzip"
RDEPENDS_${BPN}-helpers-perl = "perl"
-SUMMARY_${BPN}-helpers-python = "Midnight Commander Python-based helper scripts"
-FILES_${BPN}-helpers-python = "${libexecdir}/mc/extfs.d/s3+ ${libexecdir}/mc/extfs.d/uc1541"
-RDEPENDS_${BPN}-helpers-python = "python"
-
SUMMARY_${BPN}-helpers = "Midnight Commander shell helper scripts"
FILES_${BPN}-helpers = "${libexecdir}/mc/extfs.d/* ${libexecdir}/mc/ext.d/*"