Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133091366
D10872.id29095.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D10872.id29095.diff
View Options
Index: devel/Makefile
===================================================================
--- devel/Makefile
+++ devel/Makefile
@@ -4239,6 +4239,7 @@
SUBDIR += py-darts.util.lru
SUBDIR += py-dateutil
SUBDIR += py-dbus
+ SUBDIR += py-ddt
SUBDIR += py-debtcollector
SUBDIR += py-decorator
SUBDIR += py-decoratortools
Index: devel/py-ddt/Makefile
===================================================================
--- devel/py-ddt/Makefile
+++ devel/py-ddt/Makefile
@@ -0,0 +1,27 @@
+# Created by: Carlos J. Puga Medina <cpm@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= ddt
+PORTVERSION= 1.1.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= cpm@FreeBSD.org
+COMMENT= Data-Driven Tests
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose \
+ ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v
+
+.include <bsd.port.mk>
Index: devel/py-ddt/distinfo
===================================================================
--- devel/py-ddt/distinfo
+++ devel/py-ddt/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1495480516
+SHA256 (ddt-1.1.1.tar.gz) = d6dc0fc0ec23c369090456ceaaf8baa43df8171a6906c44e52909edce78c00b0
+SIZE (ddt-1.1.1.tar.gz) = 10021
Index: devel/py-ddt/pkg-descr
===================================================================
--- devel/py-ddt/pkg-descr
+++ devel/py-ddt/pkg-descr
@@ -0,0 +1,5 @@
+DDT (Data-Driven Tests) allows you to multiply one test case by
+running it with different test data, and make it appear as multiple
+test cases.
+
+WWW: http://readthedocs.org/projects/ddt/
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Oct 23, 9:46 PM (20 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24104501
Default Alt Text
D10872.id29095.diff (1 KB)
Attached To
Mode
D10872: [NEW PORT] devel/py-ddt: Data-Driven Tests
Attached
Detach File
Event Timeline
Log In to Comment