Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-testinfra/
Date: Thu, 01 Jul 2021 11:02:45
Message-Id: 1625137339.fa6dfe4349d8e1f650d954026ac2a288909a8676.marecki@gentoo
1 commit: fa6dfe4349d8e1f650d954026ac2a288909a8676
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jul 1 10:06:31 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 1 11:02:19 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa6dfe43
7
8 dev-python/pytest-testinfra: bump to 6.4.0 and EAPI 8
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 dev-python/pytest-testinfra/Manifest | 1 +
13 .../pytest-testinfra/pytest-testinfra-6.4.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 37bc260fa2e..6299db7974b 100644
18 --- a/dev-python/pytest-testinfra/Manifest
19 +++ b/dev-python/pytest-testinfra/Manifest
20 @@ -1 +1,2 @@
21 DIST pytest-testinfra-6.3.0.tar.gz 76309 BLAKE2B 95b4a6ac5ea3c3db2afdd537209bfeb2c188ec7c7935b73e831733fbbf2540b8769d1187338b3b9c9da997cd653e800004e7199537d95530967cd73a15cb2c2e SHA512 ff0add6bdadac92f6f997a94734d69d39598bc8d1f7689a6b269e59bc886825fcf8a42968c2d34a9ad7e77ed0112bf4044afede8e0dca2bbddc76c9c5612ae92
22 +DIST pytest-testinfra-6.4.0.tar.gz 77516 BLAKE2B 2baf5940e8736cbe78d8017a82b3a8fdb6df95b89acccd49ecd354447b7ea88079f48211e0acea46a0d8702b67609fe6f85f730c66e781a99d8a92b52b3c99b9 SHA512 acd2c7f9daeb391815a32c972a3542c0d643a716f3cffcb66f4203435ebac789333edb91c83d2778ae8da93b676b245fd47821bca9218faa3e7b50e6764087f4
23
24 diff --git a/dev-python/pytest-testinfra/pytest-testinfra-6.4.0.ebuild b/dev-python/pytest-testinfra/pytest-testinfra-6.4.0.ebuild
25 new file mode 100644
26 index 00000000000..c336646d037
27 --- /dev/null
28 +++ b/dev-python/pytest-testinfra/pytest-testinfra-6.4.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 +}