From owner-svn-ports-all@freebsd.org Wed May 31 17:29:43 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5752AB7EE9D; Wed, 31 May 2017 17:29:43 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2735584171; Wed, 31 May 2017 17:29:43 +0000 (UTC) (envelope-from cpm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4VHTgwV048519; Wed, 31 May 2017 17:29:42 GMT (envelope-from cpm@FreeBSD.org) Received: (from cpm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4VHTf6Y048514; Wed, 31 May 2017 17:29:41 GMT (envelope-from cpm@FreeBSD.org) Message-Id: <201705311729.v4VHTf6Y048514@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: cpm set sender to cpm@FreeBSD.org using -f From: "Carlos J. Puga Medina" Date: Wed, 31 May 2017 17:29:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r442228 - in head/devel: . py-ddt X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2017 17:29:43 -0000 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 +# $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 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/