diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-10-30 06:59:26 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-10-30 06:59:26 +0000 |
commit | 1268478e51a60cb18e67b2a81383b779125b4802 (patch) | |
tree | 502981df24bb3111d3fec77461f1dacecaad73ee /dev-python/mock | |
parent | Added myself to maintainers with floppym's approval. (diff) | |
download | gentoo-2-1268478e51a60cb18e67b2a81383b779125b4802.tar.gz gentoo-2-1268478e51a60cb18e67b2a81383b779125b4802.tar.bz2 gentoo-2-1268478e51a60cb18e67b2a81383b779125b4802.zip |
Bump
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-python/mock')
-rw-r--r-- | dev-python/mock/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/mock/mock-1.0.0.ebuild | 38 |
2 files changed, 44 insertions, 2 deletions
diff --git a/dev-python/mock/ChangeLog b/dev-python/mock/ChangeLog index b44605b2dc4b..7142a2dc7fde 100644 --- a/dev-python/mock/ChangeLog +++ b/dev-python/mock/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/mock # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mock/ChangeLog,v 1.52 2012/06/17 18:43:53 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mock/ChangeLog,v 1.53 2012/10/30 06:59:26 patrick Exp $ + +*mock-1.0.0 (30 Oct 2012) + + 30 Oct 2012; Patrick Lauer <patrick@gentoo.org> +mock-1.0.0.ebuild: + Bump 17 Jun 2012; Raúl Porcel <armin76@gentoo.org> mock-0.8.0.ebuild: alpha/ia64/s390/sh/sparc stable wrt #415855 @@ -172,4 +177,3 @@ +metadata.xml: Initial import of mock. Closes #284741. Thanks to Almad and quantumsummers for ebuild and testing. - diff --git a/dev-python/mock/mock-1.0.0.ebuild b/dev-python/mock/mock-1.0.0.ebuild new file mode 100644 index 000000000000..c7b67f82ca68 --- /dev/null +++ b/dev-python/mock/mock-1.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/mock/mock-1.0.0.ebuild,v 1.1 2012/10/30 06:59:26 patrick 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="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-macos" +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 +} |