svn commit: r442228 - in head/devel: . py-ddt
Carlos J. Puga Medina
cpm at FreeBSD.org
Wed May 31 17:29:43 UTC 2017
Author: cpm
Date: Wed May 31 17:29:41 2017
New Revision: 442228
URL: https://svnweb.freebsd.org/changeset/ports/442228
Log:
Add new port devel/py-ddt
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/
Differential Revision: https://reviews.freebsd.org/D10872
Added:
head/devel/py-ddt/
head/devel/py-ddt/Makefile (contents, props changed)
head/devel/py-ddt/distinfo (contents, props changed)
head/devel/py-ddt/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Wed May 31 17:29:39 2017 (r442227)
+++ head/devel/Makefile Wed May 31 17:29:41 2017 (r442228)
@@ -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
Added: head/devel/py-ddt/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-ddt/Makefile Wed May 31 17:29:41 2017 (r442228)
@@ -0,0 +1,27 @@
+# Created by: Carlos J. Puga Medina <cpm at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= ddt
+PORTVERSION= 1.1.1
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= cpm at 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>
Added: head/devel/py-ddt/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-ddt/distinfo Wed May 31 17:29:41 2017 (r442228)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1495480516
+SHA256 (ddt-1.1.1.tar.gz) = d6dc0fc0ec23c369090456ceaaf8baa43df8171a6906c44e52909edce78c00b0
+SIZE (ddt-1.1.1.tar.gz) = 10021
Added: head/devel/py-ddt/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py-ddt/pkg-descr Wed May 31 17:29:41 2017 (r442228)
@@ -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/
More information about the svn-ports-head
mailing list