diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-03-05 21:33:29 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-03-05 21:33:29 +0000 |
commit | 8fcb6c7826a4bb8b0cab3234d10fc01cdc5a3d1a (patch) | |
tree | 9efe676c34cebcd9d64b8e8f6c6444265d94fbf0 /dev-python/mock | |
parent | Added latest versions. (diff) | |
download | historical-8fcb6c7826a4bb8b0cab3234d10fc01cdc5a3d1a.tar.gz historical-8fcb6c7826a4bb8b0cab3234d10fc01cdc5a3d1a.tar.bz2 historical-8fcb6c7826a4bb8b0cab3234d10fc01cdc5a3d1a.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha26_p6/cvs/Linux x86_64
Diffstat (limited to 'dev-python/mock')
-rw-r--r-- | dev-python/mock/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/mock/mock-0.7.0.ebuild | 38 |
2 files changed, 45 insertions, 1 deletions
diff --git a/dev-python/mock/ChangeLog b/dev-python/mock/ChangeLog index c76c3b020789..7f3db362bc81 100644 --- a/dev-python/mock/ChangeLog +++ b/dev-python/mock/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/mock # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mock/ChangeLog,v 1.14 2011/01/21 15:14:31 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mock/ChangeLog,v 1.15 2011/03/05 21:33:29 arfrever Exp $ + +*mock-0.7.0 (05 Mar 2011) + + 05 Mar 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +mock-0.7.0.ebuild: + Version bump. 21 Jan 2011; Jeroen Roovers <jer@gentoo.org> mock-0.6.0.ebuild: Stable for HPPA (bug #349139). diff --git a/dev-python/mock/mock-0.7.0.ebuild b/dev-python/mock/mock-0.7.0.ebuild new file mode 100644 index 000000000000..d42cf032df04 --- /dev/null +++ b/dev-python/mock/mock-0.7.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mock/mock-0.7.0.ebuild,v 1.1 2011/03/05 21:33:29 arfrever Exp $ + +EAPI="3" +SUPPORT_PYTHON_ABIS="1" +DISTUTILS_SRC_TEST="nosetests" + +inherit distutils + +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="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc test" + +# dev-python/unittest2 is not required with Python >=3.2. +DEPEND="dev-python/setuptools + test? ( dev-python/unittest2 )" +RDEPEND="" + +DOCS="docs/*.txt" +PYTHON_MODNAME="mock.py" + +src_install() { + distutils_src_install + + if use doc; then + pushd html > /dev/null + rm -f objects.inv output.txt + insinto /usr/share/doc/${PF}/html + doins -r [a-z]* _static || die "Installation of documentation failed" + popd > /dev/null + fi +} |