pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test-check
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.
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@localhost
+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
Home |
Main Index |
Thread Index |
Old Index