Received: by mail.netbsd.org (Postfix, from userid 605) id EB51E84D22; Sat, 6 May 2023 09:06:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2383984CED for ; Sat, 6 May 2023 09:06:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id uUEbBJ5kwwPT for ; Sat, 6 May 2023 09:06:29 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 6F1FC84CD0 for ; Sat, 6 May 2023 09:06:29 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 68C7EFA87; Sat, 6 May 2023 09:06:29 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1683363989106590" MIME-Version: 1.0 Date: Sat, 6 May 2023 09:06:29 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/py-test-check To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20230506090629.68C7EFA87@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1683363989106590 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Sat May 6 09:06:29 UTC 2023 Added Files: pkgsrc/devel/py-test-check: DESCR Makefile PLIST distinfo Log Message: devel/py-test-check: import py-test-check-2.1.4 A pytest plugin that allows multiple failures per test. Normally, a test function will fail and stop running with the first failed `assert`. That's totally fine for tons of kinds of software tests. However, there are times where you'd like to check more than one thing, and you'd really like to know the results of each check, even if one of them fails. `pytest-check` allows multiple failed "checks" per test function, so you can see the whole picture of what's going wrong. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test-check/DESCR \ pkgsrc/devel/py-test-check/Makefile pkgsrc/devel/py-test-check/PLIST \ pkgsrc/devel/py-test-check/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1683363989106590 Content-Disposition: inline Content-Length: 3485 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Added files: Index: pkgsrc/devel/py-test-check/DESCR diff -u /dev/null pkgsrc/devel/py-test-check/DESCR:1.1 --- /dev/null Sat May 6 09:06:29 2023 +++ pkgsrc/devel/py-test-check/DESCR Sat May 6 09:06:29 2023 @@ -0,0 +1,10 @@ +A pytest plugin that allows multiple failures per test. + +Normally, a test function will fail and stop running with the first +failed `assert`. That's totally fine for tons of kinds of software +tests. However, there are times where you'd like to check more +than one thing, and you'd really like to know the results of each +check, even if one of them fails. + +`pytest-check` allows multiple failed "checks" per test function, +so you can see the whole picture of what's going wrong. Index: pkgsrc/devel/py-test-check/Makefile diff -u /dev/null pkgsrc/devel/py-test-check/Makefile:1.1 --- /dev/null Sat May 6 09:06:29 2023 +++ pkgsrc/devel/py-test-check/Makefile Sat May 6 09:06:29 2023 @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1 2023/05/06 09:06:29 wiz Exp $ + +DISTNAME= pytest-check-2.1.4 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-check/} + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= https://pypi.org/project/pytest-check/ +COMMENT= Pytest plugin that allows multiple failures per test +LICENSE= mit + +TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core-[0-9]*:../../devel/py-flit_core +DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test + +USE_LANGUAGES= # none + +PYTHON_VERSIONS_INCOMPATIBLE= 27 + +# needs 'make install' +do-test: + cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} + +.include "../../lang/python/wheel.mk" +.include "../../mk/bsd.pkg.mk" Index: pkgsrc/devel/py-test-check/PLIST diff -u /dev/null pkgsrc/devel/py-test-check/PLIST:1.1 --- /dev/null Sat May 6 09:06:29 2023 +++ pkgsrc/devel/py-test-check/PLIST Sat May 6 09:06:29 2023 @@ -0,0 +1,23 @@ +@comment $NetBSD: PLIST,v 1.1 2023/05/06 09:06:29 wiz Exp $ +${PYSITELIB}/${WHEEL_INFODIR}/INSTALLER +${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt +${PYSITELIB}/${WHEEL_INFODIR}/METADATA +${PYSITELIB}/${WHEEL_INFODIR}/RECORD +${PYSITELIB}/${WHEEL_INFODIR}/REQUESTED +${PYSITELIB}/${WHEEL_INFODIR}/WHEEL +${PYSITELIB}/${WHEEL_INFODIR}/direct_url.json +${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt +${PYSITELIB}/pytest_check/__init__.py +${PYSITELIB}/pytest_check/__init__.pyc +${PYSITELIB}/pytest_check/check_functions.py +${PYSITELIB}/pytest_check/check_functions.pyc +${PYSITELIB}/pytest_check/check_log.py +${PYSITELIB}/pytest_check/check_log.pyc +${PYSITELIB}/pytest_check/check_raises.py +${PYSITELIB}/pytest_check/check_raises.pyc +${PYSITELIB}/pytest_check/context_manager.py +${PYSITELIB}/pytest_check/context_manager.pyc +${PYSITELIB}/pytest_check/plugin.py +${PYSITELIB}/pytest_check/plugin.pyc +${PYSITELIB}/pytest_check/pseudo_traceback.py +${PYSITELIB}/pytest_check/pseudo_traceback.pyc Index: pkgsrc/devel/py-test-check/distinfo diff -u /dev/null pkgsrc/devel/py-test-check/distinfo:1.1 --- /dev/null Sat May 6 09:06:29 2023 +++ pkgsrc/devel/py-test-check/distinfo Sat May 6 09:06:29 2023 @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2023/05/06 09:06:29 wiz Exp $ + +BLAKE2s (pytest-check-2.1.4.tar.gz) = b65cc86571c5f34d216aebaf1285ec0b87b7b345760091cddd1e7e4b21fcc6f5 +SHA512 (pytest-check-2.1.4.tar.gz) = 8bf110f7c8e7d76c394ece5b6ba83cdf4ebc459d3a79541c5077237a1caecd0ecc82a74ebc796de9cbc921f48d1c739d1c40dcbd9c2efa3b1ab01f0234238bed +Size (pytest-check-2.1.4.tar.gz) = 24770 bytes --_----------=_1683363989106590--