pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-pycotap



Module Name:    pkgsrc
Committed By:   wiz
Date:           Mon Jan  3 10:49:10 UTC 2022

Added Files:
        pkgsrc/devel/py-pycotap: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-pycotap/DESCR \
    pkgsrc/devel/py-pycotap/Makefile pkgsrc/devel/py-pycotap/PLIST \
    pkgsrc/devel/py-pycotap/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-pycotap/DESCR
diff -u /dev/null pkgsrc/devel/py-pycotap/DESCR:1.1
--- /dev/null   Mon Jan  3 10:49:10 2022
+++ pkgsrc/devel/py-pycotap/DESCR       Mon Jan  3 10:49:09 2022
@@ -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.
Index: pkgsrc/devel/py-pycotap/Makefile
diff -u /dev/null pkgsrc/devel/py-pycotap/Makefile:1.1
--- /dev/null   Mon Jan  3 10:49:10 2022
+++ pkgsrc/devel/py-pycotap/Makefile    Mon Jan  3 10:49:09 2022
@@ -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"
Index: pkgsrc/devel/py-pycotap/PLIST
diff -u /dev/null pkgsrc/devel/py-pycotap/PLIST:1.1
--- /dev/null   Mon Jan  3 10:49:10 2022
+++ pkgsrc/devel/py-pycotap/PLIST       Mon Jan  3 10:49:09 2022
@@ -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
Index: pkgsrc/devel/py-pycotap/distinfo
diff -u /dev/null pkgsrc/devel/py-pycotap/distinfo:1.1
--- /dev/null   Mon Jan  3 10:49:10 2022
+++ pkgsrc/devel/py-pycotap/distinfo    Mon Jan  3 10:49:09 2022
@@ -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