diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2010-08-13 16:52:54 +0200 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <Arfrever@Gentoo.Org> | 2010-08-13 16:52:54 +0200 |
commit | a576d0e636feb2057636f3fb051fe946f35433df (patch) | |
tree | 509cd3a41729ef9df895e5ad79cd0ac87d80acf3 | |
parent | c33858cc3a7cd510163aa4a406bcf95585807da4 (diff) | |
download | portage-a576d0e636feb2057636f3fb051fe946f35433df.tar.gz portage-a576d0e636feb2057636f3fb051fe946f35433df.tar.bz2 portage-a576d0e636feb2057636f3fb051fe946f35433df.zip |
Add QA check for libtool libraries in Python site-packages directories.
-rwxr-xr-x | bin/misc-functions.sh | 9 |
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} |