diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-10 11:55:02 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-10-10 11:55:02 +0000 |
commit | 25f63e6740392ff3ca9bf49113ccf14c59561c9d (patch) | |
tree | 579bcdb801a128ba511de3221af74aa2eea4c4fa /dev-python/mock | |
parent | Merge from Prefix (diff) | |
download | gentoo-2-25f63e6740392ff3ca9bf49113ccf14c59561c9d.tar.gz gentoo-2-25f63e6740392ff3ca9bf49113ccf14c59561c9d.tar.bz2 gentoo-2-25f63e6740392ff3ca9bf49113ccf14c59561c9d.zip |
Set SUPPORT_PYTHON_ABIS. Add "doc" USE flag.
(Portage version: 14556-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/mock')
-rw-r--r-- | dev-python/mock/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/mock/mock-0.6.0.ebuild | 28 |
2 files changed, 28 insertions, 6 deletions
diff --git a/dev-python/mock/ChangeLog b/dev-python/mock/ChangeLog index c8fcc06799d9..866c33843dd4 100644 --- a/dev-python/mock/ChangeLog +++ b/dev-python/mock/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/mock # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/mock/ChangeLog,v 1.1 2009/10/05 22:06:00 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mock/ChangeLog,v 1.2 2009/10/10 11:55:02 arfrever Exp $ + + 10 Oct 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + mock-0.6.0.ebuild: + Set SUPPORT_PYTHON_ABIS. Add "doc" USE flag. *mock-0.6.0 (05 Oct 2009) diff --git a/dev-python/mock/mock-0.6.0.ebuild b/dev-python/mock/mock-0.6.0.ebuild index cad91a9d2314..5a4052a60f0e 100644 --- a/dev-python/mock/mock-0.6.0.ebuild +++ b/dev-python/mock/mock-0.6.0.ebuild @@ -1,18 +1,36 @@ # Copyright 1999-2009 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.1 2009/10/05 22:06:00 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/mock/mock-0.6.0.ebuild,v 1.2 2009/10/10 11:55:02 arfrever Exp $ EAPI="2" +SUPPORT_PYTHON_ABIS="1" inherit distutils DESCRIPTION="Python mocking library using action -> assertion pattern" -SRC_URI="http://www.voidspace.org.uk/downloads/${P}.zip" HOMEPAGE="http://www.voidspace.org.uk/python/mock/" +SRC_URI="http://www.voidspace.org.uk/downloads/${P}.zip" -IUSE="" LICENSE="BSD" SLOT="0" -KEYWORDS="~x86 ~amd64" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND="" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +DOCS="docs/*.txt" + +src_install() { + distutils_src_install + + if use doc; then + dodoc mock.pdf + dohtml -r html/* + fi +} -DEPEND=">=virtual/python-2.4" +pkg_postinst() { + python_mod_optimize mock.py +} |