aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2010-08-13 16:52:54 +0200
committerArfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org>2010-08-13 16:52:54 +0200
commita576d0e636feb2057636f3fb051fe946f35433df (patch)
tree509cd3a41729ef9df895e5ad79cd0ac87d80acf3 /bin/misc-functions.sh
parentAdd QA check for static libraries in Python site-packages directories. (diff)
downloadportage-a576d0e636feb2057636f3fb051fe946f35433df.tar.gz
portage-a576d0e636feb2057636f3fb051fe946f35433df.tar.bz2
portage-a576d0e636feb2057636f3fb051fe946f35433df.zip
Add QA check for libtool libraries in Python site-packages directories.
Diffstat (limited to 'bin/misc-functions.sh')
-rwxr-xr-xbin/misc-functions.sh9
1 files changed, 9 insertions, 0 deletions
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}