From 2151bbe5d1699b950d72ce7d0ba4363691a19478 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 22 Aug 2010 15:32:43 -0700 Subject: Remove python-oriented checks from install_qa_check() since I'm unsure about these policy decisions being included in portage. Besides, these kinds of things could go in the python eclass. --- bin/misc-functions.sh | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/bin/misc-functions.sh b/bin/misc-functions.sh index 123edc0ec..d8754cd3a 100755 --- a/bin/misc-functions.sh +++ b/bin/misc-functions.sh @@ -542,35 +542,6 @@ install_qa_check() { fi fi - f=$(find "${D}" -name '*.py[co]' | sed "s:${D}:/:") - if [[ -n ${f} ]] ; then - vecho -ne '\a\n' - eqawarn "QA Notice: Byte-compiled Python modules have been found. python_mod_optimize()" - eqawarn " and python_mod_cleanup() functions from python.eclass should be used" - eqawarn " to handle byte-compiled Python modules." - eqawarn "${f}" - vecho -ne '\a\n' - fi - - f=$(find "${D}"usr/lib*/python*/site-packages -name '*.a' 2>/dev/null | sed "s:${D}:/:") - if [[ -n ${f} ]] ; then - vecho -ne '\a\n' - eqawarn "QA Notice: Static libraries have been found in Python site-packages" - eqawarn " directories. Build system should be modified to not generate" - eqawarn " these files and object files generated only for these files." - eqawarn "${f}" - 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