/[gentoo-x86]/eclass/python-distutils-ng.eclass
Gentoo

Diff of /eclass/python-distutils-ng.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.13 Revision 1.14
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/python-distutils-ng.eclass,v 1.13 2012/04/30 09:51:00 nelchael Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/python-distutils-ng.eclass,v 1.14 2012/05/02 21:40:42 floppym Exp $
4 4
5# @ECLASS: python-distutils-ng 5# @ECLASS: python-distutils-ng
6# @MAINTAINER: 6# @MAINTAINER:
7# Python herd <python@gentoo.org> 7# Python herd <python@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
395 for impl in ${PYTHON_COMPAT}; do 395 for impl in ${PYTHON_COMPAT}; do
396 [[ "${PYTHON_DISABLE_COMPILATION}" = "yes" ]] && continue 396 [[ "${PYTHON_DISABLE_COMPILATION}" = "yes" ]] && continue
397 use "python_targets_${impl}" ${PYTHON_COMPAT} || continue 397 use "python_targets_${impl}" ${PYTHON_COMPAT} || continue
398 398
399 PYTHON="$(_python-distutils-ng_get_binary_for_implementation "${impl}")" 399 PYTHON="$(_python-distutils-ng_get_binary_for_implementation "${impl}")"
400 for accessible_path in $(${PYTHON} -c 'import sys; print " ".join(sys.path)'); do 400 for accessible_path in $(${PYTHON} -c 'import sys; print(" ".join(sys.path))'); do
401 [[ -d "${D}/${accessible_path}" ]] || continue 401 [[ -d "${D}/${accessible_path}" ]] || continue
402 402
403 _python-distutils-ng_has_compileall "${impl}" || continue 403 _python-distutils-ng_has_compileall "${impl}" || continue
404 ebegin "Compiling ${accessible_path} for ${impl}" 404 ebegin "Compiling ${accessible_path} for ${impl}"
405 ${PYTHON} \ 405 ${PYTHON} \

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

  ViewVC Help
Powered by ViewVC 1.1.20