Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-testinfra/
Date: Tue, 07 Dec 2021 23:27:30
Message-Id: 1638919641.2b9ad6463ec9c7f83e6bc13283db6b4d1b8e83ea.mgorny@gentoo
1 commit: 2b9ad6463ec9c7f83e6bc13283db6b4d1b8e83ea
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 7 22:32:40 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 7 23:27:21 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b9ad646
7
8 dev-python/pytest-testinfra: Bump to 6.5.0
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pytest-testinfra/Manifest | 1 +
13 .../pytest-testinfra/pytest-testinfra-6.5.0.ebuild | 33 ++++++++++++++++++++++
14 2 files changed, 34 insertions(+)
15
16 diff --git a/dev-python/pytest-testinfra/Manifest b/dev-python/pytest-testinfra/Manifest
17 index 14286a38f523..272d76610acf 100644
18 --- a/dev-python/pytest-testinfra/Manifest
19 +++ b/dev-python/pytest-testinfra/Manifest
20 @@ -1 +1,2 @@
21 DIST pytest-testinfra-6.4.0.tar.gz 77516 BLAKE2B 2baf5940e8736cbe78d8017a82b3a8fdb6df95b89acccd49ecd354447b7ea88079f48211e0acea46a0d8702b67609fe6f85f730c66e781a99d8a92b52b3c99b9 SHA512 acd2c7f9daeb391815a32c972a3542c0d643a716f3cffcb66f4203435ebac789333edb91c83d2778ae8da93b676b245fd47821bca9218faa3e7b50e6764087f4
22 +DIST pytest-testinfra-6.5.0.tar.gz 77177 BLAKE2B 98a8f10f7cf62f204c117d295496a7dfa4de476f5cde457af6f5bc71b22e12e9f02b4893adc6b0d1be11915ed652f628c2574fd44750c82c690e3d8326e29c4c SHA512 f7fcf8facafc0d99b06f55f4241c39b610ff7648b0049c584a75b46944b522b957c98c353f147d74bc8a72f677a179380c456b0868f9dae9af514a9c95d55b13
23
24 diff --git a/dev-python/pytest-testinfra/pytest-testinfra-6.5.0.ebuild b/dev-python/pytest-testinfra/pytest-testinfra-6.5.0.ebuild
25 new file mode 100644
26 index 000000000000..c336646d0373
27 --- /dev/null
28 +++ b/dev-python/pytest-testinfra/pytest-testinfra-6.5.0.ebuild
29 @@ -0,0 +1,33 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..9} )
36 +
37 +inherit distutils-r1
38 +
39 +DESCRIPTION="Write unit tests in Python to test actual state of your servers"
40 +HOMEPAGE="https://github.com/pytest-dev/pytest-testinfra"
41 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="Apache-2.0"
44 +SLOT="0"
45 +KEYWORDS="~amd64"
46 +
47 +RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]"
48 +# Ansible is called via its CLI
49 +BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}]
50 + test? (
51 + app-admin/ansible
52 + app-admin/salt[${PYTHON_USEDEP}]
53 + dev-python/paramiko[${PYTHON_USEDEP}]
54 + dev-python/pywinrm[${PYTHON_USEDEP}]
55 + )"
56 +
57 +distutils_enable_tests pytest
58 +
59 +pkg_postinst() {
60 + elog "For the list of available connection back-ends and their dependencies,"
61 + elog "please consult https://testinfra.readthedocs.io/en/latest/backends.html"
62 +}