aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-22 15:32:43 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-22 15:32:43 -0700
commit2151bbe5d1699b950d72ce7d0ba4363691a19478 (patch)
tree25651cd4002f2c7d81b9c3f679a98d9fb372911a /bin/misc-functions.sh
parentDuring the post src_install QA checks, log to a temporary file (diff)
downloadportage-2151bbe5d1699b950d72ce7d0ba4363691a19478.tar.gz
portage-2151bbe5d1699b950d72ce7d0ba4363691a19478.tar.bz2
portage-2151bbe5d1699b950d72ce7d0ba4363691a19478.zip
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.
Diffstat (limited to 'bin/misc-functions.sh')
-rwxr-xr-xbin/misc-functions.sh29
1 files changed, 0 insertions, 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}