pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-approvaltests Update to 0.2.7. From the chang...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e21e1096ccc4
branches:  trunk
changeset: 441323:e21e1096ccc4
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Nov 01 13:52:43 2020 +0000

description:
Update to 0.2.7. From the changelog:

- Run tests on Python 3.8
- Get Windows CRLF line endings into
  VerifyTests.test_verify_file_with_windows_1252_encoding.approved.txt
- Rename testFile.txt to exampleFile.txt to prevent the test framework
  needlessly attempting to load it as source code
- Add handling of text encoding (issue #50), line endings (issue #62),
  and generally improve flexibility for handling multiple platforms
- Add PyTestNamer which uses the 'request' fixture to discover all
  needed info
- Re-distribute functionality between Namer and StackFrameNamer to make
  it easier to subclass
- Split Namer into two classes - added subclass StackFrameNamer
- Added ScenarioNamer for use with Parameterized tests.
- Improve the documentation for users of pytest, and for developers
- Fix crash when namer was configured to use a directory that
  didn't exist
- Add 'verify_xml' function and associated test case

diffstat:

 devel/py-approvaltests/Makefile |    8 +-
 devel/py-approvaltests/PLIST    |  109 +++++++++++++++++++++------------------
 devel/py-approvaltests/distinfo |   10 +-
 3 files changed, 68 insertions(+), 59 deletions(-)

diffs (187 lines):

diff -r 909f67b98124 -r e21e1096ccc4 devel/py-approvaltests/Makefile
--- a/devel/py-approvaltests/Makefile   Sun Nov 01 13:36:36 2020 +0000
+++ b/devel/py-approvaltests/Makefile   Sun Nov 01 13:52:43 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2020/04/20 14:37:46 schmonz Exp $
+# $NetBSD: Makefile,v 1.2 2020/11/01 13:52:43 schmonz Exp $
 
 GITHUB_PROJECT=        ApprovalTests.Python
-GITHUB_TAG=    0.2.6
-DISTNAME=      0.2.6
+GITHUB_TAG=    0.2.7
+DISTNAME=      0.2.7
 PKGNAME=       ${PYPKGPREFIX}-approvaltests-${DISTNAME}
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=approvals/}
@@ -15,7 +15,7 @@
 
 DEPENDS+=      ${PYPKGPREFIX}-pyperclip>=1.5.27:../../x11/py-pyperclip
 
-WRKSRC=                ${WRKDIR}/ApprovalTests.Python-0.2.6
+WRKSRC=                ${WRKDIR}/ApprovalTests.Python-${GITHUB_TAG}
 USE_LANGUAGES= # none
 
 .include "../../lang/python/egg.mk"
diff -r 909f67b98124 -r e21e1096ccc4 devel/py-approvaltests/PLIST
--- a/devel/py-approvaltests/PLIST      Sun Nov 01 13:36:36 2020 +0000
+++ b/devel/py-approvaltests/PLIST      Sun Nov 01 13:52:43 2020 +0000
@@ -1,85 +1,94 @@
-@comment $NetBSD: PLIST,v 1.1 2020/04/20 14:37:46 schmonz Exp $
+@comment $NetBSD: PLIST,v 1.2 2020/11/01 13:52:43 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__.pyc
 ${PYSITELIB}/approvaltests/__init__.pyo
-${PYSITELIB}/approvaltests/__init__.pyc
+${PYSITELIB}/approvaltests/approval_exception.py
+${PYSITELIB}/approvaltests/approval_exception.pyc
 ${PYSITELIB}/approvaltests/approval_exception.pyo
-${PYSITELIB}/approvaltests/approval_exception.pyc
-${PYSITELIB}/approvaltests/approvals.pyo
+${PYSITELIB}/approvaltests/approvals.py
 ${PYSITELIB}/approvaltests/approvals.pyc
+${PYSITELIB}/approvaltests/approvals.pyo
+${PYSITELIB}/approvaltests/asserts.py
+${PYSITELIB}/approvaltests/asserts.pyc
 ${PYSITELIB}/approvaltests/asserts.pyo
-${PYSITELIB}/approvaltests/asserts.pyc
+${PYSITELIB}/approvaltests/combination_approvals.py
+${PYSITELIB}/approvaltests/combination_approvals.pyc
 ${PYSITELIB}/approvaltests/combination_approvals.pyo
