From nobody Mon Apr 18 12:00:43 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 1ACB111D5FAE; Mon, 18 Apr 2022 12:00:44 +0000 (UTC) (envelope-from git@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 4KhlrC5N5Mz3n0P; Mon, 18 Apr 2022 12:00:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650283243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H/cngwrRMoZU1+aF/LdEa9cgbaOTK9QyY5reGru11yM=; b=F9C+9yJthXSv8zZo0OAjOd6k7YGyiDQ8JxJRZ9TZgnlB6DR2qyf2Y0E302VLan7zS/fH1g hJBKIhaONYcgU53DNNnsPuLZ7eaZ/2HAe+pRCtLy4XICUlNsPBCDC//RJLeCgA3UIrgLzV DedOaKheKyT4j6ozHd+3/iGd09vKoT5YJtljagXUuOQ5gi9pM6E/XyB4Je32pKyQsmVNRZ fOvPjhPhrBL3rMf2yG2isIPoM0DEYdZ8GMQZg8MKcbe+FcoAtWb3UmmW5tWRPaK8o51+SG VKCzRvCdJIlwagi4z0xWtQsZ0Rh9OH/pkd6GQnZmMlI+zop7ZIp8S+2oxNHARw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6CA1312322; Mon, 18 Apr 2022 12:00:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23IC0hfh017045; Mon, 18 Apr 2022 12:00:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23IC0htJ017044; Mon, 18 Apr 2022 12:00:43 GMT (envelope-from git) Date: Mon, 18 Apr 2022 12:00:43 GMT Message-Id: <202204181200.23IC0htJ017044@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Matthew Seaman Subject: git: 8b454642f100 - main - devel/py-subprocess-tee: New port List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: matthew X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8b454642f100a1ad6f6cc262c646bacd2548b4f2 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650283243; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H/cngwrRMoZU1+aF/LdEa9cgbaOTK9QyY5reGru11yM=; b=xItUnOc/5rXcNkgg8A16io/nxm8apH5tjQzp/VyXVtUSDZP4F1RyAFMD95YxawosuKz1lu /8Wua3MT7h/igYIGomN9ZppMbO3BRIAK8YeY4smdOIqCsnLY8/ijux3CyFRg6dKCZQZDJd VGZzcTfaHWqw/WmnexuAqs7vkt/tjxHbxR0HXjY6wX9TEz9X7kSBKHx4lys9wCjGZahZC0 Rn7HJKoAITM98sX8aZCEJ7SCLSwROgNwX/+bkrqxXCXuzFviTlMw9tGO/DHyXEdzwoib25 BOfKisgHXt8c3KeSPZo+4ZJaPVvvpNzkYVHQnFtGgNmNxwfQ36YYxOi42OWc9w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650283243; a=rsa-sha256; cv=none; b=ApsIi0km350qqHT99ZCh/Tg4qlr9XpkP2S9LFHSQNairKy6r7DEoweq0XoEYJiLr3tZNzs BNoBdb/93eZ/qqqYz0GzQYjYP8K/e+D/2quOuLo0PNhOBwryKwo1Ts7yZ0+gfqVQC7u4F1 lczNAVxNqlf8SGVlmsehNfoWEWKXXfFzRaANm7ZDpjl6C5Q9bpR1vjy6Fn9tQ8V7wguyq4 +MpeQJKJ89jezZhuB2M9Xhz4ulUSIMwtvrMxwwF1bmf7JlUIixQPDvw0Ph6BC0cTUvp8MD uJAWVFJAM2wldjT6m6PIiiWTP5ad326rY2YQebcv9PYU1QsgMljmxyx6T5wvzw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by matthew: URL: https://cgit.FreeBSD.org/ports/commit/?id=8b454642f100a1ad6f6cc262c646bacd2548b4f2 commit 8b454642f100a1ad6f6cc262c646bacd2548b4f2 Author: Matthew Seaman AuthorDate: 2022-04-10 19:48:58 +0000 Commit: Matthew Seaman CommitDate: 2022-04-18 11:59:07 +0000 devel/py-subprocess-tee: New port 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. Required as part of the TEST_DEPENDS heirarchy for sysutils/py-ansible-compat PR: 263033 --- devel/Makefile | 1 + devel/py-subprocess-tee/Makefile | 34 ++++++++++++++++++++++++++++++++++ devel/py-subprocess-tee/distinfo | 3 +++ devel/py-subprocess-tee/pkg-descr | 5 +++++ 4 files changed, 43 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 009acd42d73e..7b06d26e73c1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5287,6 +5287,7 @@ SUBDIR += py-stringcase SUBDIR += py-structlog SUBDIR += py-stsci.distutils + SUBDIR += py-subprocess-tee SUBDIR += py-subversion SUBDIR += py-sure SUBDIR += py-swagger-spec-validator diff --git a/devel/py-subprocess-tee/Makefile b/devel/py-subprocess-tee/Makefile new file mode 100644 index 000000000000..5a5cd77855c4 --- /dev/null +++ b/devel/py-subprocess-tee/Makefile @@ -0,0 +1,34 @@ +PORTNAME= subprocess-tee +PORTVERSION= 0.3.5 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Captures output while still printing it in real-time + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pip>=19.3.1:devel/py-pip@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=42:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm>=3.5.0:devel/py-setuptools_scm@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools_scm_git_archive>=1.1:devel/py-setuptools_scm_git_archive@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0.33.6:devel/py-wheel@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}enrich>=1.2.6:textproc/py-enrich@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}mock>=4.0.3:devel/py-mock@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}molecule>=3.4.0:devel/py-molecule@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-cov>=2.12.1:devel/py-pytest-cov@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-plus>=0.2:devel/py-pytest-plus@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest-xdist>=2.3.0:devel/py-pytest-xdist@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=6.2.5:devel/py-pytest@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +do-test: + cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs + +.include diff --git a/devel/py-subprocess-tee/distinfo b/devel/py-subprocess-tee/distinfo new file mode 100644 index 000000000000..0d0b9d58f4ae --- /dev/null +++ b/devel/py-subprocess-tee/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1649506647 +SHA256 (subprocess-tee-0.3.5.tar.gz) = ff5cced589a4b8ac973276ca1ba21bb6e3de600cde11a69947ff51f696efd577 +SIZE (subprocess-tee-0.3.5.tar.gz) = 16887 diff --git a/devel/py-subprocess-tee/pkg-descr b/devel/py-subprocess-tee/pkg-descr new file mode 100644 index 000000000000..d371e239b01a --- /dev/null +++ b/devel/py-subprocess-tee/pkg-descr @@ -0,0 +1,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. + +WWW: https://github.com/pycontribs/subprocess-tee