summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarien Zwart <marienz@gentoo.org>2012-03-28 14:21:55 +0000
committerMarien Zwart <marienz@gentoo.org>2012-03-28 14:21:55 +0000
commitab9e6ee00e00a2c4c868d4fa510b9b1411ff05dc (patch)
treed50d04e92cba93960c4a15c346e855998a036384 /eclass/python-distutils-ng.eclass
parentVersion bump wrt #409863 by Rodrigo Severo <rodrigo@fabricadeideias.com> (diff)
downloadgentoo-2-ab9e6ee00e00a2c4c868d4fa510b9b1411ff05dc.tar.gz
gentoo-2-ab9e6ee00e00a2c4c868d4fa510b9b1411ff05dc.tar.bz2
gentoo-2-ab9e6ee00e00a2c4c868d4fa510b9b1411ff05dc.zip
Try to unbreak dependency generation.
Diffstat (limited to 'eclass/python-distutils-ng.eclass')
-rw-r--r--eclass/python-distutils-ng.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/python-distutils-ng.eclass b/eclass/python-distutils-ng.eclass
index d24cb0ef2226..6a6c75100894 100644
--- a/eclass/python-distutils-ng.eclass
+++ b/eclass/python-distutils-ng.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v 1.7 2012/03/27 15:08:00 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/python-distutils-ng.eclass,v 1.8 2012/03/28 14:21:55 marienz Exp $
# @ECLASS: python-distutils-ng
# @MAINTAINER:
@@ -102,11 +102,11 @@ for impl in ${PYTHON_COMPAT}; do
dep_str="${impl/_/.}"
case "${dep_str}" in
python?.?)
- dep_str="dev-lang/python:${impl: -3}" ;;
+ dep_str="dev-lang/python:${dep_str: -3}" ;;
jython?.?)
- dep_str="dev-java/jython:${impl: -3}" ;;
+ dep_str="dev-java/jython:${dep_str: -3}" ;;
pypy?.?)
- dep_str="dev-python/pypy:${impl: -3}" ;;
+ dep_str="dev-python/pypy:${dep_str: -3}" ;;
*)
die "Unsupported implementation: ${impl}" ;;
esac