From nobody@FreeBSD.org  Wed Jul  7 21:18:11 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1374B106566C
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Jul 2010 21:18:11 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id ECDBC8FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  7 Jul 2010 21:18:10 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o67LIASQ048599
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 7 Jul 2010 21:18:10 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o67LIAEE048598;
	Wed, 7 Jul 2010 21:18:10 GMT
	(envelope-from nobody)
Message-Id: <201007072118.o67LIAEE048598@www.freebsd.org>
Date: Wed, 7 Jul 2010 21:18:10 GMT
From: Jesse Kempf <jkempf@davisvision.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: devel/py-mock Mock unit tests for Python
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         148437
>Category:       ports
>Synopsis:       New port: devel/py-mock Mock unit tests for Python
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 07 21:20:01 UTC 2010
>Closed-Date:    Fri Jul 09 20:53:32 UTC 2010
>Last-Modified:  Fri Jul  9 21:00:12 UTC 2010
>Originator:     Jesse Kempf
>Release:        FreeBSD 7.2
>Organization:
>Environment:
FreeBSD waffle.davisvision.com 7.2-STABLE FreeBSD 7.2-STABLE #1: Mon Nov 23 08:52:01 EST 2009     jkempf@waffle.davisvision.com:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
A Python Mocking and Patching Library for Testing

mock is a Python module that provides a core Mock class. It is intended to
reduce the need for creating a host of trivial stubs throughout your test suite.
After performing an action, you can make assertions about which methods /
attributes were used and arguments they were called with. You can also specify
return values and set needed attributes in the normal way.

WWW:    http://pypi.python.org/pypi/mock

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	py-mock
#	py-mock/pkg-descr
#	py-mock/pkg-plist
#	py-mock/Makefile
#	py-mock/distinfo
#
echo c - py-mock
mkdir -p py-mock > /dev/null 2>&1
echo x - py-mock/pkg-descr
sed 's/^X//' >py-mock/pkg-descr << '4e14dd15319d638e146c0a8db9d76513'
XA Python Mocking and Patching Library for Testing
X
Xmock is a Python module that provides a core Mock class. It is intended to
Xreduce the need for creating a host of trivial stubs throughout your test suite.
XAfter performing an action, you can make assertions about which methods /
Xattributes were used and arguments they were called with. You can also specify
Xreturn values and set needed attributes in the normal way.
X
XWWW:	http://pypi.python.org/pypi/mock
4e14dd15319d638e146c0a8db9d76513
echo x - py-mock/pkg-plist
sed 's/^X//' >py-mock/pkg-plist << '81fdeb0415d8bd96c48b6cedffb81cc3'
X%%PYTHON_SITELIBDIR%%/mock.py
X%%PYTHON_SITELIBDIR%%/mock.pyc
X%%PYTHON_SITELIBDIR%%/mock.pyo
X@dirrmtry %%PYTHON_SITELIBDIR%%
81fdeb0415d8bd96c48b6cedffb81cc3
echo x - py-mock/Makefile
sed 's/^X//' >py-mock/Makefile << 'c714acdcae884a1065dd8d939ee74673'
X# New ports collection makefile for: mock
X# Date created: 7 Jul 2010
X# Whom:			jessekempf@gmail.com
X# $FreeBSD$
X#
X
XPORTNAME= mock
XPORTVERSION= 0.6.0
XCATEGORIES= devel python
XMASTER_SITES= CHEESESHOP
XPKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
X
XMAINTAINER= jessekempf@gmail.com
XCOMMENT= Mock unit tests for Python
X
XUSE_PYTHON= yes
XUSE_PYDISTUTILS= yes
XPYDISTUTILS_PKGNAME = mock
X
X.include <bsd.port.mk>
c714acdcae884a1065dd8d939ee74673
echo x - py-mock/distinfo
sed 's/^X//' >py-mock/distinfo << '4d7ace9f028f31c8c1e683086eb44f06'
XMD5 (mock-0.6.0.tar.gz) = a52c791ebd454a196e1e57b43b493191
XSHA256 (mock-0.6.0.tar.gz) = 739035ceb9cdf5b4f183ea449e59879bc9a6bb4633459dca5f8d06428ebc3d41
XSIZE (mock-0.6.0.tar.gz) = 3143
4d7ace9f028f31c8c1e683086eb44f06
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->freebsd-python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jul 7 21:20:13 UTC 2010 
Responsible-Changed-Why:  
freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148437 
State-Changed-From-To: open->closed 
State-Changed-By: lwhsu 
State-Changed-When: Fri Jul 9 20:53:31 UTC 2010 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=148437 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/148437: commit references a PR
Date: Fri,  9 Jul 2010 20:53:21 +0000 (UTC)

 lwhsu       2010-07-09 20:53:12 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel                Makefile 
   Added files:
     devel/py-mock        Makefile distinfo pkg-descr pkg-plist 
   Log:
   Add py-mock 0.6.0, mock unit tests for Python.
   
   PR:             ports/148437
   Submitted by:   jessekempf at gmail.com
   
   Revision  Changes    Path
   1.3984    +1 -0      ports/devel/Makefile
   1.1       +19 -0     ports/devel/py-mock/Makefile (new)
   1.1       +3 -0      ports/devel/py-mock/distinfo (new)
   1.1       +9 -0      ports/devel/py-mock/pkg-descr (new)
   1.1       +4 -0      ports/devel/py-mock/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
