Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 214433 - dev-python/python-mocker-0.10.1 (new ebuild)
Summary: dev-python/python-mocker-0.10.1 (new ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://labix.org/mocker
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2008-03-23 19:58 UTC by Maciej Blizinski
Modified: 2008-08-30 18:21 UTC (History)
4 users (show)

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


Attachments
python-mocker-0.10.1.ebuild (python-mocker-0.10.1.ebuild,526 bytes, text/plain)
2008-03-23 19:59 UTC, Maciej Blizinski
Details
mocker-0.10.1.ebuild (mocker-0.10.1.ebuild,382 bytes, text/plain)
2008-06-01 08:50 UTC, Paweł Hajdan, Jr. (RETIRED)
Details
mocker-0.10.1.ebuild (mocker-0.10.1.ebuild,348 bytes, text/plain)
2008-08-30 15:11 UTC, Maciej Blizinski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Blizinski 2008-03-23 19:58:41 UTC
Ebuild for python-mocker, a Python module for mock objects (used for unit tests).

Reproducible: Always

Steps to Reproduce:
Comment 1 Maciej Blizinski 2008-03-23 19:59:46 UTC
Created attachment 147047 [details]
python-mocker-0.10.1.ebuild
Comment 2 Qiangning Hong 2008-04-22 07:02:45 UTC
why call this "python-mocker"?  it should just be called "mocker", i think.
Comment 3 Maciej Blizinski 2008-06-01 08:31:04 UTC
I feel that 'mocker' is a bit too general name for a specifically Python library. There are mock object libraries for just about any object-oriented language. I like it when package names are non-ambiguous.
Comment 4 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2008-06-01 08:47:12 UTC
Not that this would be in the dev/python category. You don't name the ant package "java-ant", but "dev-java/ant". There is "dev-util/git" and not "dev-util/git-the-version-tracker". Simple is better, IMHO. It also makes the ebuild simpler. ;-)
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2008-06-01 08:50:27 UTC
Created attachment 155063 [details]
mocker-0.10.1.ebuild

Here is my version. What changed:

= simplified (suggested name: dev-python/mocker)
- more descriptive DESCRIPTION :-)
- corrected LICENSE, it's not BSD but PSF-2.2, as the webpage says "Mocker is available under the same license as Python itself"
Comment 6 Dmitry Dzhus 2008-07-30 07:02:21 UTC
(In reply to comment #5)
> Created an attachment (id=155063) [edit]
> - corrected LICENSE, it's not BSD but PSF-2.2, as the webpage says "Mocker is
> available under the same license as Python itself"

Shouldn't it be PSF-2.4 then? 

Comment 7 Maciej Blizinski 2008-08-30 15:11:10 UTC
Created attachment 164124 [details]
mocker-0.10.1.ebuild

- License updated to PSF-2.4
- Description changed to "Mock objects framework for Python"
Comment 8 Rob Cakebread (RETIRED) gentoo-dev 2008-08-30 18:21:32 UTC
Added to CVS.

I added a src_test that passed 400+ unit tests and used the description from setup.py

Thanks for the ebuild, Macjiej and input from everyone.