Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 28A4E7A220 for ; Wed, 22 Feb 2017 14:21:42 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id D0094855CF; Wed, 22 Feb 2017 14:21:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5C5BA85598 for ; Wed, 22 Feb 2017 14:21:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id uaK4Pbx4MG09 for ; Wed, 22 Feb 2017 14:21:40 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id C8DD985596 for ; Wed, 22 Feb 2017 14:21:40 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C731CFBE4; Wed, 22 Feb 2017 14:21:40 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1487773300288750" MIME-Version: 1.0 Date: Wed, 22 Feb 2017 14:21:40 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-testscenarios To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20170222142140.C731CFBE4@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1487773300288750 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Wed Feb 22 14:21:40 UTC 2017 Added Files: pkgsrc/devel/py-testscenarios: DESCR Makefile PLIST distinfo Log Message: Import py-testscenarios-0.5.0 as devel/py-testscenarios. 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). To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-testscenarios/DESCR \ pkgsrc/devel/py-testscenarios/Makefile \ pkgsrc/devel/py-testscenarios/PLIST \ pkgsrc/devel/py-testscenarios/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1487773300288750 Content-Disposition: inline Content-Length: 3694 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/devel/py-testscenarios/DESCR diff -u /dev/null pkgsrc/devel/py-testscenarios/DESCR:1.1 --- /dev/null Wed Feb 22 14:21:40 2017 +++ pkgsrc/devel/py-testscenarios/DESCR Wed Feb 22 14:21:40 2017 @@ -0,0 +1,5 @@ +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). Index: pkgsrc/devel/py-testscenarios/Makefile diff -u /dev/null pkgsrc/devel/py-testscenarios/Makefile:1.1 --- /dev/null Wed Feb 22 14:21:40 2017 +++ pkgsrc/devel/py-testscenarios/Makefile Wed Feb 22 14:21:40 2017 @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2017/02/22 14:21:40 wiz Exp $ + +DISTNAME= testscenarios-0.5.0 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_PYPI:=t/testscenarios/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://pypi.python.org/pypi/testscenarios +COMMENT= Pyunit extension for dependency injection +LICENSE= apache-2.0 OR modified-bsd + +DEPENDS+= ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr +# as of 0.5.0, many failures +# https://github.com/testing-cabal/testscenarios/issues/2 +# TEST_DEPENDS +BUILD_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test +# circular dependency +#BUILD_DEPENDS+= ${PYPKGPREFIX}-testtools-[0-9]*:../../devel/py-testtools + +do-test: + cd ${WRKSRC} && py.test-${PYVERSSUFFIX} + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-testscenarios/PLIST diff -u /dev/null pkgsrc/devel/py-testscenarios/PLIST:1.1 --- /dev/null Wed Feb 22 14:21:40 2017 +++ pkgsrc/devel/py-testscenarios/PLIST Wed Feb 22 14:21:40 2017 @@ -0,0 +1,26 @@ +@comment $NetBSD: PLIST,v 1.1 2017/02/22 14:21:40 wiz Exp $ +${PYSITELIB}/${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/${EGG_INFODIR}/not-zip-safe +${PYSITELIB}/${EGG_INFODIR}/pbr.json +${PYSITELIB}/${EGG_INFODIR}/requires.txt +${PYSITELIB}/${EGG_INFODIR}/top_level.txt +${PYSITELIB}/testscenarios/__init__.py +${PYSITELIB}/testscenarios/__init__.pyc +${PYSITELIB}/testscenarios/__init__.pyo +${PYSITELIB}/testscenarios/scenarios.py +${PYSITELIB}/testscenarios/scenarios.pyc +${PYSITELIB}/testscenarios/scenarios.pyo +${PYSITELIB}/testscenarios/testcase.py +${PYSITELIB}/testscenarios/testcase.pyc +${PYSITELIB}/testscenarios/testcase.pyo +${PYSITELIB}/testscenarios/tests/__init__.py +${PYSITELIB}/testscenarios/tests/__init__.pyc +${PYSITELIB}/testscenarios/tests/__init__.pyo +${PYSITELIB}/testscenarios/tests/test_scenarios.py +${PYSITELIB}/testscenarios/tests/test_scenarios.pyc +${PYSITELIB}/testscenarios/tests/test_scenarios.pyo +${PYSITELIB}/testscenarios/tests/test_testcase.py +${PYSITELIB}/testscenarios/tests/test_testcase.pyc +${PYSITELIB}/testscenarios/tests/test_testcase.pyo Index: pkgsrc/devel/py-testscenarios/distinfo diff -u /dev/null pkgsrc/devel/py-testscenarios/distinfo:1.1 --- /dev/null Wed Feb 22 14:21:40 2017 +++ pkgsrc/devel/py-testscenarios/distinfo Wed Feb 22 14:21:40 2017 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2017/02/22 14:21:40 wiz Exp $ + +SHA1 (testscenarios-0.5.0.tar.gz) = c9eb11775119a1636a07a9f72f1676b6cb4dc7db +RMD160 (testscenarios-0.5.0.tar.gz) = c1c502651021c3067eeb29b67b8be9b03ae37eeb +SHA512 (testscenarios-0.5.0.tar.gz) = f08b868babf504482369c5cb945d3e95bca1cc00f92d5013f6898c488051be0c26dc49aaabcef362aea45450a8d041d9826fb6b5c848beec013fb102d6935521 +Size (testscenarios-0.5.0.tar.gz) = 20951 bytes --_----------=_1487773300288750--