Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231132 - New ebuild: dev-python/pmock-0.3
Summary: New ebuild: dev-python/pmock-0.3
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Default Assignee for New Packages
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-07-08 05:47 UTC by Christian Marie (RETIRED)
Modified: 2009-02-28 19:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
pmock-0.3.ebuild (pmock-0.3.ebuild,679 bytes, text/plain)
2008-07-08 05:49 UTC, Christian Marie (RETIRED)
Details
pmock-0.3.ebuild (fixed) (pmock-0.3.ebuild,660 bytes, text/plain)
2008-07-08 05:54 UTC, Christian Marie (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
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.