/[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.7 Revision 1.8
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.7 2012/03/27 15:08:00 mr_bones_ Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/python-distutils-ng.eclass,v 1.8 2012/03/28 14:21:55 marienz 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:
100for impl in ${PYTHON_COMPAT}; do 100for impl in ${PYTHON_COMPAT}; do
101 IUSE+=" python_targets_${impl}" 101 IUSE+=" python_targets_${impl}"
102 dep_str="${impl/_/.}" 102 dep_str="${impl/_/.}"
103 case "${dep_str}" in 103 case "${dep_str}" in
104 python?.?) 104 python?.?)
105 dep_str="dev-lang/python:${impl: -3}" ;; 105 dep_str="dev-lang/python:${dep_str: -3}" ;;
106 jython?.?) 106 jython?.?)
107 dep_str="dev-java/jython:${impl: -3}" ;; 107 dep_str="dev-java/jython:${dep_str: -3}" ;;
108 pypy?.?) 108 pypy?.?)
109 dep_str="dev-python/pypy:${impl: -3}" ;; 109 dep_str="dev-python/pypy:${dep_str: -3}" ;;
110 *) 110 *)
111 die "Unsupported implementation: ${impl}" ;; 111 die "Unsupported implementation: ${impl}" ;;
112 esac 112 esac
113 dep_str="python_targets_${impl}? ( ${dep_str} )" 113 dep_str="python_targets_${impl}? ( ${dep_str} )"
114 114

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20