-${PYSITELIB}/approvaltests/combination_approvals.pyc
-${PYSITELIB}/approvaltests/command.pyo
+${PYSITELIB}/approvaltests/command.py
 ${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/command.pyo
 ${PYSITELIB}/approvaltests/core/__init__.py
+${PYSITELIB}/approvaltests/core/__init__.pyc
 ${PYSITELIB}/approvaltests/core/__init__.pyo
-${PYSITELIB}/approvaltests/core/__init__.pyc
+${PYSITELIB}/approvaltests/core/namer.py
+${PYSITELIB}/approvaltests/core/namer.pyc
 ${PYSITELIB}/approvaltests/core/namer.pyo
-${PYSITELIB}/approvaltests/core/namer.pyc
+${PYSITELIB}/approvaltests/core/reporter.py
+${PYSITELIB}/approvaltests/core/reporter.pyc
 ${PYSITELIB}/approvaltests/core/reporter.pyo
-${PYSITELIB}/approvaltests/core/reporter.pyc
+${PYSITELIB}/approvaltests/core/scenario_namer.py
+${PYSITELIB}/approvaltests/core/scenario_namer.pyc
+${PYSITELIB}/approvaltests/core/scenario_namer.pyo
+${PYSITELIB}/approvaltests/core/writer.py
+${PYSITELIB}/approvaltests/core/writer.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/file_approver.pyc
+${PYSITELIB}/approvaltests/file_approver.pyo
 ${PYSITELIB}/approvaltests/list_utils.py
+${PYSITELIB}/approvaltests/list_utils.pyc
+${PYSITELIB}/approvaltests/list_utils.pyo
+${PYSITELIB}/approvaltests/pytest/__init__.py
+${PYSITELIB}/approvaltests/pytest/__init__.pyc
+${PYSITELIB}/approvaltests/pytest/__init__.pyo
+${PYSITELIB}/approvaltests/pytest/namer.py
+${PYSITELIB}/approvaltests/pytest/namer.pyc
+${PYSITELIB}/approvaltests/pytest/namer.pyo
 ${PYSITELIB}/approvaltests/reporter_missing_exception.py
+${PYSITELIB}/approvaltests/reporter_missing_exception.pyc
+${PYSITELIB}/approvaltests/reporter_missing_exception.pyo
 ${PYSITELIB}/approvaltests/reporters/__init__.py
+${PYSITELIB}/approvaltests/reporters/__init__.pyc
 ${PYSITELIB}/approvaltests/reporters/__init__.pyo
-${PYSITELIB}/approvaltests/reporters/__init__.pyc
+${PYSITELIB}/approvaltests/reporters/clipboard_reporter.py
+${PYSITELIB}/approvaltests/reporters/clipboard_reporter.pyc
 ${PYSITELIB}/approvaltests/reporters/clipboard_reporter.pyo
-${PYSITELIB}/approvaltests/reporters/clipboard_reporter.pyc
+${PYSITELIB}/approvaltests/reporters/diff_reporter.py
+${PYSITELIB}/approvaltests/reporters/diff_reporter.pyc
 ${PYSITELIB}/approvaltests/reporters/diff_reporter.pyo
-${PYSITELIB}/approvaltests/reporters/diff_reporter.pyc
+${PYSITELIB}/approvaltests/reporters/first_working_reporter.py
+${PYSITELIB}/approvaltests/reporters/first_working_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.py
 ${PYSITELIB}/approvaltests/reporters/generic_diff_reporter.pyc
-${PYSITELIB}/approvaltests/reporters/generic_diff_reporter_factory.pyo
+${PYSITELIB}/approvaltests/reporters/generic_diff_reporter.pyo
+${PYSITELIB}/approvaltests/reporters/generic_diff_reporter_factory.py
 ${PYSITELIB}/approvaltests/reporters/generic_diff_reporter_factory.pyc
-${PYSITELIB}/approvaltests/reporters/multi_reporter.pyo
+${PYSITELIB}/approvaltests/reporters/generic_diff_reporter_factory.pyo
+${PYSITELIB}/approvaltests/reporters/multi_reporter.py
 ${PYSITELIB}/approvaltests/reporters/multi_reporter.pyc
-${PYSITELIB}/approvaltests/reporters/python_native_reporter.pyo
+${PYSITELIB}/approvaltests/reporters/multi_reporter.pyo
+${PYSITELIB}/approvaltests/reporters/python_native_reporter.py
 ${PYSITELIB}/approvaltests/reporters/python_native_reporter.pyc
-${PYSITELIB}/approvaltests/reporters/received_file_launcher_reporter.pyo
+${PYSITELIB}/approvaltests/reporters/python_native_reporter.pyo
+${PYSITELIB}/approvaltests/reporters/received_file_launcher_reporter.py
 ${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/received_file_launcher_reporter.pyo
 ${PYSITELIB}/approvaltests/reporters/reporters.json
 ${PYSITELIB}/approvaltests/reporters/testing_reporter.py
+${PYSITELIB}/approvaltests/reporters/testing_reporter.pyc
+${PYSITELIB}/approvaltests/reporters/testing_reporter.pyo
 ${PYSITELIB}/approvaltests/string_writer.py
+${PYSITELIB}/approvaltests/string_writer.pyc
+${PYSITELIB}/approvaltests/string_writer.pyo
 ${PYSITELIB}/approvaltests/utils.py
+${PYSITELIB}/approvaltests/utils.pyc
+${PYSITELIB}/approvaltests/utils.pyo
 ${PYSITELIB}/approvaltests/version.py
+${PYSITELIB}/approvaltests/version.pyc
+${PYSITELIB}/approvaltests/version.pyo
diff -r 909f67b98124 -r e21e1096ccc4 devel/py-approvaltests/distinfo
--- a/devel/py-approvaltests/distinfo   Sun Nov 01 13:36:36 2020 +0000
+++ b/devel/py-approvaltests/distinfo   Sun Nov 01 13:52:43 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2020/04/20 14:37:46 schmonz Exp $
+$NetBSD: distinfo,v 1.2 2020/11/01 13:52:43 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
+SHA1 (ApprovalTests.Python/0.2.7.tar.gz) = 6e344e8cd183a167ea0fd56d912583b98a97b518
+RMD160 (ApprovalTests.Python/0.2.7.tar.gz) = d26884953131a990040696e8cd266d9db8ecdb3a
+SHA512 (ApprovalTests.Python/0.2.7.tar.gz) = a43c6e3a513cb2dfdf7502ef10579eb3e4f7e7c79825526dd35d2616afdd5d2be800f852e3211f173d7dd9a91262c791c1367a294be4f1c40490aae9c4935506
+Size (ApprovalTests.Python/0.2.7.tar.gz) = 26978 bytes



Home | Main Index | Thread Index | Old Index