From: Arfrever Frehtes Taifersar Arahesis Date: Fri, 13 Aug 2010 14:52:54 +0000 (+0200) Subject: Add QA check for libtool libraries in Python site-packages directories. X-Git-Tag: v2.2_rc68~243^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a576d0e636feb2057636f3fb051fe946f35433df;p=portage.git Add QA check for libtool libraries in Python site-packages directories. --- diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 4e8b1b766..c965495b6 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -558,6 +558,15 @@ install_qa_check() { vecho -ne '\a\n' fi + f=$(find "${D}"usr/lib*/python*/site-packages -name '*.la' 2>/dev/null | sed "s:${D}:/:") + if [[ -n ${f} ]] ; then + vecho -ne '\a\n' + eqawarn "QA Notice: Libtool libraries have been found in Python site-packages" + eqawarn " directories. These files should not be installed." + eqawarn "${f}" + vecho -ne '\a\n' + fi + # Portage regenerates this on the installed system. rm -f "${D}"/usr/share/info/dir{,.gz,.bz2}