pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-approvaltests



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.

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@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"
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



Home | Main Index | Thread Index | Old Index