pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/py-subprocess-tee py-subprocess-tee: added ve...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d74519025da
branches:  trunk
changeset: 379148:6d74519025da
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu May 12 08:06:13 2022 +0000

description:
py-subprocess-tee: added version 0.3.5

This package provides a drop-in alternative to subprocess.run that captures the
output while still printing it in real-time, just the way tee does.

Printing output in real-time while still capturing is valuable for any tool
that executes long-running child processes. For those, you do want to provide
instant feedback (progress) related to what is happening.

diffstat:

 sysutils/py-subprocess-tee/DESCR    |   6 ++++++
 sysutils/py-subprocess-tee/Makefile |  21 +++++++++++++++++++++
 sysutils/py-subprocess-tee/PLIST    |  23 +++++++++++++++++++++++
 sysutils/py-subprocess-tee/distinfo |   5 +++++
 4 files changed, 55 insertions(+), 0 deletions(-)

diffs (71 lines):

diff -r e68e90b09666 -r 6d74519025da sysutils/py-subprocess-tee/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-subprocess-tee/DESCR  Thu May 12 08:06:13 2022 +0000
@@ -0,0 +1,6 @@
+This package provides a drop-in alternative to subprocess.run that captures the
+output while still printing it in real-time, just the way tee does.
+
+Printing output in real-time while still capturing is valuable for any tool
+that executes long-running child processes. For those, you do want to provide
+instant feedback (progress) related to what is happening.
diff -r e68e90b09666 -r 6d74519025da sysutils/py-subprocess-tee/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-subprocess-tee/Makefile       Thu May 12 08:06:13 2022 +0000
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2022/05/12 08:06:13 adam Exp $
+
+DISTNAME=      subprocess-tee-0.3.5
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    sysutils python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=s/subprocess-tee/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/pycontribs/subprocess-tee
+COMMENT=       Subprocess-tee
+LICENSE=       mit
+
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm-[0-9]*:../../devel/py-setuptools_scm
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-setuptools_scm_git_archive-[0-9]*:../../devel/py-setuptools_scm_git_archive
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e68e90b09666 -r 6d74519025da sysutils/py-subprocess-tee/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-subprocess-tee/PLIST  Thu May 12 08:06:13 2022 +0000
@@ -0,0 +1,23 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/12 08:06:13 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/subprocess_tee/__init__.py
+${PYSITELIB}/subprocess_tee/__init__.pyc
+${PYSITELIB}/subprocess_tee/__init__.pyo
+${PYSITELIB}/subprocess_tee/py.typed
+${PYSITELIB}/subprocess_tee/test/__init__.py
+${PYSITELIB}/subprocess_tee/test/__init__.pyc
+${PYSITELIB}/subprocess_tee/test/__init__.pyo
+${PYSITELIB}/subprocess_tee/test/test_func.py
+${PYSITELIB}/subprocess_tee/test/test_func.pyc
+${PYSITELIB}/subprocess_tee/test/test_func.pyo
+${PYSITELIB}/subprocess_tee/test/test_rich.py
+${PYSITELIB}/subprocess_tee/test/test_rich.pyc
+${PYSITELIB}/subprocess_tee/test/test_rich.pyo
+${PYSITELIB}/subprocess_tee/test/test_unit.py
+${PYSITELIB}/subprocess_tee/test/test_unit.pyc
+${PYSITELIB}/subprocess_tee/test/test_unit.pyo
diff -r e68e90b09666 -r 6d74519025da sysutils/py-subprocess-tee/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/py-subprocess-tee/distinfo       Thu May 12 08:06:13 2022 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/05/12 08:06:13 adam Exp $
+
+BLAKE2s (subprocess-tee-0.3.5.tar.gz) = e0205cc09d9aff9cd49b9382292f5dd5061fa12a773733ca6d66039ed0cdf826
+SHA512 (subprocess-tee-0.3.5.tar.gz) = 47de075e7b6c75598dac0ad1899e1cce9dc1131b49c35ccade2b67c8d2a2d0248ce22a20c336519ff00bfd57269613bc663012e48cf0afa087c93ee74e18e4d4
+Size (subprocess-tee-0.3.5.tar.gz) = 16887 bytes



Home | Main Index | Thread Index | Old Index