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

Diff of /eclass/python.eclass

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

Revision 1.111 Revision 1.112
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 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/python.eclass,v 1.111 2011/07/04 10:48:01 djc Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.112 2011/07/04 10:50:28 djc Exp $
4 4
5# @ECLASS: python.eclass 5# @ECLASS: python.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Gentoo Python Project <python@gentoo.org> 7# Gentoo Python Project <python@gentoo.org>
8# @BLURB: Eclass for Python packages 8# @BLURB: Eclass for Python packages
2650 fi 2650 fi
2651 eend "${return_code}" 2651 eend "${return_code}"
2652 fi 2652 fi
2653 else 2653 else
2654 # Deprecated part of python_mod_optimize() 2654 # Deprecated part of python_mod_optimize()
2655 # ewarn 2655 ewarn
2656 # ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation" 2656 ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation"
2657 # ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-06-01." 2657 ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01."
2658 # ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax." 2658 ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax."
2659 # ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported." 2659 ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported."
2660 # ewarn 2660 ewarn
2661 2661
2662 local myroot mydirs=() myfiles=() myopts=() return_code="0" 2662 local myroot mydirs=() myfiles=() myopts=() return_code="0"
2663 2663
2664 # strip trailing slash 2664 # strip trailing slash
2665 myroot="${EROOT%/}" 2665 myroot="${EROOT%/}"
2814 fi 2814 fi
2815 shift 2815 shift
2816 done 2816 done
2817 else 2817 else
2818 # Deprecated part of python_mod_cleanup() 2818 # Deprecated part of python_mod_cleanup()
2819 # ewarn 2819 ewarn
2820 # ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation" 2820 ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation"
2821 # ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-06-01." 2821 ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01."
2822 # ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax." 2822 ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax."
2823 # ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported." 2823 ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported."
2824 # ewarn 2824 ewarn
2825 2825
2826 search_paths=("${@#/}") 2826 search_paths=("${@#/}")
2827 search_paths=("${search_paths[@]/#/${root}/}") 2827 search_paths=("${search_paths[@]/#/${root}/}")
2828 fi 2828 fi
2829 2829

Legend:
Removed from v.1.111  
changed lines
  Added in v.1.112

  ViewVC Help
Powered by ViewVC 1.1.20