Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 231132

Summary: New ebuild: dev-python/pmock-0.3
Product: Gentoo Linux Reporter: Christian Marie (RETIRED) <pingu>
Component: New packagesAssignee: Default Assignee for New Packages <maintainer-wanted>
Status: RESOLVED INVALID    
Severity: enhancement CC: pingu, python
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: pmock-0.3.ebuild
pmock-0.3.ebuild (fixed)

Description Christian Marie (RETIRED) gentoo-dev 2008-07-08 05:47:46 UTC
Hi, ebuild is attached.
Comment 1 Christian Marie (RETIRED) gentoo-dev 2008-07-08 05:49:25 UTC
Created attachment 159855 [details]
pmock-0.3.ebuild
Comment 2 Christian Marie (RETIRED) gentoo-dev 2008-07-08 05:52:46 UTC
Comment on attachment 159855 [details]
pmock-0.3.ebuild

><HTML><HEAD/><BODY><PRE># Copyright 1999-2008 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
>inherit distutils
>
>DESCRIPTION="A Python module for testing using mock objects."
>HOMEPAGE="http://pmock.sourceforge.net/"
>SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
>
>LICENSE="PSF-2.2"
>SLOT="0"
>KEYWORDS="~x86"
>IUSE="doc examples"
>
>DEPEND="&gt;=dev-lang/python-2.3"
>RDEPEND="${DEPEND}"
>
>src_test() {
>	${python} src/unit_tests.py
>	${python} src/acceptance_tests.py
>}
>
>src_install() {
>	distutils_src_install
>
>	if use doc; then
>		dohtml -r doc/*
>	fi
>
>	if use examples; then
>		insinto "/usr/share/doc/${PF}/examples"
>		doins examples/*
>	fi
>}
></PRE></BODY></HTML>
Comment 3 Christian Marie (RETIRED) gentoo-dev 2008-07-08 05:54:21 UTC
Created attachment 159858 [details]
pmock-0.3.ebuild (fixed)
Comment 4 Christian Marie (RETIRED) gentoo-dev 2008-07-08 05:55:34 UTC
Sorry about that, just a couple of superficial changes.
Comment 5 Patrick Lauer gentoo-dev 2009-02-28 19:46:02 UTC
From the website:

""
pMock has not been under active development since mid 2004.

For other suitable mocking frameworks see the Cheescake info on python mock testing tools
""

I don't see a reason to include this at the moment.