Received: by mail.netbsd.org (Postfix, from userid 605) id 6CD3B84D52; Mon, 20 Apr 2020 14:37:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id E83A484D28 for ; Mon, 20 Apr 2020 14:37:47 +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 EZKwyXYMu4gQ for ; Mon, 20 Apr 2020 14:37:47 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 2B28984D02 for ; Mon, 20 Apr 2020 14:37:47 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 2456BFB27; Mon, 20 Apr 2020 14:37:47 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_158739346782180" MIME-Version: 1.0 Date: Mon, 20 Apr 2020 14:37:47 +0000 From: "Amitai Schleier" Subject: CVS commit: pkgsrc/devel/py-approvaltests To: pkgsrc-changes@NetBSD.org Reply-To: schmonz@netbsd.org X-Mailer: log_accum Message-Id: <20200420143747.2456BFB27@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_158739346782180 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: schmonz Date: Mon Apr 20 14:37:47 UTC 2020 Added Files: pkgsrc/devel/py-approvaltests: DESCR Makefile PLIST distinfo Log Message: Initial import of py-approvaltests, the Python port of an assertion/verification library to aid testing. You can use ApprovalTests to verify objects that require more than a simple assert including long strings, large arrays, and complex hash structures and objects. ApprovalTests really shines when you need a more granular look at the test failure. Sometimes, trying to find a small difference in a long string printed to STDOUT is just too hard! ApprovalTests solves this problem by providing reporters which let you view the test results in one of many popular diff utilities. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-approvaltests/DESCR \ pkgsrc/devel/py-approvaltests/Makefile \ pkgsrc/devel/py-approvaltests/PLIST \ pkgsrc/devel/py-approvaltests/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_158739346782180 Content-Disposition: inline Content-Length: 7047 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/devel/py-approvaltests/DESCR diff -u /dev/null pkgsrc/devel/py-approvaltests/DESCR:1.1 --- /dev/null Mon Apr 20 14:37:47 2020 +++ pkgsrc/devel/py-approvaltests/DESCR Mon Apr 20 14:37:46 2020 @@ -0,0 +1,10 @@ +`approvaltests` is the Python port of ApprovalTests, an open source +assertion/verification library to aid testing. + +You can use ApprovalTests to verify objects that require more than a +simple assert including long strings, large arrays, and complex hash +structures and objects. ApprovalTests really shines when you need a more +granular look at the test failure. Sometimes, trying to find a small +difference in a long string printed to STDOUT is just too hard! +ApprovalTests solves this problem by providing reporters which let you +view the test results in one of many popular diff utilities. Index: pkgsrc/devel/py-approvaltests/Makefile diff -u /dev/null pkgsrc/devel/py-approvaltests/Makefile:1.1 --- /dev/null Mon Apr 20 14:37:47 2020 +++ pkgsrc/devel/py-approvaltests/Makefile Mon Apr 20 14:37:46 2020 @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2020/04/20 14:37:46 schmonz Exp $ + +GITHUB_PROJECT= ApprovalTests.Python +GITHUB_TAG= 0.2.6 +DISTNAME= 0.2.6 +PKGNAME= ${PYPKGPREFIX}-approvaltests-${DISTNAME} +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_GITHUB:=approvals/} +DIST_SUBDIR= ${GITHUB_PROJECT} + +MAINTAINER= schmonz@NetBSD.org +HOMEPAGE= https://approvaltests.com/ +COMMENT= Assertion/verification library to aid testing +LICENSE= apache-2.0 + +DEPENDS+= ${PYPKGPREFIX}-pyperclip>=1.5.27:../../x11/py-pyperclip + +WRKSRC= ${WRKDIR}/ApprovalTests.Python-0.2.6 +USE_LANGUAGES= # none + +.include "../../lang/python/egg.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-approvaltests/PLIST diff -u /dev/null pkgsrc/devel/py-approvaltests/PLIST:1.1 --- /dev/null Mon Apr 20 14:37:47 2020 +++ pkgsrc/devel/py-approvaltests/PLIST Mon Apr 20 14:37:46 2020 @@ -0,0 +1,85 @@ +@comment $NetBSD: PLIST,v 1.1 2020/04/20 14:37:46 schmonz Exp $ +${PYSITELIB}/approvaltests-${EGG_INFODIR}/PKG-INFO +${PYSITELIB}/approvaltests-${EGG_INFODIR}/SOURCES.txt +${PYSITELIB}/approvaltests-${EGG_INFODIR}/dependency_links.txt +${PYSITELIB}/approvaltests-${EGG_INFODIR}/requires.txt +${PYSITELIB}/approvaltests-${EGG_INFODIR}/top_level.txt +${PYSITELIB}/approvaltests/__init__.py +${PYSITELIB}/approvaltests/__init__.pyo +${PYSITELIB}/approvaltests/__init__.pyc +${PYSITELIB}/approvaltests/approval_exception.pyo +${PYSITELIB}/approvaltests/approval_exception.pyc +${PYSITELIB}/approvaltests/approvals.pyo +${PYSITELIB}/approvaltests/approvals.pyc +${PYSITELIB}/approvaltests/asserts.pyo +${PYSITELIB}/approvaltests/asserts.pyc +${PYSITELIB}/approvaltests/combination_approvals.pyo +${PYSITELIB}/approvaltests/combination_approvals.pyc +${PYSITELIB}/approvaltests/command.pyo +${PYSITELIB}/approvaltests/command.pyc +${PYSITELIB}/approvaltests/file_approver.pyo +${PYSITELIB}/approvaltests/file_approver.pyc +${PYSITELIB}/approvaltests/list_utils.pyo +${PYSITELIB}/approvaltests/list_utils.pyc +${PYSITELIB}/approvaltests/reporter_missing_exception.pyo +${PYSITELIB}/approvaltests/reporter_missing_exception.pyc +${PYSITELIB}/approvaltests/string_writer.pyo +${PYSITELIB}/approvaltests/string_writer.pyc +${PYSITELIB}/approvaltests/utils.pyo +${PYSITELIB}/approvaltests/utils.pyc +${PYSITELIB}/approvaltests/version.pyo +${PYSITELIB}/approvaltests/version.pyc +${PYSITELIB}/approvaltests/approval_exception.py +${PYSITELIB}/approvaltests/approvals.py +${PYSITELIB}/approvaltests/asserts.py +${PYSITELIB}/approvaltests/combination_approvals.py +${PYSITELIB}/approvaltests/command.py +${PYSITELIB}/approvaltests/core/__init__.py +${PYSITELIB}/approvaltests/core/__init__.pyo +${PYSITELIB}/approvaltests/core/__init__.pyc +${PYSITELIB}/approvaltests/core/namer.pyo +${PYSITELIB}/approvaltests/core/namer.pyc +${PYSITELIB}/approvaltests/core/reporter.pyo +${PYSITELIB}/approvaltests/core/reporter.pyc +${PYSITELIB}/approvaltests/core/writer.pyo +${PYSITELIB}/approvaltests/core/writer.pyc +${PYSITELIB}/approvaltests/core/namer.py +${PYSITELIB}/approvaltests/core/reporter.py +${PYSITELIB}/approvaltests/core/writer.py +${PYSITELIB}/approvaltests/file_approver.py +${PYSITELIB}/approvaltests/list_utils.py +${PYSITELIB}/approvaltests/reporter_missing_exception.py +${PYSITELIB}/approvaltests/reporters/__init__.py +${PYSITELIB}/approvaltests/reporters/__init__.pyo +${PYSITELIB}/approvaltests/reporters/__init__.pyc +${PYSITELIB}/approvaltests/reporters/clipboard_reporter.pyo +${PYSITELIB}/approvaltests/reporters/clipboard_reporter.pyc +${PYSITELIB}/approvaltests/reporters/diff_reporter.pyo +${PYSITELIB}/approvaltests/reporters/diff_reporter.pyc +${PYSITELIB}/approvaltests/reporters/first_working_reporter.pyo +${PYSITELIB}/approvaltests/reporters/first_working_reporter.pyc +${PYSITELIB}/approvaltests/reporters/generic_diff_reporter.pyo +${PYSITELIB}/approvaltests/reporters/generic_diff_reporter.pyc +${PYSITELIB}/approvaltests/reporters/generic_diff_reporter_factory.pyo +${PYSITELIB}/approvaltests/reporters/generic_diff_reporter_factory.pyc +${PYSITELIB}/approvaltests/reporters/multi_reporter.pyo +${PYSITELIB}/approvaltests/reporters/multi_reporter.pyc +${PYSITELIB}/approvaltests/reporters/python_native_reporter.pyo +${PYSITELIB}/approvaltests/reporters/python_native_reporter.pyc +${PYSITELIB}/approvaltests/reporters/received_file_launcher_reporter.pyo +${PYSITELIB}/approvaltests/reporters/received_file_launcher_reporter.pyc +${PYSITELIB}/approvaltests/reporters/testing_reporter.pyo +${PYSITELIB}/approvaltests/reporters/testing_reporter.pyc +${PYSITELIB}/approvaltests/reporters/clipboard_reporter.py +${PYSITELIB}/approvaltests/reporters/diff_reporter.py +${PYSITELIB}/approvaltests/reporters/first_working_reporter.py +${PYSITELIB}/approvaltests/reporters/generic_diff_reporter.py +${PYSITELIB}/approvaltests/reporters/generic_diff_reporter_factory.py +${PYSITELIB}/approvaltests/reporters/multi_reporter.py +${PYSITELIB}/approvaltests/reporters/python_native_reporter.py +${PYSITELIB}/approvaltests/reporters/received_file_launcher_reporter.py +${PYSITELIB}/approvaltests/reporters/reporters.json +${PYSITELIB}/approvaltests/reporters/testing_reporter.py +${PYSITELIB}/approvaltests/string_writer.py +${PYSITELIB}/approvaltests/utils.py +${PYSITELIB}/approvaltests/version.py Index: pkgsrc/devel/py-approvaltests/distinfo diff -u /dev/null pkgsrc/devel/py-approvaltests/distinfo:1.1 --- /dev/null Mon Apr 20 14:37:47 2020 +++ pkgsrc/devel/py-approvaltests/distinfo Mon Apr 20 14:37:46 2020 @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2020/04/20 14:37:46 schmonz Exp $ + +SHA1 (ApprovalTests.Python/0.2.6.tar.gz) = 02d0720f83c99334c753aae67e622701e11e7a83 +RMD160 (ApprovalTests.Python/0.2.6.tar.gz) = 28391ed9a8204d82636034c19073224d38c57737 +SHA512 (ApprovalTests.Python/0.2.6.tar.gz) = ef9ad8280b43c415d5181b5f3a8fab368aabe1831e681a0fbfabd895ead3231807104a109b943d9d30853dfd3e250cbbd6eff55c8732648d96beabb3aa475303 +Size (ApprovalTests.Python/0.2.6.tar.gz) = 22616 bytes --_----------=_158739346782180--