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

Diff of /eclass/distutils.eclass

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

Revision 1.77 Revision 1.78
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 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/distutils.eclass,v 1.77 2010/10/10 19:23:20 arfrever Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/distutils.eclass,v 1.78 2010/12/13 13:36:33 arfrever Exp $
4 4
5# @ECLASS: distutils.eclass 5# @ECLASS: distutils.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Gentoo Python Project <python@gentoo.org> 7# Gentoo Python Project <python@gentoo.org>
8# 8#
68 if [[ "${DISTUTILS_SRC_TEST}" == "nosetests" ]]; then 68 if [[ "${DISTUTILS_SRC_TEST}" == "nosetests" ]]; then
69 IUSE="test" 69 IUSE="test"
70 DEPEND+="${DEPEND:+ }test? ( dev-python/nose )" 70 DEPEND+="${DEPEND:+ }test? ( dev-python/nose )"
71 elif [[ "${DISTUTILS_SRC_TEST}" == "py.test" ]]; then 71 elif [[ "${DISTUTILS_SRC_TEST}" == "py.test" ]]; then
72 IUSE="test" 72 IUSE="test"
73 DEPEND+="${DEPEND:+ }test? ( dev-python/py )" 73 DEPEND+="${DEPEND:+ }test? ( dev-python/pytest )"
74 # trial requires an argument, which is usually equal to "${PN}". 74 # trial requires an argument, which is usually equal to "${PN}".
75 elif [[ "${DISTUTILS_SRC_TEST}" =~ ^trial(\ .*)?$ ]]; then 75 elif [[ "${DISTUTILS_SRC_TEST}" =~ ^trial(\ .*)?$ ]]; then
76 IUSE="test" 76 IUSE="test"
77 DEPEND+="${DEPEND:+ }test? ( dev-python/twisted )" 77 DEPEND+="${DEPEND:+ }test? ( dev-python/twisted )"
78 fi 78 fi

Legend:
Removed from v.1.77  
changed lines
  Added in v.1.78

  ViewVC Help
Powered by ViewVC 1.1.20