From owner-svn-ports-head@freebsd.org Fri Feb 26 17:32:11 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6B75A548417; Fri, 26 Feb 2021 17:32:11 +0000 (UTC) (envelope-from rhurlin@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DnGtg2d2fz4bsm; Fri, 26 Feb 2021 17:32:11 +0000 (UTC) (envelope-from rhurlin@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4CA5C68BD; Fri, 26 Feb 2021 17:32:11 +0000 (UTC) (envelope-from rhurlin@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11QHWBEE026560; Fri, 26 Feb 2021 17:32:11 GMT (envelope-from rhurlin@FreeBSD.org) Received: (from rhurlin@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11QHWA3D026555; Fri, 26 Feb 2021 17:32:10 GMT (envelope-from rhurlin@FreeBSD.org) Message-Id: <202102261732.11QHWA3D026555@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rhurlin set sender to rhurlin@FreeBSD.org using -f From: Rainer Hurling Date: Fri, 26 Feb 2021 17:32:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r566621 - in head/misc: . py-wurlitzer X-SVN-Group: ports-head X-SVN-Commit-Author: rhurlin X-SVN-Commit-Paths: in head/misc: . py-wurlitzer X-SVN-Commit-Revision: 566621 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Feb 2021 17:32:11 -0000 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 +# $FreeBSD$ + +PORTNAME= wurlitzer +PORTVERSION= 2.0.1 +CATEGORIES= misc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= rhurlin@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 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