aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2011-11-04 15:57:35 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2011-11-04 15:57:35 +0000
commitdb49aa1e645b0e53db662711501f006021fa01b0 (patch)
treecdae3635c28d58777a4b4f4634598b3606fef6a5 /devel
parent739492de057ac0946d72821ce4612b3d719df8b9 (diff)
downloadports-db49aa1e645b0e53db662711501f006021fa01b0.tar.gz
ports-db49aa1e645b0e53db662711501f006021fa01b0.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-flexmock/Makefile20
-rw-r--r--devel/py-flexmock/distinfo2
-rw-r--r--devel/py-flexmock/pkg-descr18
-rw-r--r--devel/py-flexmock/pkg-plist3
5 files changed, 44 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e3bf2b797bf5..1dcfd49c7ca2 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3002,6 +3002,7 @@
SUBDIR += py-fileutils
SUBDIR += py-flakes
SUBDIR += py-flask-babel
+ SUBDIR += py-flexmock
SUBDIR += py-fortran
SUBDIR += py-freebsd
SUBDIR += py-fudge
diff --git a/devel/py-flexmock/Makefile b/devel/py-flexmock/Makefile
new file mode 100644
index 000000000000..55135a83999b
--- /dev/null
+++ b/devel/py-flexmock/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: flexmock
+# Date created: 4 Nov 2011
+# Whom: Cheng-Lung Sung <clsung@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= flexmock
+PORTVERSION= 0.8.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= clsung@FreeBSD.org
+COMMENT= Flexmock is a mock/stub/spy library for Python
+
+USE_PYTHON= 2.5+
+USE_PYDISTUTILS= yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-flexmock/distinfo b/devel/py-flexmock/distinfo
new file mode 100644
index 000000000000..95829809781c
--- /dev/null
+++ b/devel/py-flexmock/distinfo
@@ -0,0 +1,2 @@
+SHA256 (flexmock-0.8.1.tar.gz) = 42cce47c1125dbc9b2ad49343d6a1cc2df26de547d089677df298711667ed542
+SIZE (flexmock-0.8.1.tar.gz) = 8009
diff --git a/devel/py-flexmock/pkg-descr b/devel/py-flexmock/pkg-descr
new file mode 100644
index 000000000000..47a143bac3de
--- /dev/null
+++ b/devel/py-flexmock/pkg-descr
@@ -0,0 +1,18 @@
+Flexmock is a mock/stub/spy library for Python.
+
+Its API is inspired by a Ruby library of the same name.
+However, it is not a goal of Python Flexmock to be a clone of
+the Ruby version. Instead, the focus is on providing full support
+for testing Python programs and making the creation of fake
+objects as unobtrusive as possible.
+
+As a result, Python Flexmock removes a number of redandancies in
+the Ruby Flexmock API, alters some defaults, and introduces a
+number of Python-only features.
+
+Flexmock declarations are structured to read more like English
+sentences than API calls, and it is possible to chain them
+together in any order to achieve high degree of expressiveness
+in a single line of code.
+
+WWW: http://has207.github.com/flexmock/
diff --git a/devel/py-flexmock/pkg-plist b/devel/py-flexmock/pkg-plist
new file mode 100644
index 000000000000..9e5d7c3f1ccb
--- /dev/null
+++ b/devel/py-flexmock/pkg-plist
@@ -0,0 +1,3 @@
+%%PYTHON_SITELIBDIR%%/flexmock.py
+%%PYTHON_SITELIBDIR%%/flexmock.pyc
+%%PYTHON_SITELIBDIR%%/flexmock.pyo