pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-test-subtests
Module Name: pkgsrc
Committed By: wiz
Date: Tue Feb 15 16:10:01 UTC 2022
Added Files:
pkgsrc/devel/py-test-subtests: DESCR Makefile PLIST distinfo
Log Message:
devel/py-test-subtests: import py-test-subtests-0.7.0
This pytest plugin was generated with Cookiecutter along with
@hackebrot's cookiecutter-pytest-plugin template.
* Adds support for TestCase.subTest.
* New subtests fixture, providing similar functionality for pure
pytest tests.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-test-subtests/DESCR \
pkgsrc/devel/py-test-subtests/Makefile \
pkgsrc/devel/py-test-subtests/PLIST \
pkgsrc/devel/py-test-subtests/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-subtests/DESCR
diff -u /dev/null pkgsrc/devel/py-test-subtests/DESCR:1.1
--- /dev/null Tue Feb 15 16:10:01 2022
+++ pkgsrc/devel/py-test-subtests/DESCR Tue Feb 15 16:10:01 2022
@@ -0,0 +1,6 @@
+This pytest plugin was generated with Cookiecutter along with
+@hackebrot's cookiecutter-pytest-plugin template.
+
+* Adds support for TestCase.subTest.
+* New subtests fixture, providing similar functionality for pure
+ pytest tests.
Index: pkgsrc/devel/py-test-subtests/Makefile
diff -u /dev/null pkgsrc/devel/py-test-subtests/Makefile:1.1
--- /dev/null Tue Feb 15 16:10:01 2022
+++ pkgsrc/devel/py-test-subtests/Makefile Tue Feb 15 16:10:01 2022
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2022/02/15 16:10:01 wiz Exp $
+
+DISTNAME= pytest-subtests-0.7.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest-subtests/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/pytest-dev/pytest-subtests
+COMMENT= Unittest subTest() support and subtests fixture
+LICENSE= mit
+
+BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+DEPENDS+= ${PYPKGPREFIX}-test>=7.0:../../devel/py-test
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+#TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
+# needs to be installed for testing
+# as of 0.7.0
+# 15 passed, 6 skipped, 5 xfailed
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-test-subtests/PLIST
diff -u /dev/null pkgsrc/devel/py-test-subtests/PLIST:1.1
--- /dev/null Tue Feb 15 16:10:01 2022
+++ pkgsrc/devel/py-test-subtests/PLIST Tue Feb 15 16:10:01 2022
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/15 16:10:01 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pytest_subtests.py
+${PYSITELIB}/pytest_subtests.pyc
+${PYSITELIB}/pytest_subtests.pyo
Index: pkgsrc/devel/py-test-subtests/distinfo
diff -u /dev/null pkgsrc/devel/py-test-subtests/distinfo:1.1
--- /dev/null Tue Feb 15 16:10:01 2022
+++ pkgsrc/devel/py-test-subtests/distinfo Tue Feb 15 16:10:01 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/15 16:10:01 wiz Exp $
+
+BLAKE2s (pytest-subtests-0.7.0.tar.gz) = b844fdc97a1de40183f11858713a3bf9d01254690cec33e29f7aee7b9e431517
+SHA512 (pytest-subtests-0.7.0.tar.gz) = f412e72529c55a28cedf8995bc78d64c6a0197a3071cf1393c47173a9803584ae2d3e08f29c2a9a6e29ecc091c126500468e530962a52a9567223af771e4e8e7
+Size (pytest-subtests-0.7.0.tar.gz) = 10800 bytes
Home |
Main Index |
Thread Index |
Old Index