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 B1BAA158020 for ; Sat, 3 Dec 2022 09:09:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6054E0C7C; Sat, 3 Dec 2022 09:09:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 AE90AE0C7C for ; Sat, 3 Dec 2022 09:09:56 +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 E3833341400 for ; Sat, 3 Dec 2022 09:09:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7B9D077F for ; Sat, 3 Dec 2022 09:09:53 +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: <1670058554.d15ee1e802cfe367b1256f278731bd2ff7f4034d.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-testinfra/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-testinfra/Manifest dev-python/pytest-testinfra/pytest-testinfra-7.0.0.ebuild X-VCS-Directories: dev-python/pytest-testinfra/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: d15ee1e802cfe367b1256f278731bd2ff7f4034d X-VCS-Branch: master Date: Sat, 3 Dec 2022 09:09:53 +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: 6903b561-66d9-4598-8fb3-05786b501e68 X-Archives-Hash: 2018de3ab9ce465a9f071791db884407 commit: d15ee1e802cfe367b1256f278731bd2ff7f4034d Author: Michał Górny gentoo org> AuthorDate: Sat Dec 3 08:12:51 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Dec 3 09:09:14 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d15ee1e8 dev-python/pytest-testinfra: Bump to 7.0.0 Signed-off-by: Michał Górny gentoo.org> dev-python/pytest-testinfra/Manifest | 1 + .../pytest-testinfra/pytest-testinfra-7.0.0.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/dev-python/pytest-testinfra/Manifest b/dev-python/pytest-testinfra/Manifest index 678fe70ff03e..94ade6e95fc2 100644 --- a/dev-python/pytest-testinfra/Manifest +++ b/dev-python/pytest-testinfra/Manifest @@ -1 +1,2 @@ DIST pytest-testinfra-6.8.0.tar.gz 78611 BLAKE2B ab1f9732db6a5d88730f4989cc47dc2086844f9809754d9f7811a8f0f092cf3d1e6f48fac2596200bf8e354cfd4aa3dc767bc21139267813141c9522d2116453 SHA512 e0c044430ffae1772b937b405572ef05b6177a645aff7b96e1f779d4f68449241757efae137a03ea8aec28db5f91c0e71574ab52aebef0052ca99ea0ca08db23 +DIST pytest-testinfra-7.0.0.tar.gz 79296 BLAKE2B b0870cbf466627daff0ed6a3063c15c9b725fab4009fc24c3779b56765901e6b8d3a42fce429f1e42151b78d61f52c38955772e562c74d78c717a61a5fe74f04 SHA512 507d7a434c2eb159e2c36b1be3d447e386d3a4e614f2717ed8add456358f644c18f801db6774a4854e4ec7936643febd332aa4096ab26ae0080aceeff420c78e diff --git a/dev-python/pytest-testinfra/pytest-testinfra-7.0.0.ebuild b/dev-python/pytest-testinfra/pytest-testinfra-7.0.0.ebuild new file mode 100644 index 000000000000..5e4cec65cf58 --- /dev/null +++ b/dev-python/pytest-testinfra/pytest-testinfra-7.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Write unit tests in Python to test actual state of your servers" +HOMEPAGE=" + https://github.com/pytest-dev/pytest-testinfra/ + https://pypi.org/project/pytest-testinfra/ +" +SRC_URI="mirror://pypi/${P::1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~riscv" + +RDEPEND=" + dev-python/pytest[${PYTHON_USEDEP}] +" +# Ansible is called via its CLI +# which(1) is used as fallback when `command -v ...` returns 127 +# (which e.g. happens when dash is used as /bin/sh) +# https://github.com/pytest-dev/pytest-testinfra/issues/668 +BDEPEND=" + dev-python/setuptools_scm[${PYTHON_USEDEP}] + test? ( + app-admin/ansible + app-admin/salt[${PYTHON_USEDEP}] + dev-python/paramiko[${PYTHON_USEDEP}] + dev-python/pywinrm[${PYTHON_USEDEP}] + sys-apps/which + ) +" + +distutils_enable_tests pytest + +pkg_postinst() { + elog "For the list of available connection back-ends and their dependencies," + elog "please consult https://testinfra.readthedocs.io/en/latest/backends.html" +}