Permalink
Browse files

portage-2.3.6-r1: simplify ebuild, patch by Arfrever

  • Loading branch information...
1 parent 6ba223f commit c6941a4c6b12c6145633577bbe7d947508b54463 @angryvincent angryvincent committed Jun 15, 2013
Showing with 1 addition and 8 deletions.
  1. +1 −8 sys-apps/portage/portage-2.3.6-r1.ebuild
@@ -321,15 +321,8 @@ pkg_preinst() {
}
pkg_postinst() {
+ PYTHON_ABIS="$(EPYTHON="${ACTIVE_PYTHON}" "${EPREFIX}/usr/bin/python" -c "${_PYTHON_ABI_EXTRACTION_COMMAND}")" python_mod_optimize --allow-evaluated-non-sitedir-paths '/usr/lib/portage/pym$()'
python_mod_optimize _emerge portage repoman
- bytecompile_main_dir() {
- local EPYTHON
- "${ACTIVE_PYTHON}" -m compileall -f -q "${EROOT}usr/lib/portage/pym"
- if [[ ${ACTIVE_PYTHON} != pypy* ]]; then
- "${ACTIVE_PYTHON}" -O -m compileall -f -q "${EROOT}/usr/lib/portage/pym"
- fi
- }
- bytecompile_main_dir
"${EROOT}usr/lib/portage/bin/pygrade.py"

0 comments on commit c6941a4

Please sign in to comment.