pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-pretend Import py27-pretend-1.0.8 as devel/py...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a5e7838a8db6
branches:  trunk
changeset: 632491:a5e7838a8db6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Mar 31 08:18:37 2014 +0000

description:
Import py27-pretend-1.0.8 as devel/py-pretend.

Pretend is a library to make stubbing with Python easier.

What is stubbing?

Stubbing is a technique for writing tests. You may hear the term
mixed up with mocks, fakes, or doubles. Basically a stub is an
object that returns pre-canned responses, rather than doing any
computation.

diffstat:

 devel/py-pretend/DESCR    |   8 ++++++++
 devel/py-pretend/Makefile |  16 ++++++++++++++++
 devel/py-pretend/PLIST    |   8 ++++++++
 devel/py-pretend/distinfo |   5 +++++
 4 files changed, 37 insertions(+), 0 deletions(-)

diffs (53 lines):

diff -r 6003fe8e109e -r a5e7838a8db6 devel/py-pretend/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pretend/DESCR    Mon Mar 31 08:18:37 2014 +0000
@@ -0,0 +1,8 @@
+Pretend is a library to make stubbing with Python easier.
+
+What is stubbing?
+
+Stubbing is a technique for writing tests. You may hear the term
+mixed up with mocks, fakes, or doubles. Basically a stub is an
+object that returns pre-canned responses, rather than doing any
+computation.
diff -r 6003fe8e109e -r a5e7838a8db6 devel/py-pretend/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pretend/Makefile Mon Mar 31 08:18:37 2014 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2014/03/31 08:18:37 wiz Exp $
+
+DISTNAME=      pretend-1.0.8
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel
+MASTER_SITES=  https://pypi.python.org/packages/source/p/pretend/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://pypi.python.org/pypi/pretend/
+COMMENT=       Library for stubbing in Python
+LICENSE=       modified-bsd
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6003fe8e109e -r a5e7838a8db6 devel/py-pretend/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pretend/PLIST    Mon Mar 31 08:18:37 2014 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2014/03/31 08:18:37 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pretend.py
+${PYSITELIB}/pretend.pyc
+${PYSITELIB}/pretend.pyo
diff -r 6003fe8e109e -r a5e7838a8db6 devel/py-pretend/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pretend/distinfo Mon Mar 31 08:18:37 2014 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/03/31 08:18:37 wiz Exp $
+
+SHA1 (pretend-1.0.8.tar.gz) = 6d45d1d5062ccc7be755385bef19237f857c8380
+RMD160 (pretend-1.0.8.tar.gz) = e6fd189ac513567c92e4bccd5e206680fa040b49
+Size (pretend-1.0.8.tar.gz) = 4848 bytes



Home | Main Index | Thread Index | Old Index