summaryrefslogtreecommitdiff
path: root/devel/py-pretend
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-03-31 08:18:37 +0000
committerwiz <wiz@pkgsrc.org>2014-03-31 08:18:37 +0000
commit8b85117174bb91e7cb4ab11358b3011c4118a02a (patch)
tree544f3105e8fa2d2f14bea4a5dddb88a63fc55002 /devel/py-pretend
parent9c819c6e0bbf7d8dff182eaf15b47c3f0c73ed5d (diff)
downloadpkgsrc-8b85117174bb91e7cb4ab11358b3011c4118a02a.tar.gz
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 (limited to 'devel/py-pretend')
-rw-r--r--devel/py-pretend/DESCR8
-rw-r--r--devel/py-pretend/Makefile16
-rw-r--r--devel/py-pretend/PLIST8
-rw-r--r--devel/py-pretend/distinfo5
4 files changed, 37 insertions, 0 deletions
diff --git a/devel/py-pretend/DESCR b/devel/py-pretend/DESCR
new file mode 100644
index 00000000000..738a3ef92fa
--- /dev/null
+++ b/devel/py-pretend/DESCR
@@ -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 --git a/devel/py-pretend/Makefile b/devel/py-pretend/Makefile
new file mode 100644
index 00000000000..cac0674c2c5
--- /dev/null
+++ b/devel/py-pretend/Makefile
@@ -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
+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 --git a/devel/py-pretend/PLIST b/devel/py-pretend/PLIST
new file mode 100644
index 00000000000..a2b789d93be
--- /dev/null
+++ b/devel/py-pretend/PLIST
@@ -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 --git a/devel/py-pretend/distinfo b/devel/py-pretend/distinfo
new file mode 100644
index 00000000000..6a50d5a9f1c
--- /dev/null
+++ b/devel/py-pretend/distinfo
@@ -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