From a576d0e636feb2057636f3fb051fe946f35433df Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Fri, 13 Aug 2010 16:52:54 +0200 Subject: Add QA check for libtool libraries in Python site-packages directories. --- bin/misc-functions.sh | 9 +++++++++ 1 file changed, 9 insertions(+) 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} -- cgit v1.2.3-1-g7c22