diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-11-13 10:05:56 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-11-13 10:05:56 +0000 |
commit | de045a4f7d16b454ffd676964376e95637d1334c (patch) | |
tree | e0e159e5678a39ce47fb7565f1829e18e7591572 /dev-python/mock | |
parent | Bump (diff) | |
download | gentoo-2-de045a4f7d16b454ffd676964376e95637d1334c.tar.gz gentoo-2-de045a4f7d16b454ffd676964376e95637d1334c.tar.bz2 gentoo-2-de045a4f7d16b454ffd676964376e95637d1334c.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 | 7 | ||||
-rw-r--r-- | dev-python/mock/mock-1.0.1.ebuild | 38 |
2 files changed, 44 insertions, 1 deletions
diff --git a/dev-python/mock/ChangeLog b/dev-python/mock/ChangeLog index 7142a2dc7fde..e177c4920b65 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.53 2012/10/30 06:59:26 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mock/ChangeLog,v 1.54 2012/11/13 10:05:56 patrick Exp $ + +*mock-1.0.1 (13 Nov 2012) + + 13 Nov 2012; Patrick Lauer <patrick@gentoo.org> +mock-1.0.1.ebuild: + Bump *mock-1.0.0 (30 Oct 2012) diff --git a/dev-python/mock/mock-1.0.1.ebuild b/dev-python/mock/mock-1.0.1.ebuild new file mode 100644 index 000000000000..ab5f1c15b625 --- /dev/null +++ b/dev-python/mock/mock-1.0.1.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.1.ebuild,v 1.1 2012/11/13 10:05:56 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 +} |