summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-04-24 21:17:20 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-04-24 21:17:20 +0000
commitf0f1acdb39097a05353d184a250fac823f497036 (patch)
tree4b49f84c2306274ea505a99975df82d464595ba2 /dev-python/mock/mock-0.6.0.ebuild
parentAdd layman-dbtools to the mass-mask of live ebuilds. (diff)
downloadhistorical-f0f1acdb39097a05353d184a250fac823f497036.tar.gz
historical-f0f1acdb39097a05353d184a250fac823f497036.tar.bz2
historical-f0f1acdb39097a05353d184a250fac823f497036.zip
Update HOMEPAGE. Fix dependencies.
Package-Manager: portage-HEAD/cvs/Linux x86_64
Diffstat (limited to 'dev-python/mock/mock-0.6.0.ebuild')
-rw-r--r--dev-python/mock/mock-0.6.0.ebuild18
1 files changed, 8 insertions, 10 deletions
diff --git a/dev-python/mock/mock-0.6.0.ebuild b/dev-python/mock/mock-0.6.0.ebuild
index 5a4052a60f0e..8cd440ab4fb4 100644
--- a/dev-python/mock/mock-0.6.0.ebuild
+++ b/dev-python/mock/mock-0.6.0.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/mock/mock-0.6.0.ebuild,v 1.2 2009/10/10 11:55:02 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/mock/mock-0.6.0.ebuild,v 1.3 2010/04/24 21:17:20 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
inherit distutils
-DESCRIPTION="Python mocking library using action -> assertion pattern"
-HOMEPAGE="http://www.voidspace.org.uk/python/mock/"
+DESCRIPTION="A Python Mocking and Patching Library for Testing"
+HOMEPAGE="http://www.voidspace.org.uk/python/mock/ http://pypi.python.org/pypi/mock"
SRC_URI="http://www.voidspace.org.uk/downloads/${P}.zip"
LICENSE="BSD"
@@ -16,11 +17,12 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc"
-DEPEND=""
+DEPEND="app-arch/unzip"
RDEPEND=""
RESTRICT_PYTHON_ABIS="3.*"
DOCS="docs/*.txt"
+PYTHON_MODNAME="mock.py"
src_install() {
distutils_src_install
@@ -30,7 +32,3 @@ src_install() {
dohtml -r html/*
fi
}
-
-pkg_postinst() {
- python_mod_optimize mock.py
-}