pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-test-subtests devel/py-test-subtests: import ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/adbf2c9fb174
branches:  trunk
changeset: 373956:adbf2c9fb174
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Feb 15 16:10:01 2022 +0000

description:
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.

diffstat:

 devel/py-test-subtests/DESCR    |   6 ++++++
 devel/py-test-subtests/Makefile |  26 ++++++++++++++++++++++++++
 devel/py-test-subtests/PLIST    |  10 ++++++++++
 devel/py-test-subtests/distinfo |   5 +++++
 4 files changed, 47 insertions(+), 0 deletions(-)

diffs (63 lines):

diff -r c92f7b248509 -r adbf2c9fb174 devel/py-test-subtests/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-subtests/DESCR      Tue Feb 15 16:10:01 2022 +0000
@@ -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.
diff -r c92f7b248509 -r adbf2c9fb174 devel/py-test-subtests/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-subtests/Makefile   Tue Feb 15 16:10:01 2022 +0000
@@ -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"
diff -r c92f7b248509 -r adbf2c9fb174 devel/py-test-subtests/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-subtests/PLIST      Tue Feb 15 16:10:01 2022 +0000
@@ -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
diff -r c92f7b248509 -r adbf2c9fb174 devel/py-test-subtests/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-test-subtests/distinfo   Tue Feb 15 16:10:01 2022 +0000
@@ -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