From owner-svn-ports-all@freebsd.org Wed Apr 4 18:50:15 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8F195F6BA8B; Wed, 4 Apr 2018 18:50:15 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3F2726AD9D; Wed, 4 Apr 2018 18:50:15 +0000 (UTC) (envelope-from sunpoet@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3A14A179AC; Wed, 4 Apr 2018 18:50:15 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w34IoFCv018800; Wed, 4 Apr 2018 18:50:15 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w34IoE5L018794; Wed, 4 Apr 2018 18:50:14 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201804041850.w34IoE5L018794@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Wed, 4 Apr 2018 18:50:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466453 - in head/devel: . py-testscenarios X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel: . py-testscenarios X-SVN-Commit-Revision: 466453 X-SVN-Commit-Repository: ports 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.25 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, 04 Apr 2018 18:50:15 -0000 Author: sunpoet Date: Wed Apr 4 18:50:14 2018 New Revision: 466453 URL: https://svnweb.freebsd.org/changeset/ports/466453 Log: Add py-testscenarios 0.5.0 Testscenarios provides clean dependency injection for python unittest style tests. This can be used for interface testing (testing many implementations via a single test suite) or for classic dependency injection (provide tests with dependencies externally to the test code itself, allowing easy testing in different situations). WWW: https://pypi.python.org/pypi/testscenarios Added: head/devel/py-testscenarios/ head/devel/py-testscenarios/Makefile (contents, props changed) head/devel/py-testscenarios/distinfo (contents, props changed) head/devel/py-testscenarios/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Apr 4 18:49:27 2018 (r466452) +++ head/devel/Makefile Wed Apr 4 18:50:14 2018 (r466453) @@ -4979,6 +4979,7 @@ SUBDIR += py-testoob SUBDIR += py-testpath SUBDIR += py-testresources + SUBDIR += py-testscenarios SUBDIR += py-testtools SUBDIR += py-threema-msgapi SUBDIR += py-thrift Added: head/devel/py-testscenarios/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-testscenarios/Makefile Wed Apr 4 18:50:14 2018 (r466453) @@ -0,0 +1,26 @@ +# Created by: Po-Chuan Hsieh +# $FreeBSD$ + +PORTNAME= testscenarios +PORTVERSION= 0.5.0 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= PyUnit extension for dependency injection + +LICENSE= APACHE20 BSD3CLAUSE +LICENSE_COMB= dual +LICENSE_FILE_APACHE20= ${WRKSRC}/Apache-2.0 +LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/BSD + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0:devel/py-pbr@${FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0.11:devel/py-pbr@${FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}testtools>=0:devel/py-testtools@${FLAVOR} + +NO_ARCH= yes +USE_PYTHON= autoplist concurrent distutils +USES= python + +.include Added: head/devel/py-testscenarios/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-testscenarios/distinfo Wed Apr 4 18:50:14 2018 (r466453) @@ -0,0 +1,3 @@ +TIMESTAMP = 1522845023 +SHA256 (testscenarios-0.5.0.tar.gz) = c257cb6b90ea7e6f8fef3158121d430543412c9a87df30b5dde6ec8b9b57a2b6 +SIZE (testscenarios-0.5.0.tar.gz) = 20951 Added: head/devel/py-testscenarios/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-testscenarios/pkg-descr Wed Apr 4 18:50:14 2018 (r466453) @@ -0,0 +1,7 @@ +Testscenarios provides clean dependency injection for python unittest style +tests. This can be used for interface testing (testing many implementations via +a single test suite) or for classic dependency injection (provide tests with +dependencies externally to the test code itself, allowing easy testing in +different situations). + +WWW: https://pypi.python.org/pypi/testscenarios