Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/
Date: Thu, 25 Nov 2021 23:39:58
Message-Id: 1637883585.0f693f801e8e4bc5e190203dbe7ed32f2e21a54f.marecki@gentoo
1 commit: 0f693f801e8e4bc5e190203dbe7ed32f2e21a54f
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Thu Nov 25 23:22:11 2021 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Thu Nov 25 23:39:45 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f693f80
7
8 app-admin/ansible-molecule: drop 3.3.4
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 app-admin/ansible-molecule/Manifest | 1 -
13 .../ansible-molecule/ansible-molecule-3.3.4.ebuild | 84 ----------------------
14 2 files changed, 85 deletions(-)
15
16 diff --git a/app-admin/ansible-molecule/Manifest b/app-admin/ansible-molecule/Manifest
17 index bf31ff02b74b..700d4ea41538 100644
18 --- a/app-admin/ansible-molecule/Manifest
19 +++ b/app-admin/ansible-molecule/Manifest
20 @@ -1,2 +1 @@
21 -DIST molecule-3.3.4.tar.gz 280980 BLAKE2B af704a8a8d709323441e6e6057bf7a62b0d89aa582eff4d9139b521ed0729c36836f324cd1741f441fae4ed4b9c148de76c2502a01ce5a7b142bfe32bc7fd391 SHA512 8ccc6e121d028bc9d477504a3e5067486d4a3e37f2c27a9686b068c9dac2185db7f965960affb4f9e958bb68d3c3a72786459ea3d221d781377d899b0d75d5a5
22 DIST molecule-3.5.2.tar.gz 290964 BLAKE2B b6c6bb8ecdb4230d23161e25fa003c8979f48fc1705bfba7d14204fbaa3e9c235a71db0c4ccbab5c4328ddb8a0725d3c2ba7cb4b624afda21c6453c8be824f3e SHA512 04a7d1f7e7e098c0ada71d8dc9a3e3a94320033942d8ee03f2c51ec185405d2ee13fcb44000a4942ec66923f0426717ab7e2c3a785ddda7a23515096474dc3c3
23
24 diff --git a/app-admin/ansible-molecule/ansible-molecule-3.3.4.ebuild b/app-admin/ansible-molecule/ansible-molecule-3.3.4.ebuild
25 deleted file mode 100644
26 index 5655e622e75f..000000000000
27 --- a/app-admin/ansible-molecule/ansible-molecule-3.3.4.ebuild
28 +++ /dev/null
29 @@ -1,84 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -PYTHON_COMPAT=( python3_{8..9} )
36 -DISTUTILS_SINGLE_IMPL=1
37 -DISTUTILS_USE_SETUPTOOLS="rdepend"
38 -
39 -inherit distutils-r1
40 -
41 -MY_PN="${PN#ansible-}"
42 -MY_P="${MY_PN}-${PV}"
43 -
44 -DESCRIPTION="A toolkit designed to aid in the development and testing of Ansible roles"
45 -HOMEPAGE="https://pypi.org/project/molecule/ https://github.com/ansible-community/molecule/"
46 -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
47 -
48 -LICENSE="MIT"
49 -SLOT="0"
50 -KEYWORDS="~amd64"
51 -IUSE="selinux"
52 -
53 -RDEPEND="$(python_gen_cond_dep '
54 - >=app-admin/ansible-lint-5.0.12[${PYTHON_USEDEP}]
55 - <dev-python/cerberus-1.3.3[${PYTHON_USEDEP}]
56 - >=dev-python/click-8.0[${PYTHON_USEDEP}]
57 - dev-python/click-help-colors[${PYTHON_USEDEP}]
58 - dev-python/enrich[${PYTHON_USEDEP}]
59 - dev-python/jinja[${PYTHON_USEDEP}]
60 - dev-python/packaging[${PYTHON_USEDEP}]
61 - <dev-python/paramiko-3[${PYTHON_USEDEP}]
62 - <dev-python/pluggy-1.0[${PYTHON_USEDEP}]
63 - <dev-python/pyyaml-6[${PYTHON_USEDEP}]
64 - dev-python/rich[${PYTHON_USEDEP}]
65 - dev-python/subprocess-tee[${PYTHON_USEDEP}]
66 - >=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
67 - selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
68 -')"
69 -BDEPEND="$(python_gen_cond_dep '
70 - dev-python/setuptools_scm[${PYTHON_USEDEP}]
71 - dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
72 - doc? (
73 - dev-python/simplejson[${PYTHON_USEDEP}]
74 - )
75 - test? (
76 - dev-python/ansi2html[${PYTHON_USEDEP}]
77 - <dev-python/pexpect-5[${PYTHON_USEDEP}]
78 - dev-python/pytest-helpers-namespace[${PYTHON_USEDEP}]
79 - >=dev-python/pytest-html-3.0.0[${PYTHON_USEDEP}]
80 - dev-python/pytest-mock[${PYTHON_USEDEP}]
81 - dev-python/pytest-plus[${PYTHON_USEDEP}]
82 - dev-python/pytest-testinfra[${PYTHON_USEDEP}]
83 - dev-python/pytest-verbose-parametrize[${PYTHON_USEDEP}]
84 - dev-python/pytest-xdist[${PYTHON_USEDEP}]
85 - )
86 -')"
87 -
88 -S="${WORKDIR}"/${MY_P}
89 -
90 -distutils_enable_sphinx docs '>=dev-python/sphinx-notfound-page-0.7.1' 'dev-python/sphinx_ansible_theme'
91 -distutils_enable_tests --install pytest
92 -
93 -src_prepare() {
94 - default
95 -
96 - if ! use selinux; then
97 - sed -i "/^\s\+selinux/d" setup.cfg || die "Failed to remove dependency on SELinux"
98 - fi
99 -
100 - # Several issues with tests from this file:
101 - # - quite a few of these use the network;
102 - # - test_command_dependency[shell] only works if Molecule has previously been installed;
103 - # - tests involving creation of a new scenario fail on ansible-lint errors, even though
104 - # a config file is deployed which should skip expected issues.
105 - rm -f src/molecule/test/functional/test_command.py
106 - # Uses unpackaged yamllint
107 - rm -f src/molecule/test/unit/cookiecutter/test_molecule.py
108 -}
109 -
110 -python_test() {
111 - distutils_install_for_testing --via-venv
112 - distutils-r1_python_test
113 -}