From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7F0EC158020 for ; Fri, 25 Nov 2022 05:14:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9298E095D; Fri, 25 Nov 2022 05:14:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ABE1CE095D for ; Fri, 25 Nov 2022 05:14:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CBB25335C03 for ; Fri, 25 Nov 2022 05:14:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 67E41703 for ; Fri, 25 Nov 2022 05:14:38 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1669353263.3fa049ba9799de85d0b32c50157b791dcdaf4942.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/subprocess-tee/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/subprocess-tee/Manifest dev-python/subprocess-tee/subprocess-tee-0.4.0.ebuild X-VCS-Directories: dev-python/subprocess-tee/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3fa049ba9799de85d0b32c50157b791dcdaf4942 X-VCS-Branch: master Date: Fri, 25 Nov 2022 05:14:38 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 928a74c3-287d-4acd-af4b-aace5a9edf2f X-Archives-Hash: a8f13e1c5eaebc7f65af03553bae21c2 commit: 3fa049ba9799de85d0b32c50157b791dcdaf4942 Author: Michał Górny gentoo org> AuthorDate: Fri Nov 25 04:45:50 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Nov 25 05:14:23 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa049ba dev-python/subprocess-tee: Bump to 0.4.0 Signed-off-by: Michał Górny gentoo.org> dev-python/subprocess-tee/Manifest | 1 + .../subprocess-tee/subprocess-tee-0.4.0.ebuild | 46 ++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-python/subprocess-tee/Manifest b/dev-python/subprocess-tee/Manifest index 34f583554fcf..e343a8b1fd30 100644 --- a/dev-python/subprocess-tee/Manifest +++ b/dev-python/subprocess-tee/Manifest @@ -1 +1,2 @@ DIST subprocess-tee-0.3.5.tar.gz 16887 BLAKE2B 6eb25085eb2b2ee4557efd556d8035ab8f6b781b47783f24f227db04b3f82fffcfa29d69f0e3588c3fa6188446a3d96d4421e6b1ea5b3292f42635e19a404bab SHA512 47de075e7b6c75598dac0ad1899e1cce9dc1131b49c35ccade2b67c8d2a2d0248ce22a20c336519ff00bfd57269613bc663012e48cf0afa087c93ee74e18e4d4 +DIST subprocess-tee-0.4.0.tar.gz 12815 BLAKE2B 0a536daca56dd441848eaaeb3d53384349debdfe7b83458a89ff9e9d44cf63d4cae9eb6436705494cbb15282594a3ad0ce1c8dd51bfb6f79128c6855ab3b2c82 SHA512 944f978c87d612a7846709106b7857761288ef9e6923bf0b69e20cc493b7dbcf51c16867ed7b3038a1d2f180108972c35e8d9fe380542b56c7c68320caf9321b diff --git a/dev-python/subprocess-tee/subprocess-tee-0.4.0.ebuild b/dev-python/subprocess-tee/subprocess-tee-0.4.0.ebuild new file mode 100644 index 000000000000..998ec933fddb --- /dev/null +++ b/dev-python/subprocess-tee/subprocess-tee-0.4.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="subprocess.run replacement with tee(1)-like output" +HOMEPAGE=" + https://github.com/pycontribs/subprocess-tee/ + https://pypi.org/project/subprocess-tee/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~riscv" +IUSE="test-full" +REQUIRED_USE="test-full? ( test )" + +# ansible-molecule is invoked as an executable so no need for PYTHON_USEDEP +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}] + test? ( + dev-python/enrich[${PYTHON_USEDEP}] + test-full? ( app-admin/ansible-molecule ) + ) +" + +distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=() + + if ! use test-full; then + EPYTEST_DESELECT+=( + test/test_func.py::test_molecule + ) + fi + + epytest +}