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

Diff of /eclass/distutils.eclass

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

Revision 1.81 Revision 1.82
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/distutils.eclass,v 1.81 2012/01/01 05:02:27 floppym Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.82 2012/03/15 16:51:54 patrick Exp $
4 4
5# @ECLASS: distutils.eclass 5# @ECLASS: distutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Gentoo Python Project <python@gentoo.org> 7# Gentoo Python Project <python@gentoo.org>
8# @BLURB: Eclass for packages with build systems using Distutils 8# @BLURB: Eclass for packages with build systems using Distutils
442 for nspkg_pth_file in "${nspkg_pth_files[@]}"; do 442 for nspkg_pth_file in "${nspkg_pth_files[@]}"; do
443 einfo " '${nspkg_pth_file#${ED%/}}':" 443 einfo " '${nspkg_pth_file#${ED%/}}':"
444 while read -r line; do 444 while read -r line; do
445 einfo " $(echo "${line}" | sed -e "s/.*types\.ModuleType('\([^']\+\)').*/\1/")" 445 einfo " $(echo "${line}" | sed -e "s/.*types\.ModuleType('\([^']\+\)').*/\1/")"
446 done < "${nspkg_pth_file}" 446 done < "${nspkg_pth_file}"
447 if ! has "${EAPI:-0}" 0 1 2 3; then 447 #if ! has "${EAPI:-0}" 0 1 2 3; then
448 rm -f "${nspkg_pth_file}" || die "Deletion of '${nspkg_pth_file}' failed" 448 # rm -f "${nspkg_pth_file}" || die "Deletion of '${nspkg_pth_file}' failed"
449 fi 449 #fi
450 done 450 done
451 einfo 451 einfo
452 fi 452 fi
453 453
454 if [[ -e "${ED}usr/local" ]]; then 454 if [[ -e "${ED}usr/local" ]]; then

Legend:
Removed from v.1.81  
changed lines
  Added in v.1.82

  ViewVC Help
Powered by ViewVC 1.1.20