diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-01-16 01:09:10 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-01-16 01:09:10 +0000 |
commit | 104db4b5c6b2351a640f7d889d7559432e55598b (patch) | |
tree | 0587d6b2920970f37a9a98a8bd63e63496a91b83 | |
parent | 53eebc32ada636b9fd4a751475a30c4871ad89f5 (diff) | |
download | ports-104db4b5c6b2351a640f7d889d7559432e55598b.tar.gz ports-104db4b5c6b2351a640f7d889d7559432e55598b.zip |
Notes
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-pmock/Makefile | 34 | ||||
-rw-r--r-- | devel/py-pmock/distinfo | 2 | ||||
-rw-r--r-- | devel/py-pmock/pkg-descr | 5 | ||||
-rw-r--r-- | devel/py-pmock/pkg-plist | 6 |
5 files changed, 48 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 125f7a5a88d4..11a70d8a0bfa 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -1232,6 +1232,7 @@ SUBDIR += py-parsing SUBDIR += py-period SUBDIR += py-plex + SUBDIR += py-pmock SUBDIR += py-pqueue SUBDIR += py-psyco SUBDIR += py-px 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%% |