aboutsummaryrefslogtreecommitdiff
path: root/devel/py-pmock
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-16 01:09:10 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-16 01:09:10 +0000
commit104db4b5c6b2351a640f7d889d7559432e55598b (patch)
tree0587d6b2920970f37a9a98a8bd63e63496a91b83 /devel/py-pmock
parent53eebc32ada636b9fd4a751475a30c4871ad89f5 (diff)
downloadports-104db4b5c6b2351a640f7d889d7559432e55598b.tar.gz
ports-104db4b5c6b2351a640f7d889d7559432e55598b.zip
Notes
Diffstat (limited to 'devel/py-pmock')
-rw-r--r--devel/py-pmock/Makefile34
-rw-r--r--devel/py-pmock/distinfo2
-rw-r--r--devel/py-pmock/pkg-descr5
-rw-r--r--devel/py-pmock/pkg-plist6
4 files changed, 47 insertions, 0 deletions
diff --git a/devel/py-pmock/Makefile b/devel/py-pmock/Makefile
new file mode 100644
index 000000000000..8cec085b759e
--- /dev/null
+++ b/devel/py-pmock/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: py-pmock
+# Date created: 2005-01-13
+# Whom: Piet Delport <pjd@satori.za.net>
+#
+# $FreeBSD$
+
+PORTNAME= pmock
+PORTVERSION= 0.3
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= pmock
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Mock object library for Python
+
+USE_PYTHON= 2.3+
+USE_PYDISTUTILS=yes
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= *
+.endif
+
+CPIOFLAGS= --quiet -pdm -R ${SHAREOWN}:${SHAREGRP}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @cd ${WRKSRC}/doc && ${FIND} . | ${CPIO} ${CPIOFLAGS} ${DOCSDIR}
+ @${MKDIR} ${EXAMPLESDIR}
+ @cd ${WRKSRC}/examples && ${FIND} . | ${CPIO} ${CPIOFLAGS} ${EXAMPLESDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/py-pmock/distinfo b/devel/py-pmock/distinfo
new file mode 100644
index 000000000000..0cc1fc6516a5
--- /dev/null
+++ b/devel/py-pmock/distinfo
@@ -0,0 +1,2 @@
+MD5 (pmock-0.3.tar.gz) = 5182497f1d765803dab2d101573d6b40
+SIZE (pmock-0.3.tar.gz) = 59524
diff --git a/devel/py-pmock/pkg-descr b/devel/py-pmock/pkg-descr
new file mode 100644
index 000000000000..83a81d27d88a
--- /dev/null
+++ b/devel/py-pmock/pkg-descr
@@ -0,0 +1,5 @@
+Inspired by the Java jMock library, pMock makes the writing of unit tests
+using mock object techniques easier.
+
+Author: Graham Carlyle (grahamcarlyle@users.sourceforge.net)
+WWW: http://pmock.sourceforge.net/
diff --git a/devel/py-pmock/pkg-plist b/devel/py-pmock/pkg-plist
new file mode 100644
index 000000000000..d0111c4553ba
--- /dev/null
+++ b/devel/py-pmock/pkg-plist
@@ -0,0 +1,6 @@
+%%PYTHON_SITELIBDIR%%/pmock.py
+%%PYTHON_SITELIBDIR%%/pmock.pyc
+%%PYTHON_SITELIBDIR%%/pmock.pyo
+%%PORTDOCS%%%%EXAMPLESDIR%%/errors.py
+%%PORTDOCS%%%%EXAMPLESDIR%%/greeting.py
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%