pkgsrc-Changes-HG archive

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

[.joined/pkgsrc/trunk]: .joined/pkgsrc/devel/py-pycotap devel/py-pycotap: imp...



details:   https://anonhg.NetBSD.org/.joined/pkgsrc/rev/913cf5575bbd
branches:  trunk
changeset: 371015:913cf5575bbd
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Jan 03 10:49:09 2022 +0000

description:
devel/py-pycotap: import py-pycotap-1.2.2

pycotap is a simple Python test runner for unittest that outputs
Test Anything Protocol results directly to standard output.

Contrary to other TAP runners for Python, pycotap:

    * prints TAP (and only TAP) to standard output instead of to
    a separate file, allowing you to pipe it directly to TAP pretty
    printers and processors (such as the ones listed on the tape
    page). By piping it to other consumers, you can avoid the need
    to add specific test runners to your test code. Since the TAP
    results are printed as they come in, the consumers can directly
    display results while the tests are run.
    * only contains a TAP reporter, so no parsers, no frameworks,
    no dependencies.
    * is configurable: you can choose how you want the test output
    and test result diagnostics to end up in your TAP output (as
    TAP diagnostics, YAML blocks, or attachments). The defaults
    are optimized for a Jenkins based flow.

diffstat:

 devel/py-pycotap/DESCR    |  18 ++++++++++++++++++
 devel/py-pycotap/Makefile |  24 ++++++++++++++++++++++++
 devel/py-pycotap/PLIST    |  12 ++++++++++++
 devel/py-pycotap/distinfo |   5 +++++
 4 files changed, 59 insertions(+), 0 deletions(-)

diffs (75 lines):

diff -r 08873a4c756f -r 913cf5575bbd devel/py-pycotap/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pycotap/DESCR    Mon Jan 03 10:49:09 2022 +0000
@@ -0,0 +1,18 @@
+pycotap is a simple Python test runner for unittest that outputs
+Test Anything Protocol results directly to standard output.
+
+Contrary to other TAP runners for Python, pycotap:
+
+    * prints TAP (and only TAP) to standard output instead of to
+    a separate file, allowing you to pipe it directly to TAP pretty
+    printers and processors (such as the ones listed on the tape
+    page). By piping it to other consumers, you can avoid the need
+    to add specific test runners to your test code. Since the TAP
+    results are printed as they come in, the consumers can directly
+    display results while the tests are run.
+    * only contains a TAP reporter, so no parsers, no frameworks,
+    no dependencies.
+    * is configurable: you can choose how you want the test output
+    and test result diagnostics to end up in your TAP output (as
+    TAP diagnostics, YAML blocks, or attachments). The defaults
+    are optimized for a Jenkins based flow.
diff -r 08873a4c756f -r 913cf5575bbd devel/py-pycotap/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pycotap/Makefile Mon Jan 03 10:49:09 2022 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2022/01/03 10:49:09 wiz Exp $
+
+DISTNAME=      pycotap-1.2.2
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycotap/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://el-tramo.be/pycotap
+COMMENT=       Tiny test runner that outputs TAP results to standard output
+LICENSE=       mit
+
+#BUILD_DEPENDS+=       ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+#DEPENDS+=             ${PYPKGPREFIX}-wcwidth>=0.1.7:../../devel/py-wcwidth
+
+USE_LANGUAGES= # none
+
+INSTALLATION_DIRS=     share/doc/${PYPKGPREFIX}-pycotap
+
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/COPYING ${DESTDIR}${PREFIX}/share/doc/${PYPKGPREFIX}-pycotap/
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 08873a4c756f -r 913cf5575bbd devel/py-pycotap/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pycotap/PLIST    Mon Jan 03 10:49:09 2022 +0000
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1 2022/01/03 10:49:09 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pycotap/__init__.py
+${PYSITELIB}/pycotap/__init__.pyc
+${PYSITELIB}/pycotap/__init__.pyo
+${PYSITELIB}/pycotap/__main__.py
+${PYSITELIB}/pycotap/__main__.pyc
+${PYSITELIB}/pycotap/__main__.pyo
+share/doc/py39-pycotap/COPYING
diff -r 08873a4c756f -r 913cf5575bbd devel/py-pycotap/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pycotap/distinfo Mon Jan 03 10:49:09 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/01/03 10:49:09 wiz Exp $
+
+BLAKE2s (pycotap-1.2.2.tar.gz) = 3ab64272b73cfc1e371878e9b61fdf69b4e159f5d0429645292b4e1adaa51e49
+SHA512 (pycotap-1.2.2.tar.gz) = ac65b857d48f6b808e951b1f23839d03ae9043ccc688585f1634752d1eed26869b510c66b4f2a1d93872fe66b87ea97d60e3f5443bba6c678f6b65570126d259
+Size (pycotap-1.2.2.tar.gz) = 6414 bytes



Home | Main Index | Thread Index | Old Index