summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-14 17:01:58 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-06-14 17:01:58 +0000
commit24dbeb7b0d9a076865edef68e0c63bc186c30308 (patch)
tree4c24dd00a93087e578e011136ac759d445d5da06 /dev-python/Babel
parentMarked ~x64-macos, bug #323917 (diff)
downloadgentoo-2-24dbeb7b0d9a076865edef68e0c63bc186c30308.tar.gz
gentoo-2-24dbeb7b0d9a076865edef68e0c63bc186c30308.tar.bz2
gentoo-2-24dbeb7b0d9a076865edef68e0c63bc186c30308.zip
Fix dependencies. Simplify src_test().
(Portage version: HEAD/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/Babel')
-rw-r--r--dev-python/Babel/Babel-0.9.5.ebuild22
1 files changed, 9 insertions, 13 deletions
diff --git a/dev-python/Babel/Babel-0.9.5.ebuild b/dev-python/Babel/Babel-0.9.5.ebuild
index a23f828ba5c3..b944743cebcc 100644
--- a/dev-python/Babel/Babel-0.9.5.ebuild
+++ b/dev-python/Babel/Babel-0.9.5.ebuild
@@ -1,15 +1,17 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/Babel/Babel-0.9.5.ebuild,v 1.1 2010/06/14 07:31:29 djc Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/Babel/Babel-0.9.5.ebuild,v 1.2 2010/06/14 17:01:58 arfrever Exp $
-EAPI=2
-SUPPORT_PYTHON_ABIS=1
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.*"
+DISTUTILS_SRC_TEST="setup.py"
inherit distutils
DESCRIPTION="A collection of tools for internationalizing Python applications"
-HOMEPAGE="http://babel.edgewall.org/"
+HOMEPAGE="http://babel.edgewall.org/ http://pypi.python.org/pypi/Babel"
SRC_URI="http://ftp.edgewall.com/pub/babel/${P}.tar.gz"
LICENSE="BSD"
@@ -17,8 +19,9 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE=""
-DEPEND="test? ( dev-python/setuptools )"
-RDEPEND="dev-python/pytz"
+DEPEND="dev-python/pytz
+ dev-python/setuptools"
+RDEPEND="${DEPEND}"
PYTHON_MODNAME="babel"
@@ -27,10 +30,3 @@ src_install() {
dodoc ChangeLog README.txt
dohtml -r doc/*
}
-
-src_test() {
- testing() {
- "$(PYTHON)" setup.py test
- }
- python_execute_function testing
-}