svn commit: r566621 - in head/misc: . py-wurlitzer
Rainer Hurling
rhurlin at FreeBSD.org
Fri Feb 26 17:32:11 UTC 2021
Author: rhurlin
Date: Fri Feb 26 17:32:10 2021
New Revision: 566621
URL: https://svnweb.freebsd.org/changeset/ports/566621
Log:
New port: misc/py-wurlitzer: Capture C-level output in context managers
https://github.com/minrk/wurlitzer
Added:
head/misc/py-wurlitzer/
head/misc/py-wurlitzer/Makefile (contents, props changed)
head/misc/py-wurlitzer/distinfo (contents, props changed)
head/misc/py-wurlitzer/pkg-descr (contents, props changed)
Modified:
head/misc/Makefile
Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile Fri Feb 26 17:07:45 2021 (r566620)
+++ head/misc/Makefile Fri Feb 26 17:32:10 2021 (r566621)
@@ -419,6 +419,7 @@
SUBDIR += py-toil
SUBDIR += py-tqdm
SUBDIR += py-tvm
+ SUBDIR += py-wurlitzer
SUBDIR += py-xgboost
SUBDIR += pyobd
SUBDIR += qbrew
Added: head/misc/py-wurlitzer/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/py-wurlitzer/Makefile Fri Feb 26 17:32:10 2021 (r566621)
@@ -0,0 +1,30 @@
+# Created by: Rainer Hurling <rhurlin at gwdg.de>
+# $FreeBSD$
+
+PORTNAME= wurlitzer
+PORTVERSION= 2.0.1
+CATEGORIES= misc python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= rhurlin at FreeBSD.org
+COMMENT= Capture C-level output in context managers
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ${PYNUMPY}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}codecov>0:devel/py-codecov@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pytest-cov>0:devel/py-pytest-cov@${PY_FLAVOR}
+
+USES= python:3.6+
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -x -v test.py
+
+.include <bsd.port.mk>
Added: head/misc/py-wurlitzer/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/py-wurlitzer/distinfo Fri Feb 26 17:32:10 2021 (r566621)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1614355503
+SHA256 (wurlitzer-2.0.1.tar.gz) = d08f0728a998441aac3d7a0f8cd6dfed2ba2525144878fb49599b719085b7543
+SIZE (wurlitzer-2.0.1.tar.gz) = 10638
Added: head/misc/py-wurlitzer/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/misc/py-wurlitzer/pkg-descr Fri Feb 26 17:32:10 2021 (r566621)
@@ -0,0 +1,3 @@
+Wurlitzer captures C-level stdout/stderr pipes in Python via os.dup2.
+
+WWW: https://github.com/minrk/wurlitzer
More information about the svn-ports-all
mailing list