/[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.2 Revision 1.3
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.2 2012/03/26 06:12:53 jlec Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/python-distutils-ng.eclass,v 1.3 2012/03/26 16:24:31 nelchael 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:
103 *) 103 *)
104 die "Unsupported implementation: ${1}" ;; 104 die "Unsupported implementation: ${1}" ;;
105 esac 105 esac
106} 106}
107 107
108required_use_str=" || ( 108required_use_str=""
109 python_targets_python2_5 python_targets_python2_6 python_targets_python2_7 109for impl in ${PYTHON_COMPAT}; do
110 python_targets_python3_1 python_targets_python3_2 110 required_use_str="${required_use_str} python_targets_${impl}"
111 python_targets_jython2_5 111done
112 python_targets_pypy1_7 python_targets_pypy1_8 )" 112required_use_str=" || ( ${required_use_str} )"
113if [[ "${PYTHON_OPTIONAL}" = "yes" ]]; then 113if [[ "${PYTHON_OPTIONAL}" = "yes" ]]; then
114 IUSE+="python" 114 IUSE+="python"
115 REQUIRED_USE+=" python? ( ${required_use_str} )" 115 REQUIRED_USE+=" python? ( ${required_use_str} )"
116else 116else
117 REQUIRED_USE+=" ${required_use_str}" 117 REQUIRED_USE+=" ${required_use_str}"

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20