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

Diff of /eclass/python.eclass

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

Revision 1.164 Revision 1.165
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2013 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.164 2012/12/20 06:34:57 floppym Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/python.eclass,v 1.165 2013/03/02 12:54:31 mgorny 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
2999 done <<< "${stderr}" 2999 done <<< "${stderr}"
3000 fi 3000 fi
3001 fi 3001 fi
3002 else 3002 else
3003 # Deprecated part of python_mod_optimize() 3003 # Deprecated part of python_mod_optimize()
3004 ewarn
3005 ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation"
3006 ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01."
3007 ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax."
3008 ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported."
3009 ewarn
3010 3004
3011 local myroot mydirs=() myfiles=() myopts=() return_code="0" 3005 local myroot mydirs=() myfiles=() myopts=() return_code="0"
3012 3006
3013 # strip trailing slash 3007 # strip trailing slash
3014 myroot="${EROOT%/}" 3008 myroot="${EROOT%/}"
3164 fi 3158 fi
3165 shift 3159 shift
3166 done 3160 done
3167 else 3161 else
3168 # Deprecated part of python_mod_cleanup() 3162 # Deprecated part of python_mod_cleanup()
3169 ewarn
3170 ewarn "Deprecation Warning: Usage of ${FUNCNAME}() in packages not supporting installation"
3171 ewarn "for multiple Python ABIs in EAPI <=2 is deprecated and will be disallowed on 2011-08-01."
3172 ewarn "Use EAPI >=3 and call ${FUNCNAME}() with paths having appropriate syntax."
3173 ewarn "The ebuild needs to be fixed. Please report a bug, if it has not been already reported."
3174 ewarn
3175 3163
3176 search_paths=("${@#/}") 3164 search_paths=("${@#/}")
3177 search_paths=("${search_paths[@]/#/${root}/}") 3165 search_paths=("${search_paths[@]/#/${root}/}")
3178 fi 3166 fi
3179 3167

Legend:
Removed from v.1.164  
changed lines
  Added in v.1.165

  ViewVC Help
Powered by ViewVC 1.1.20