Remove python-oriented checks from install_qa_check() since I'm unsure
authorZac Medico <zmedico@gentoo.org>
Sun, 22 Aug 2010 22:32:43 +0000 (15:32 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 22 Aug 2010 22:32:43 +0000 (15:32 -0700)
about these policy decisions being included in portage. Besides, these
kinds of things could go in the python eclass.

bin/misc-functions.sh

index 123edc0ecc4a72078d60acbad08e518346a1b2e4..d8754cd3aef15edf46df562a06b1db30906747ba 100755 (executable)
@@ -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}