head 1.65; access; symbols pkgsrc-2026Q1:1.65.0.4 pkgsrc-2026Q1-base:1.65 pkgsrc-2025Q4:1.65.0.2 pkgsrc-2025Q4-base:1.65 pkgsrc-2025Q3:1.64.0.2 pkgsrc-2025Q3-base:1.64 pkgsrc-2025Q2:1.63.0.16 pkgsrc-2025Q2-base:1.63 pkgsrc-2025Q1:1.63.0.14 pkgsrc-2025Q1-base:1.63 pkgsrc-2024Q4:1.63.0.12 pkgsrc-2024Q4-base:1.63 pkgsrc-2024Q3:1.63.0.10 pkgsrc-2024Q3-base:1.63 pkgsrc-2024Q2:1.63.0.8 pkgsrc-2024Q2-base:1.63 pkgsrc-2024Q1:1.63.0.6 pkgsrc-2024Q1-base:1.63 pkgsrc-2023Q4:1.63.0.4 pkgsrc-2023Q4-base:1.63 pkgsrc-2023Q3:1.63.0.2 pkgsrc-2023Q3-base:1.63 pkgsrc-2023Q2:1.62.0.2 pkgsrc-2023Q2-base:1.62 pkgsrc-2023Q1:1.61.0.2 pkgsrc-2023Q1-base:1.61 pkgsrc-2022Q4:1.57.0.2 pkgsrc-2022Q4-base:1.57 pkgsrc-2022Q3:1.51.0.2 pkgsrc-2022Q3-base:1.51 pkgsrc-2022Q2:1.41.0.2 pkgsrc-2022Q2-base:1.41 pkgsrc-2022Q1:1.36.0.2 pkgsrc-2022Q1-base:1.36 pkgsrc-2021Q4:1.29.0.2 pkgsrc-2021Q4-base:1.29 pkgsrc-2021Q3:1.22.0.2 pkgsrc-2021Q3-base:1.22 pkgsrc-2021Q2:1.17.0.2 pkgsrc-2021Q2-base:1.17 pkgsrc-2021Q1:1.10.0.2 pkgsrc-2021Q1-base:1.10 pkgsrc-2020Q4:1.5.0.2 pkgsrc-2020Q4-base:1.5 pkgsrc-2020Q3:1.1.0.4 pkgsrc-2020Q3-base:1.1 pkgsrc-2020Q2:1.1.0.2 pkgsrc-2020Q2-base:1.1; locks; strict; comment @# @; 1.65 date 2025.10.09.07.57.28; author wiz; state Exp; branches; next 1.64; commitid t4nMY0Dt3rBjSRdG; 1.64 date 2025.07.07.05.58.04; author wiz; state Exp; branches; next 1.63; commitid 7SbUh2xyzdDHeM1G; 1.63 date 2023.07.02.18.32.46; author schmonz; state Exp; branches; next 1.62; commitid 4MvCTR9MZx4u4gvE; 1.62 date 2023.04.11.15.36.22; author schmonz; state Exp; branches; next 1.61; commitid ldap6AkWwBXnJHkE; 1.61 date 2023.03.15.14.07.39; author schmonz; state Exp; branches; next 1.60; commitid Hw5XyXzldmOK6ehE; 1.60 date 2023.03.13.13.56.08; author schmonz; state Exp; branches; next 1.59; commitid WMXRb0wNhiqN6YgE; 1.59 date 2023.02.18.02.00.17; author schmonz; state Exp; branches; next 1.58; commitid 8gnG52qitMt3TWdE; 1.58 date 2023.01.16.18.38.04; author schmonz; state Exp; branches; next 1.57; commitid loR3l9p02ft7tN9E; 1.57 date 2022.12.19.10.39.00; author schmonz; state Exp; branches; next 1.56; commitid DjbCjpxs1xizI96E; 1.56 date 2022.12.12.13.43.14; author schmonz; state Exp; branches; next 1.55; commitid D4MucNZauX1JXg5E; 1.55 date 2022.11.20.22.58.57; author schmonz; state Exp; branches; next 1.54; commitid F1A9ObyNoiPcKu2E; 1.54 date 2022.10.19.11.38.12; author schmonz; state Exp; branches; next 1.53; commitid A8rJoE778UZr0kYD; 1.53 date 2022.10.02.23.45.51; author schmonz; state Exp; branches; next 1.52; commitid kumfJszOW1qXzcWD; 1.52 date 2022.09.28.18.02.26; author schmonz; state Exp; branches; next 1.51; commitid r8VhImszH4N6OEVD; 1.51 date 2022.09.20.13.55.13; author schmonz; state Exp; branches; next 1.50; commitid XDGF1QEp3k5fHBUD; 1.50 date 2022.09.18.11.30.42; author schmonz; state Exp; branches; next 1.49; commitid RUvG2BpS1CEEXkUD; 1.49 date 2022.09.16.17.39.13; author schmonz; state Exp; branches; next 1.48; commitid 5XeaWgK07qc447UD; 1.48 date 2022.09.15.17.56.39; author schmonz; state Exp; branches; next 1.47; commitid MG4J47BWHhg2cZTD; 1.47 date 2022.09.11.19.41.21; author schmonz; state Exp; branches; next 1.46; commitid VzsTBAcVGHxVTtTD; 1.46 date 2022.08.25.18.12.35; author schmonz; state Exp; branches; next 1.45; commitid V9UWSeCzyq3mXhRD; 1.45 date 2022.08.08.11.42.09; author schmonz; state Exp; branches; next 1.44; commitid Ge4TxQoCnXfil4PD; 1.44 date 2022.08.03.16.15.40; author schmonz; state Exp; branches; next 1.43; commitid oIHa7zCnc5t51sOD; 1.43 date 2022.07.22.01.00.24; author schmonz; state Exp; branches; next 1.42; commitid I9rGGjQHqsLZkPMD; 1.42 date 2022.06.29.19.12.18; author schmonz; state Exp; branches; next 1.41; commitid hcto8zirYp5r7YJD; 1.41 date 2022.05.30.20.08.56; author schmonz; state Exp; branches; next 1.40; commitid ihTWt0pDEiwEo7GD; 1.40 date 2022.05.09.14.48.08; author schmonz; state Exp; branches; next 1.39; commitid xpddJ8FF10xrioDD; 1.39 date 2022.04.25.15.11.53; author schmonz; state Exp; branches; next 1.38; commitid sFL7NoamjbEuSABD; 1.38 date 2022.04.07.17.29.26; author schmonz; state Exp; branches; next 1.37; commitid bpPSHoEva3EydizD; 1.37 date 2022.03.28.15.57.19; author schmonz; state Exp; branches; next 1.36; commitid niA3TKKZghZS10yD; 1.36 date 2022.03.01.15.58.00; author schmonz; state Exp; branches; next 1.35; commitid nvm23lU9rsbVTwuD; 1.35 date 2022.02.21.11.02.13; author schmonz; state Exp; branches; next 1.34; commitid xfTCT1s7N9zowttD; 1.34 date 2022.02.14.12.02.35; author schmonz; state Exp; branches; next 1.33; commitid jdAHjYPp5kO35AsD; 1.33 date 2022.01.30.22.38.02; author wiz; state Exp; branches; next 1.32; commitid 8K1qd1bX0KuO4IqD; 1.32 date 2022.01.30.22.23.59; author schmonz; state Exp; branches; next 1.31; commitid bD2O4aBSoQD70IqD; 1.31 date 2022.01.24.07.27.41; author schmonz; state Exp; branches; next 1.30; commitid dJAQlqAmhRvBeRpD; 1.30 date 2022.01.04.20.52.49; author wiz; state Exp; branches; next 1.29; commitid CYyhdK9qtoffkmnD; 1.29 date 2021.12.22.18.19.39; author schmonz; state Exp; branches; next 1.28; commitid fPKXOegF8ZI1UFlD; 1.28 date 2021.12.15.10.06.25; author schmonz; state Exp; branches; next 1.27; commitid 6i08fu1BMMRDoJkD; 1.27 date 2021.12.15.09.34.12; author schmonz; state Exp; branches; next 1.26; commitid 1KY5vPWGjfuHdJkD; 1.26 date 2021.12.15.09.08.40; author schmonz; state Exp; branches; next 1.25; commitid 4rUnY6WjCbeX4JkD; 1.25 date 2021.11.22.09.49.38; author schmonz; state Exp; branches; next 1.24; commitid mepiY7OU6uwQ2MhD; 1.24 date 2021.10.11.06.04.08; author schmonz; state Exp; branches; next 1.23; commitid TGHZEs9ZlKNb9mcD; 1.23 date 2021.09.29.10.09.04; author schmonz; state Exp; branches; next 1.22; commitid UCKnJxbk0A98TPaD; 1.22 date 2021.09.20.18.14.01; author schmonz; state Exp; branches; next 1.21; commitid 9s5EIsfb8fVqRI9D; 1.21 date 2021.08.23.09.14.37; author schmonz; state Exp; branches; next 1.20; commitid wczucNM6h3BbM46D; 1.20 date 2021.07.21.13.42.14; author schmonz; state Exp; branches; next 1.19; commitid vjbs0RFdW1GLjR1D; 1.19 date 2021.06.28.20.32.11; author schmonz; state Exp; branches; next 1.18; commitid 1YFBEQhLMMGekWYC; 1.18 date 2021.06.23.18.20.17; author schmonz; state Exp; branches; next 1.17; commitid gV4rZZp6gEAXKhYC; 1.17 date 2021.05.24.10.16.13; author schmonz; state Exp; branches; next 1.16; commitid Gc1reJIJ8XjG2oUC; 1.16 date 2021.05.17.15.58.04; author schmonz; state Exp; branches; next 1.15; commitid 6cYKsR62X4WT9wTC; 1.15 date 2021.05.10.09.00.02; author schmonz; state Exp; branches; next 1.14; commitid DTdHGZSAS9fr4ASC; 1.14 date 2021.05.02.18.51.09; author schmonz; state Exp; branches; next 1.13; commitid RAsVyzMULfabBBRC; 1.13 date 2021.04.20.13.47.45; author schmonz; state Exp; branches; next 1.12; commitid jUnjlrCWmlr0j2QC; 1.12 date 2021.04.11.18.07.49; author schmonz; state Exp; branches; next 1.11; commitid Ib10kYhPLnP92UOC; 1.11 date 2021.04.05.19.13.59; author schmonz; state Exp; branches; next 1.10; commitid mkj3le7CbYxOA8OC; 1.10 date 2021.03.22.09.24.50; author schmonz; state Exp; branches; next 1.9; commitid KeSszZmtdlbBMhMC; 1.9 date 2021.03.14.19.01.33; author schmonz; state Exp; branches; next 1.8; commitid eqeZJon7edUnejLC; 1.8 date 2021.02.12.07.57.00; author schmonz; state Exp; branches; next 1.7; commitid JFLHgSasiQK7woHC; 1.7 date 2021.02.01.20.38.12; author schmonz; state Exp; branches; next 1.6; commitid 8kGqiV6wnp6g53GC; 1.6 date 2021.01.11.15.28.47; author schmonz; state Exp; branches; next 1.5; commitid 3DfSHAWDN8DX2kDC; 1.5 date 2020.12.04.09.25.25; author adam; state Exp; branches; next 1.4; commitid kXwOiVmIpglYfpyC; 1.4 date 2020.11.16.07.54.13; author schmonz; state Exp; branches; next 1.3; commitid IfQihqA6hYvCk5wC; 1.3 date 2020.11.12.23.53.54; author adam; state Exp; branches; next 1.2; commitid DtSbox0j0A9MLEvC; 1.2 date 2020.11.01.13.52.43; author schmonz; state Exp; branches; next 1.1; commitid EzNba07Hi1MuNbuC; 1.1 date 2020.04.20.14.37.46; author schmonz; state Exp; branches; next ; commitid HYC9NQ9SPJ4gj85C; desc @@ 1.65 log @*: remove reference to (removed) Python 3.9 @ text @# $NetBSD: Makefile,v 1.64 2025/07/07 05:58:04 wiz Exp $ DISTNAME= approvaltests-8.3.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=a/approvaltests/} MAINTAINER= schmonz@@NetBSD.org HOMEPAGE= https://approvaltests.com/ COMMENT= Assertion/verification library to aid testing LICENSE= apache-2.0 DEPENDS+= ${PYPKGPREFIX}-allpairspy>=2.1.0:../../devel/py-allpairspy DEPENDS+= ${PYPKGPREFIX}-approval-utilities>=${PKGVERSION_NOREV}:../../devel/py-approval-utilities DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4>=4.4.0:../../www/py-beautifulsoup4 DEPENDS+= ${PYPKGPREFIX}-empty-files>=0.0.3:../../devel/py-empty-files # mrjob >= 0.7.4 (prod.extras) .include "options.mk" TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test # This is the officially documented method, but not all necessary files # are in the pypi distfile (as of 3.5.0) #TEST_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox #do-test: # cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m tox USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 310 .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" @ 1.64 log @*: mark more packages as not for Python<3.11 From shadow x86_64 bulk build @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.63 2023/07/02 18:32:46 schmonz Exp $ d31 1 a31 1 PYTHON_VERSIONS_INCOMPATIBLE= 39 310 @ 1.63 log @Update to 8.3.1. From the changelog: - Added executable commands, plus fixed bugs with import statements @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.62 2023/04/11 15:36:22 schmonz Exp $ d31 1 a31 1 PYTHON_VERSIONS_INCOMPATIBLE= 27 @ 1.62 log @Update to 8.2.5. From the changelog: - Removed all linting errors @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.61 2023/03/15 14:07:39 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-8.2.5 @ 1.61 log @Update to 8.2.4. From the changelog: - Build fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.60 2023/03/13 13:56:08 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-8.2.4 d14 1 a14 1 DEPENDS+= ${PYPKGPREFIX}-approval-utilities>=8.2.4:../../devel/py-approval-utilities @ 1.60 log @Update to 8.2.1. From the changelog: - Move version.py to allow ApprovalUtilities to use it @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.59 2023/02/18 02:00:17 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-8.2.1 d14 1 a14 1 DEPENDS+= ${PYPKGPREFIX}-approval-utilities>=8.2.1:../../devel/py-approval-utilities @ 1.59 log @Update to 8.2.0. From the changelog: - updated assert_equal_with_reporter(expected, actual) to take options matching current patterns of approvaltests @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.58 2023/01/16 18:38:04 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-8.2.0 d14 1 a14 1 DEPENDS+= ${PYPKGPREFIX}-approval-utilities>=8.2.0:../../devel/py-approval-utilities @ 1.58 log @Update to 8.1.0. From the changelog: - create_line_scrubber: Easy way to remove entire lines based on a keyword. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.57 2022/12/19 10:39:00 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-8.1.0 d14 1 a14 1 DEPENDS+= ${PYPKGPREFIX}-approval-utilities>=7.4.0:../../devel/py-approval-utilities @ 1.57 log @Update to 8.0.0. From the changelog: - Rename 'Throttle' to 'Limit' @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.56 2022/12/12 13:43:14 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-8.0.0 @ 1.56 log @Update to 7.4.0. From the changelog: Throttling of reporters after 5: - To avoid too many diff tools being launched, ApprovalTests will stop launching after the 5th time. This is configurable in GenericDiffReporter.throttling_threshold @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.55 2022/11/20 22:58:57 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-7.4.0 @ 1.55 log @Update to 7.3.0. From the changelog: MrJobApprovals accepts options: - MrJobApprovals mistakenly did not allow you to pass options. It does now. This is an api change, hence the minor version bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.54 2022/10/19 11:38:12 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-7.3.0 d14 1 a14 1 DEPENDS+= ${PYPKGPREFIX}-approval-utilities-[0-9]*:../../devel/py-approval-utilities @ 1.54 log @Update to 7.2.0. From the changelog: 7.0.0: Breaking Change: - approval_utilities is becoming its own pypi package to allow usage in production code. 7.1.0: Command Line Approvals: - You can now easily verify command line outputs. You can also pass inputs into the command line under test, including Iterables. This allows you to easily test non-python programs from ApprovalTests. 7.2.0: - You can invoke a verify() call from the command line. This allows invoking python approvals from any other stack via subprocesses. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.53 2022/10/02 23:45:51 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-7.2.0 @ 1.53 log @Update to 6.2.0. From the changelog: DateScrubber: - You can now easily create a date scrubber. SimpleLogger log_to_string is thread safe: - log_to_string, by default, now will log 1 string per thread. Allowing multithreaded testing @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.52 2022/09/28 18:02:26 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-6.2.0 d13 5 a17 3 DEPENDS+= ${PYPKGPREFIX}-allpairspy-[0-9]*:../../devel/py-allpairspy DEPENDS+= ${PYPKGPREFIX}-beautifulsoup4-[0-9]*:../../www/py-beautifulsoup4 DEPENDS+= ${PYPKGPREFIX}-empty-files-[0-9]*:../../devel/py-empty-files @ 1.52 log @Update to 6.1.0. From the changelog: 6.0.0: Breaking changes: - use markers text has changed to reduce clutter, this will break previous tests. Simple Logger useMarkers prints parameters: - You can log parameter values on entrance and exit of a method 6.1.0: Extra utilities: - verify_simple_logger - verify_storyboard - use_utc_timezone() - allow easy testing of datetimes by forcing Timezone while in test @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 2022/09/20 13:55:13 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-6.1.0 @ 1.51 log @Update to 5.13.0. From the changelog: FileCaptureReporter and as CI specific test: - Mechanisms for capturing differences that occur on CI and allowing those differences to coexist. Simple Logger - Improvement: - .variable() indents lists correctly - .variable(list, show_types=True) includes types in output - .use_markers() handle exceptions being thrown in method - run_all_combinations() - verify_logging_for_all_combinations() @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2022/09/18 11:30:42 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.13.0 @ 1.50 log @Update to 5.11.0. From the changelog: Simple Logger - Minor Improvements - SimpleLogger._logger renamed to private - SimpleLogger.register_logger - variable has optional parameter: show_types @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2022/09/16 17:39:13 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.11.0 @ 1.49 log @Update to 5.10.0. From the changelog: Simple Logger: - Added convenience functions for warnings and variables - Warnings print the stack trace - Variables will handle lists and print out each element in the list @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2022/09/15 17:56:39 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.10.0 @ 1.48 log @Update to 5.9.0. From the changelog: - Minor fixes for publishing - Small publishing fixes for minimal-approvaltests - Added basic Simple Logger functionality - Added Simple Logger timestamps and toggles and other convenience methods @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2022/09/11 19:41:21 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.9.0 @ 1.47 log @Update to 5.7.1. From the changelog: - bug fix for reporter order: will preference VScode over diff command line. - added VSCode Reporter, a reporter to launch a visual diff in VS Code, this requires code is accessible from the command line. - If you are using Gitpod in the browser, approvaltests will open a diff view in your browser. - Fixes Python Native Reporter to be the default reporter; if no other reporters are found on your machine, PythonNative reporter will be used. This means that the approval tests library will print a diff on an unconfigured machine. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2022/08/25 18:12:35 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.7.1 @ 1.46 log @Update to 5.6.0. From the changelog: You can now test MRJob map reductions, customize the map reduce job for different combinations of parameters, and optionally use a dictionary (instead of a list) to get named values if you have a lot of parameters. Works with Async Tests. Pytest Async tests no longer throw naming exceptions. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2022/08/08 11:42:09 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.6.0 @ 1.45 log @Update to 5.4.1. From the changelog: Refactoring setup infrastructure: there should be no visible effects from this release. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2022/08/03 16:15:40 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.4.1 @ 1.44 log @Update to 5.4.0. From the changelog: Custom Formatters - You can now register_formatter that will match types of data, and print prettier output using verify(data) note: we also registered a formatter for argparse.Namespace @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2022/07/22 01:00:24 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.4.0 @ 1.43 log @Update to 5.3.1. From the changelog: Allow minimal imports by lazy loading dependencies. The following dependencies are only needed if used: - BeautifulSoup4 in verify_html - allpairspy in pairwise approvals - pyperclip in clipboard reporter pkgsrc changes: - Add an 'x11' option, off by default, to control the pyperclip dependency. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2022/06/29 19:12:18 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.3.1 @ 1.42 log @Update to 5.3.0. From the changelog: - Added markdown tables @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2022/05/30 20:08:56 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.3.0 d16 2 a17 1 DEPENDS+= ${PYPKGPREFIX}-pyperclip>=1.5.27:../../x11/py-pyperclip @ 1.41 log @Update to 5.2.0. From the changelog: - Better support for multiple approvals per test - Added `verify_exception` - Exception utilities - Options supports `with_namer` - You can now create Verifiable objects, which know how to verify themselves - Also added remove_indentation_from. - Note: this breaks backwards compatibility with 5.1.0 by moving `multiline_string_utils` into a new namespace (`approvals/utilities`) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2022/05/09 14:48:08 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.2.0 @ 1.40 log @Update to 5.0.2. From the changelog: - Better init.py for backwards compatibility - PythonNativeReporter + PythonNative will resolve from ReporterFactory @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2022/04/25 15:11:53 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.0.2 @ 1.39 log @Update to 5.0.1. From the changelog: - Fixed a few pylint complaints @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2022/04/07 17:29:26 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.0.1 @ 1.38 log @Update to 5.0.0. From the changelog: These changes are only breaking if you extend the Namer classes. # Namer/NamerBase Namer is now a pure interface and the abstract parts have been moved to NamerBase. Fix: If you are extending approvaltests.core.Namer you will probably want to extend approvaltests.namer.NamerBase. # StackFrameNamer renames - Directory -> directory - MethodName -> method_name - ClassName -> class_name @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2022/03/28 15:57:19 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-5.0.0 @ 1.37 log @Update to 4.1.0. From the changelog: - verify_best_covering_pairs works the same as verify_all_combinations but with a much smaller set in some cases: @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2022/03/01 15:58:00 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-4.1.0 @ 1.36 log @Update to 4.0.0. From the changelog: Scrubbing Existing Files. Breaking Features: - verify_file() will now scrub it if a scrubber is attached. Note: If you scrub an existing file, it will be written as UTF8, instead of its existing encoding - Removed Deprecated method verify_file_with_encoding(), NOTE: if you call verify_file() instead, your code will work as before @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2022/02/21 11:02:13 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-4.0.0 d13 1 @ 1.35 log @Update to 3.7.0. From the changelog: Options.withComparator: You can now inject a custom comparator to check if two files are equivalent. Minor bug fix: delete_approve file will not explode if the file does not exist. Minor bug fix: options are passed down the stack where they were not previously being used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2022/02/14 12:02:35 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-3.7.0 @ 1.34 log @Update to 3.6.0. From the changelog: Introduction Reporter: by default, if you haven't set up any DiffTools, a friendly message pointing you to documentation about reports will be printed to your console. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2022/01/30 22:38:02 wiz Exp $ d3 1 a3 1 DISTNAME= approvaltests-3.6.0 @ 1.33 log @py-approvaltest: use proper name for beautifulsoup4 in requirements Document test (dependency) status @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2022/01/30 22:23:59 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-3.5.0 @ 1.32 log @Update to 3.5.0. From the changelog: - Added scrubbers.combine_scrubbers - Fix minor bugs in scrubber templates - Fix clipboard command to work with powershell @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2022/01/24 07:27:41 schmonz Exp $ d18 3 a21 1 d23 1 a23 1 # (cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHONBIN} -m tox) @ 1.31 log @Update to 3.4.0. From the changelog: - Add ReporterThatAutomaticallyApproves, for easy approval of many files. - Add delete_approved_file() @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2022/01/04 20:52:49 wiz Exp $ d3 1 a3 1 DISTNAME= approvaltests-3.4.0 @ 1.30 log @*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2021/12/22 18:19:39 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-3.3.2 a4 1 PKGREVISION= 1 @ 1.29 log @Update to 3.3.2. From the changelog: - Fixing bug with deployed package missing version_number @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2021/12/15 10:06:25 schmonz Exp $ d5 1 @ 1.28 log @Since this package is 3.x-only, remove PYTHON_VERSIONED_DEPENDENCIES. Suggested by adam@@. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2021/12/15 09:34:12 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-3.3.0 @ 1.27 log @Update to 3.3.0. From the changelog: - Breaking change: PythonNativeReporter removed extra blank lines in output - New reporter: ReportOnCyberDojo creates FileName.testname.diff - New feature: verify_binary (closes #67) pkgsrc changes: - Replace "version" with "version_number" to fix module loading. Issue reported upstream. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2021/12/15 09:08:40 schmonz Exp $ a24 1 PYTHON_VERSIONED_DEPENDENCIES= test a27 1 .include "../../lang/python/versioned_dependencies.mk" @ 1.26 log @Update to 3.1.1. From the changelog: - Fix: add empty-files install dependency @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2021/11/22 09:49:38 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-3.1.1 d18 4 @ 1.25 log @Update to 3.1.0. From the changelog: - You can now verify html and it will pretty print it. This adds a pip dependency on beautiful soup (bs4) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2021/10/11 06:04:08 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-3.1.0 d14 1 d17 2 @ 1.24 log @Update to 3.0.0. From the changelog: Breaking Change: - verify_file("sample.xml") will produce an approval file with an .xml extension - verify_file("sample.xml",options=Options().for_file.with_extbreak_wrap ension(".json")) will produce an approval file with an .json extension @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2021/09/29 10:09:04 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-3.0.0 d13 1 @ 1.23 log @Update to 2.2.0. From the changelog: - Added support for DiffEngineTray @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2021/09/20 18:14:01 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-2.2.0 @ 1.22 log @Update to 2.1.0. From the changelog: - verify_as_json can now take an optional parameter deserialize_json_fields which if True will produce nicer formatted output. Updating this leaf during the freeze as it's well covered by automated tests and no instability is expected. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2021/08/23 09:14:37 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-2.1.0 @ 1.21 log @Update to 2.0.0. From the changelog: # Create regex scrubber Renamed `scrub_with_regex` to `create_regex_scrubber`. It can now take either a `str` or a `Callable[[int], str]`. Going forward, functions that return scrubber will start with `create` while functions that scrub directly will start with `scrub`. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2021/07/21 13:42:14 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-2.0.0 @ 1.20 log @Update to 1.1.0. From the changelog: # Storyboards Sometimes we might want to see different steps in a workflow or lifetime of an object. Storyboards are a convenience object to help enable that. Approvaltests allows us to look at a complete object instead of just pieces of it. Storyboards allow us to track an object through time. The mechanism to map time to space that storyboards use is very analogous to a comic book, but with each frame vertically after each other so that it works well with the diff tool and shows a progression. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2021/06/28 20:32:11 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-1.1.0 @ 1.19 log @Update to 1.0.1. From the changelog: - Fixed major bug in the namer with unix and python3.8 and above. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2021/06/23 18:20:17 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-1.0.1 @ 1.18 log @Update to 1.0.0. From the changelog: ## Verify(text) ensures a newline at end of files ### BREAKING CHANGE Since most tools will ensure a newline at the end of a file, approval test is now adding this to allow copying approval results in diff tools to work correctly. Please note that this will break all you previous approvals that do not end with a newline! This will show by your diff tool opening with two files that look identical, but one actually has a newline at the end. ### Upgrade Path We suggest you use ReporterByCopyMoveCommandForEverythingToClipboard() as your Default Reporter to re-approve all your files. ## Namer handles multiple nested methods in a unit test Previously if you had nested methods in your unit test, the names would incorrectly identify the help method rather than the test method. This is now fixed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2021/05/24 10:16:13 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-1.0.0 @ 1.17 log @Update to 0.8.0. From the changelog: - You can now set the approval file extensions via options: Options().for_file.with_extension(".md") @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2021/05/17 15:58:04 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.8.0 @ 1.16 log @Update to 0.7.0. From the changelog: - Date scrubbers are quite basic and only work with json-fied datetimes - Verify now converts its input to string before verifying @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2021/05/10 09:00:02 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.7.0 @ 1.15 log @Update to 0.6.0. From the changelog: - You can now scrub your approval files @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2021/05/02 18:51:09 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.6.0 @ 1.14 log @Update to 0.5.0. From the changelog: - The reporter can now be passed into any verify call via options. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2021/04/20 13:47:45 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.5.0 @ 1.13 log @Update to 0.4.2. From the changelog: - Easier to understand error messages (closes #97) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2021/04/11 18:07:49 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.4.2 @ 1.12 log @Update to 0.4.1. From the changelog: - Dynamically discover where the program files directory is (only for Beyond compare reporter at the moment) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2021/04/05 19:13:59 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.4.1 @ 1.11 log @Update to 0.4.0. From the changelog: - ReportWithBeyondCompare - Added new functionality to construct new reporters @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2021/03/22 09:24:50 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.4.0 @ 1.10 log @Update to 0.3.3. From the changelog: - Reporters have better string representations - Partial equality for some Reporters @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2021/03/14 19:01:33 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.3.3 @ 1.9 log @Update to 0.3.2. From the changelog: - Add type hints everywhere so you can remove the ignore on your mypy settings @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2021/02/12 07:57:00 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.3.2 @ 1.8 log @Doesn't build with Python 2.7. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2021/02/01 20:38:12 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.3.1 @ 1.7 log @Update to 0.3.1. From the changelog: - PythonNativeReporter bug fix @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2021/01/11 15:28:47 schmonz Exp $ d18 1 @ 1.6 log @Update to 0.3. From the changelog: - Windows CI is included and working - Reporters launch in the background, no longer blocking - Removed encoding options on verify_file - Added PyPI documentation @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2020/12/04 09:25:25 adam Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.3.0 @ 1.5 log @py-approvaltests: updated to 0.2.10 v0.2.10 added default parameter to Approvals.verify_with_namer @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2020/11/16 07:54:13 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.2.10 @ 1.4 log @Update to 0.2.9. From the changelog: - nothing new here, just deploying automatically to have better frequency of new releases @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2020/11/12 23:53:54 adam Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.2.9 @ 1.3 log @py-approvaltests: updated to 0.2.8 0.2.8: Unknown changes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2020/11/01 13:52:43 schmonz Exp $ d3 1 a3 1 DISTNAME= approvaltests-0.2.8 @ 1.2 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2020/04/20 14:37:46 schmonz Exp $ d3 2 a4 4 GITHUB_PROJECT= ApprovalTests.Python GITHUB_TAG= 0.2.7 DISTNAME= 0.2.7 PKGNAME= ${PYPKGPREFIX}-approvaltests-${DISTNAME} d6 1 a6 2 MASTER_SITES= ${MASTER_SITE_GITHUB:=approvals/} DIST_SUBDIR= ${GITHUB_PROJECT} a14 1 WRKSRC= ${WRKDIR}/ApprovalTests.Python-${GITHUB_TAG} d17 2 d20 1 @ 1.1 log @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. @ text @d1 1 a1 1 # $NetBSD$ d4 2 a5 2 GITHUB_TAG= 0.2.6 DISTNAME= 0.2.6 d18 1 a18 1 WRKSRC= ${WRKDIR}/ApprovalTests.Python-0.2.6 @