Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-approvaltests Initial import of py-approvalte...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ed61ce45e9cb
branches:  trunk
changeset: 429469:ed61ce45e9cb
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Apr 20 14:37:46 2020 +0000

description:
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.

diffstat:

 devel/py-approvaltests/DESCR    |  10 ++++
 devel/py-approvaltests/Makefile |  22 ++++++++++
 devel/py-approvaltests/PLIST    |  85 +++++++++++++++++++++++++++++++++++++++++
 devel/py-approvaltests/distinfo |   6 ++
 4 files changed, 123 insertions(+), 0 deletions(-)

diffs (139 lines):

diff -r 9614d60860d9 -r ed61ce45e9cb devel/py-approvaltests/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-approvaltests/DESCR      Mon Apr 20 14:37:46 2020 +0000
@@ -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.
diff -r 9614d60860d9 -r ed61ce45e9cb devel/py-approvaltests/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-approvaltests/Makefile   Mon Apr 20 14:37:46 2020 +0000
@@ -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@localhost
+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"
diff -r 9614d60860d9 -r ed61ce45e9cb devel/py-approvaltests/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-approvaltests/PLIST      Mon Apr 20 14:37:46 2020 +0000
@@ -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
diff -r 9614d60860d9 -r ed61ce45e9cb devel/py-approvaltests/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-approvaltests/distinfo   Mon Apr 20 14:37:46 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index