aboutsummaryrefslogtreecommitdiff
path: root/devel/py-testgears
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-01-14 17:31:55 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-01-14 17:31:55 +0000
commit24f6b29c77999f0fe4d56441f5785cd434d71fce (patch)
tree59550e2578968ad1cae83e49bdbf445c0b2a629f /devel/py-testgears
parentcd918b8397470dee5eb6a5cca0aef6fe0c0e1ac5 (diff)
downloadports-24f6b29c77999f0fe4d56441f5785cd434d71fce.tar.gz
ports-24f6b29c77999f0fe4d56441f5785cd434d71fce.zip
Notes
Diffstat (limited to 'devel/py-testgears')
-rw-r--r--devel/py-testgears/Makefile29
-rw-r--r--devel/py-testgears/distinfo3
-rw-r--r--devel/py-testgears/files/pkg-deinstall.in17
-rw-r--r--devel/py-testgears/pkg-descr8
-rw-r--r--devel/py-testgears/pkg-plist2
5 files changed, 59 insertions, 0 deletions
diff --git a/devel/py-testgears/Makefile b/devel/py-testgears/Makefile
new file mode 100644
index 000000000000..517db67aa6d7
--- /dev/null
+++ b/devel/py-testgears/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: py-TestGears
+# Date created: 2006-01-11
+# Whom: Nicola Vitale <nivit@email.it>
+#
+# $FreeBSD$
+#
+
+PORTNAME= TestGears
+PORTVERSION= 0.2
+CATEGORIES= devel python
+MASTER_SITES= http://www.turbogears.org/download/eggs/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+
+MAINTAINER= nivit@email.it
+COMMENT= Python module to run tests written as simple functions
+
+BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
+# need to remove the egg
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+SUB_FILES= pkg-deinstall
+SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} \
+ EGG="${PORTNAME}==${PORTVERSION}"
+
+.include <bsd.port.mk>
diff --git a/devel/py-testgears/distinfo b/devel/py-testgears/distinfo
new file mode 100644
index 000000000000..787d1523a7f3
--- /dev/null
+++ b/devel/py-testgears/distinfo
@@ -0,0 +1,3 @@
+MD5 (TestGears-0.2.tar.gz) = 1911b1555cf8869e14d1f71da590bc0e
+SHA256 (TestGears-0.2.tar.gz) = 13b61e0e86446b34ac9cddb86ca3c9416f53dcfff6845d0156fd717cc45cda29
+SIZE (TestGears-0.2.tar.gz) = 11302
diff --git a/devel/py-testgears/files/pkg-deinstall.in b/devel/py-testgears/files/pkg-deinstall.in
new file mode 100644
index 000000000000..92b4ad53ba82
--- /dev/null
+++ b/devel/py-testgears/files/pkg-deinstall.in
@@ -0,0 +1,17 @@
+#!/bin/sh
+# $FreeBSD$
+PKGNAME=$1
+#
+case $2 in
+ DEINSTALL)
+ easy_install -m -x -D -S %%PYTHON_SITELIBDIR%% %%EGG%%
+ ;;
+ POST-DEINSTALL)
+ exit 0
+ ;;
+ *)
+ echo "Unexpected Argument $2!!!"
+ exit 1
+ ;;
+esac
+exit 0
diff --git a/devel/py-testgears/pkg-descr b/devel/py-testgears/pkg-descr
new file mode 100644
index 000000000000..8fbf0d92f114
--- /dev/null
+++ b/devel/py-testgears/pkg-descr
@@ -0,0 +1,8 @@
+TestGears provides automatic discovery of unittest.TestCases and
+the ability to run tests that are written as simple functions.
+It generates a standard unittest.TestSuite for use with any of
+the standard frontends, and provides a distutils command to run
+tests with zero configuration.
+
+Author: Kevin Dangoor <dangoor+testgears@gmail.com>
+WWW: http://www.turbogears.com/testgears/
diff --git a/devel/py-testgears/pkg-plist b/devel/py-testgears/pkg-plist
new file mode 100644
index 000000000000..0f8298feb33b
--- /dev/null
+++ b/devel/py-testgears/pkg-plist
@@ -0,0 +1,2 @@
+@comment $FreeBSD$
+%%PYTHON_SITELIBDIR%%/TestGears-0.2-py2.4.egg