[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/files/, app-admin/ansible-molecule/

2024-04-29 Thread Marek Szuba
commit: fe80e59c639df097c20074934fd1416e9e714347
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Apr 30 01:31:22 2024 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Apr 30 01:31:22 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe80e59c

app-admin/ansible-molecule: drop 5.1.0

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/Manifest|  1 -
 .../ansible-molecule/ansible-molecule-5.1.0.ebuild | 82 --
 ...nsible-molecule-5.1.0-mkdocs_google_fonts.patch | 10 ---
 3 files changed, 93 deletions(-)

diff --git a/app-admin/ansible-molecule/Manifest 
b/app-admin/ansible-molecule/Manifest
index 948c0d4c840d..a9ab839d7c5c 100644
--- a/app-admin/ansible-molecule/Manifest
+++ b/app-admin/ansible-molecule/Manifest
@@ -1,2 +1 @@
 DIST molecule-24.2.1.tar.gz 343228 BLAKE2B 
9605b5a8e21d37597cbf35f0f6f811471909dde5496541b1d7cd130eb2b970125fdc291df6493f8716f38514df17d957094604ae49e64d16f2207a0d3682bd38
 SHA512 
3813163d72cee51987d340c8a1ed0e03d8abe509a601e94c3e32bf673a56edd83d0c2bde1347057fe8a4c2b37e11a068ef689dd669d4395da64bec3921f1403d
-DIST molecule-5.1.0.tar.gz 335161 BLAKE2B 
55c2f3c181bef6ab848cf7b52b19649fd861dbdbd68b92d3de9e0a1330755b9b887affd8f78e92ab33145ed60e7131d3cf1ffb7b4d8f10c1c3cab8dd58288af9
 SHA512 
4d025a512e3a6ac7f424318f06bb23b2c1ef1cc122d31d012430bfccf4efeeb3c7ddf2450abd78378c1c50f54fffb1fa8f366f14eebe58125f177ced8cec3ff5

diff --git a/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
deleted file mode 100644
index 66a672771a29..
--- a/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=setuptools
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="
-   >=dev-python/mkdocs-ansible-0.1.4
-   dev-python/mkdocs-autorefs
-   dev-python/mkdocstrings-python
-   media-gfx/cairosvg
-"
-PYPI_PN="molecule"
-
-inherit distutils-r1 docs optfeature pypi
-
-DESCRIPTION="A toolkit designed to aid in the development and testing of 
Ansible roles"
-HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible/molecule/;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~riscv"
-IUSE="selinux"
-
-RDEPEND="$(python_gen_cond_dep '
-   >=app-admin/ansible-core-2.12.10[${PYTHON_USEDEP}]
-   >=dev-python/ansible-compat-4.1.2[${PYTHON_USEDEP}]
-   >=dev-python/click-8.0[${PYTHON_USEDEP}]
-   =dev-python/click-help-colors-0.9[${PYTHON_USEDEP}]
-   >=dev-python/enrich-1.2.7[${PYTHON_USEDEP}]
-   >=dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
-   >=dev-python/jsonschema-4.9.1[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   =dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
-   >=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
-   >=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
-   selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
-')"
-BDEPEND="$(python_gen_cond_dep '
-   =app-admin/ansible-lint-6.12.1[${PYTHON_USEDEP}]
-   app-misc/check-jsonschema[${PYTHON_USEDEP}]
-   >=dev-python/ansi2html-1.8.0[${PYTHON_USEDEP}]
-   >=dev-python/filelock-3.9.0[${PYTHON_USEDEP}]
-   =dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-plus-0.4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-testinfra-7.0.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-xdist-3.1.0[${PYTHON_USEDEP}]
-   )
-')"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-5.1.0-mkdocs_google_fonts.patch
-)
-
-# test_role.py doesn't play nicely with FEATURES=usersandbox. As for 
test_command.py:
-#  - quite a few of these tests use the network;
-#  - test_command_dependency[shell] only works if Molecule has previously been 
installed;
-#  - tests involving creation of a new scenario fail on ansible-lint errors, 
even though
-#a config file is deployed which should skip expected issues.
-EPYTEST_DESELECT=(
-   src/molecule/test/functional/test_command.py
-   src/molecule/test/unit/command/init/test_role.py
-)
-
-distutils_enable_tests pytest
-
-pkg_postinst() {
-   optfeature_header "Some optional packages commonly used in Molecule 
scenarios:"
-   optfeature "checking playbooks for practices and behaviour that can be 
improved" app-admin/ansible-lint
-}

diff --git 
a/app-admin/ansible-molecule/files/ansible-molecule-5.1.0-mkdocs_google_fonts.patch
 
b/app-admin/ansible-molecule/files/ansible-molecule-5.1.0-mkdocs_google_fonts.patch
deleted file mode 100644
index 2b3f6af82dcc..
--- 
a/app-admin/ansible-molecule/files/ansible-molecule-5.1.0-mkdocs_google_fonts.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/mkdocs.yml
-+++ b/mkdocs.yml
-@@ -19,6 +19,7 @@
- - 

[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2024-04-29 Thread Marek Szuba
commit: 2559ea599c254aeadb33103029764f00731e
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Apr 30 01:31:01 2024 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue Apr 30 01:31:01 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2559ea59

app-admin/ansible-molecule: stabilize 24.2.1 for amd64

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-24.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-24.2.1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-24.2.1.ebuild
index dc56df03c582..ab9a79f80bdc 100644
--- a/app-admin/ansible-molecule/ansible-molecule-24.2.1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-24.2.1.ebuild
@@ -22,7 +22,7 @@ HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible/molecule
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~riscv"
+KEYWORDS="amd64 ~arm64 ~riscv"
 IUSE="selinux"
 
 # Since around the time of the switch to the yy.m.patchlevel versioning scheme



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2024-04-22 Thread Marek Szuba
commit: a3fc7cf6fbe7f430dbeec076f5b48ba4b4d60d16
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Apr 22 13:50:29 2024 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Apr 22 13:50:29 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3fc7cf6

app-admin/ansible-molecule: allow building against setuptools-scm-8

Closes: https://bugs.gentoo.org/930340
Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-24.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-24.2.1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-24.2.1.ebuild
index 5d55bc9dd5af..dc56df03c582 100644
--- a/app-admin/ansible-molecule/ansible-molecule-24.2.1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-24.2.1.ebuild
@@ -48,7 +48,7 @@ RDEPEND="$(python_gen_cond_dep '
selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
 ')"
 BDEPEND="$(python_gen_cond_dep '
-   =dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}]
doc? (
dev-python/pillow[truetype,${PYTHON_USEDEP}]
media-fonts/roboto



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/files/, app-admin/ansible-molecule/

2024-04-11 Thread Marek Szuba
commit: 16526674b149e79a18a86edc22c429b58dbc0e50
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Apr 11 11:59:00 2024 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Apr 11 12:03:39 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16526674

app-admin/ansible-molecule: add 24.2.1

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/Manifest|  1 +
 .../ansible-molecule-24.2.1.ebuild | 87 ++
 ...sible-molecule-24.2.1-mkdocs_google_fonts.patch | 10 +++
 3 files changed, 98 insertions(+)

diff --git a/app-admin/ansible-molecule/Manifest 
b/app-admin/ansible-molecule/Manifest
index b850ee05029c..948c0d4c840d 100644
--- a/app-admin/ansible-molecule/Manifest
+++ b/app-admin/ansible-molecule/Manifest
@@ -1 +1,2 @@
+DIST molecule-24.2.1.tar.gz 343228 BLAKE2B 
9605b5a8e21d37597cbf35f0f6f811471909dde5496541b1d7cd130eb2b970125fdc291df6493f8716f38514df17d957094604ae49e64d16f2207a0d3682bd38
 SHA512 
3813163d72cee51987d340c8a1ed0e03d8abe509a601e94c3e32bf673a56edd83d0c2bde1347057fe8a4c2b37e11a068ef689dd669d4395da64bec3921f1403d
 DIST molecule-5.1.0.tar.gz 335161 BLAKE2B 
55c2f3c181bef6ab848cf7b52b19649fd861dbdbd68b92d3de9e0a1330755b9b887affd8f78e92ab33145ed60e7131d3cf1ffb7b4d8f10c1c3cab8dd58288af9
 SHA512 
4d025a512e3a6ac7f424318f06bb23b2c1ef1cc122d31d012430bfccf4efeeb3c7ddf2450abd78378c1c50f54fffb1fa8f366f14eebe58125f177ced8cec3ff5

diff --git a/app-admin/ansible-molecule/ansible-molecule-24.2.1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-24.2.1.ebuild
new file mode 100644
index ..5d55bc9dd5af
--- /dev/null
+++ b/app-admin/ansible-molecule/ansible-molecule-24.2.1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="
+   >=dev-python/mkdocs-ansible-24.3.0
+   dev-python/mkdocs-autorefs
+   dev-python/mkdocstrings-python
+   media-gfx/cairosvg
+"
+PYPI_PN="molecule"
+
+inherit distutils-r1 docs optfeature pypi
+
+DESCRIPTION="A toolkit designed to aid in the development and testing of 
Ansible roles"
+HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible/molecule/;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+IUSE="selinux"
+
+# Since around the time of the switch to the yy.m.patchlevel versioning scheme
+# the test suite has been completely incompatible with Portage, with several
+# tests which do pass under Tox failing even with disabled sandboxing.
+# Nb. As of 24.2.1 two tests fail even under Tox, for both PyPI and GitHub
+# tarballs.
+RESTRICT="test"
+
+RDEPEND="$(python_gen_cond_dep '
+   >=app-admin/ansible-core-2.12.10[${PYTHON_USEDEP}]
+   >=dev-python/ansible-compat-4.1.8[${PYTHON_USEDEP}]
+   >=dev-python/click-8.0[${PYTHON_USEDEP}]
+   =dev-python/click-help-colors-0.9[${PYTHON_USEDEP}]
+   >=dev-python/enrich-1.2.7[${PYTHON_USEDEP}]
+   >=dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
+   >=dev-python/jsonschema-4.9.1[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   =dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+   >=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
+   selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
+')"
+BDEPEND="$(python_gen_cond_dep '
+   =app-admin/ansible-lint-6.12.1[${PYTHON_USEDEP}]
+   app-misc/check-jsonschema[${PYTHON_USEDEP}]
+   >=dev-python/ansi2html-1.8.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.9.0[${PYTHON_USEDEP}]
+   =dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-plus-0.4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-3.1.0[${PYTHON_USEDEP}]
+   )
+')"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-24.2.1-mkdocs_google_fonts.patch
+)
+
+# test_role.py doesn't play nicely with FEATURES=usersandbox. As for 
test_command.py:
+#  - quite a few of these tests use the network;
+#  - test_command_dependency[shell] only works if Molecule has previously been 
installed;
+#  - tests involving creation of a new scenario fail on ansible-lint errors, 
even though
+#a config file is deployed which should skip expected issues.
+EPYTEST_DESELECT=(
+   src/molecule/test/functional/test_command.py
+   src/molecule/test/unit/command/init/test_role.py
+)
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+   optfeature_header "Some optional packages commonly used in Molecule 
scenarios:"
+   optfeature "checking playbooks for practices and behaviour that can be 
improved" app-admin/ansible-lint
+}

diff --git 
a/app-admin/ansible-molecule/files/ansible-molecule-24.2.1-mkdocs_google_fonts.patch
 
b/app-admin/ansible-molecule/files/ansible-molecule-24.2.1-mkdocs_google_fonts.patch
new file mode 100644
index 

[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2023-10-23 Thread Marek Szuba
commit: d41c1c087eaf41cb7b33786676fbc114825ab204
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Oct 23 20:59:40 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Oct 23 21:03:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d41c1c08

app-admin/ansible-molecule: require https://bugs.gentoo.org/914553
Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
index c25c0f4d579b..03e254f01fe2 100644
--- a/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
@@ -42,7 +42,7 @@ RDEPEND="$(python_gen_cond_dep '
selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
 ')"
 BDEPEND="$(python_gen_cond_dep '
-   >=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}]
+   

[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2023-10-23 Thread Marek Szuba
commit: 50377fe630ac14c2ff9f7041333ce1a4c1876c19
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Oct 23 21:02:41 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Oct 23 21:03:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50377fe6

app-admin/ansible-molecule: update GitHub remote

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild | 2 +-
 app-admin/ansible-molecule/metadata.xml  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
index 03e254f01fe2..b65753913374 100644
--- a/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
@@ -18,7 +18,7 @@ PYPI_PN="molecule"
 inherit distutils-r1 docs optfeature pypi
 
 DESCRIPTION="A toolkit designed to aid in the development and testing of 
Ansible roles"
-HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible-community/molecule/;
+HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible/molecule/;
 
 LICENSE="MIT"
 SLOT="0"

diff --git a/app-admin/ansible-molecule/metadata.xml 
b/app-admin/ansible-molecule/metadata.xml
index dff0e96953cf..fb47216c4e5e 100644
--- a/app-admin/ansible-molecule/metadata.xml
+++ b/app-admin/ansible-molecule/metadata.xml
@@ -8,6 +8,6 @@


molecule
-   ansible-community/molecule
+   ansible/molecule

 



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2023-08-21 Thread Marek Szuba
commit: af995e01e4242576c210d83f561f95b9528913b6
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Aug 21 13:34:21 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Aug 21 13:46:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af995e01

app-admin/ansible-molecule: stabilize 5.1.0 for ALLARCHES

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
index 0a8afdb32b5f..c25c0f4d579b 100644
--- a/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
@@ -22,7 +22,7 @@ HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible-communit
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv"
+KEYWORDS="amd64 ~riscv"
 IUSE="selinux"
 
 RDEPEND="$(python_gen_cond_dep '



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2023-08-21 Thread Marek Szuba
commit: eb9d5c9a323d0cd522338253a317305d5c99d6a8
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Aug 21 13:35:20 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Aug 21 13:46:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb9d5c9a

app-admin/ansible-molecule: drop 4.0.4

Closes: https://bugs.gentoo.org/905911
Closes: https://bugs.gentoo.org/908821
Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/Manifest|  1 -
 .../ansible-molecule/ansible-molecule-4.0.4.ebuild | 72 --
 2 files changed, 73 deletions(-)

diff --git a/app-admin/ansible-molecule/Manifest 
b/app-admin/ansible-molecule/Manifest
index e0f7659eb081..b850ee05029c 100644
--- a/app-admin/ansible-molecule/Manifest
+++ b/app-admin/ansible-molecule/Manifest
@@ -1,2 +1 @@
-DIST molecule-4.0.4.tar.gz 337260 BLAKE2B 
14c493fa8aaa15466ebca19af9e5325ddb824c151d07d800136dcb714a430ea2dc42b38c9ec6e805e29ec3226376a532793d51c5d0544d6d5105510e5365ca8c
 SHA512 
d7c1ceefbf74cbc27a397e7a40d855b23325bbde31a4cd1920961413a7db950e9fc530fec180de877eb37984bac8603033aa5a582e68e7f4c4ac2a10721c6630
 DIST molecule-5.1.0.tar.gz 335161 BLAKE2B 
55c2f3c181bef6ab848cf7b52b19649fd861dbdbd68b92d3de9e0a1330755b9b887affd8f78e92ab33145ed60e7131d3cf1ffb7b4d8f10c1c3cab8dd58288af9
 SHA512 
4d025a512e3a6ac7f424318f06bb23b2c1ef1cc122d31d012430bfccf4efeeb3c7ddf2450abd78378c1c50f54fffb1fa8f366f14eebe58125f177ced8cec3ff5

diff --git a/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild
deleted file mode 100644
index e648d8f91384..
--- a/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=setuptools
-PYPI_PN="molecule"
-
-inherit distutils-r1 optfeature pypi
-
-DESCRIPTION="A toolkit designed to aid in the development and testing of 
Ansible roles"
-HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible-community/molecule/;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~riscv"
-IUSE="selinux"
-
-RDEPEND="$(python_gen_cond_dep '
-   >=dev-python/ansible-compat-2.2.0[${PYTHON_USEDEP}]
-   dev-python/cerberus[${PYTHON_USEDEP}]
-   >=dev-python/click-8.0[${PYTHON_USEDEP}]
-   >=dev-python/click-help-colors-0.9[${PYTHON_USEDEP}]
-   >=dev-python/enrich-1.2.7[${PYTHON_USEDEP}]
-   >=dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
-   >=dev-python/jsonschema-4.9.1[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   =dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
-   >=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
-   >=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
-   selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
-')"
-BDEPEND="$(python_gen_cond_dep '
-   >=dev-python/setuptools-scm-3.5.0[${PYTHON_USEDEP}]
-   >=dev-python/setuptools_scm_git_archive-1.1[${PYTHON_USEDEP}]
-   doc? (
-   app-admin/ansible-core[${PYTHON_USEDEP}]
-   dev-python/ansible-pygments[${PYTHON_USEDEP}]
-   >=dev-python/simplejson-3.17.2[${PYTHON_USEDEP}]
-   )
-   test? (
-   >=dev-python/ansi2html-1.6.0[${PYTHON_USEDEP}]
-   dev-python/filelock[${PYTHON_USEDEP}]
-   =dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
-   >=dev-python/pytest-testinfra-6.1.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-xdist-2.1.0[${PYTHON_USEDEP}]
-   dev-util/yamllint
-   )
-')"
-
-# test_role.py doesn't play nicely with FEATURES=usersandbox. As for 
test_command.py:
-#  - quite a few of these tests use the network;
-#  - test_command_dependency[shell] only works if Molecule has previously been 
installed;
-#  - tests involving creation of a new scenario fail on ansible-lint errors, 
even though
-#a config file is deployed which should skip expected issues.
-EPYTEST_DESELECT=(
-   src/molecule/test/functional/test_command.py
-   src/molecule/test/unit/command/init/test_role.py
-)
-
-distutils_enable_sphinx docs '>=dev-python/sphinx-notfound-page-0.7.1' 
'

[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/files/, app-admin/ansible-molecule/

2023-07-08 Thread Marek Szuba
commit: 4490fdae0d510034ebe30925c0e72d6a9e951f0e
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Jul  8 22:19:50 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Jul  8 23:39:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4490fdae

app-admin/ansible-molecule: make mkdocs stop trying to download fonts

This should probably be addressed more generally at the level of
dev-python/mkdocs-material, as that is what defaults to downloading
typefaces from Google Fonts [1].

[1] https://squidfunk.github.io/mkdocs-material/setup/changing-the-fonts/

Closes: https://bugs.gentoo.org/906141
Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild   |  4 
 .../files/ansible-molecule-5.1.0-mkdocs_google_fonts.patch | 10 ++
 2 files changed, 14 insertions(+)

diff --git a/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
index 12b1245c52d6..0a8afdb32b5f 100644
--- a/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
@@ -60,6 +60,10 @@ BDEPEND="$(python_gen_cond_dep '
)
 ')"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-5.1.0-mkdocs_google_fonts.patch
+)
+
 # test_role.py doesn't play nicely with FEATURES=usersandbox. As for 
test_command.py:
 #  - quite a few of these tests use the network;
 #  - test_command_dependency[shell] only works if Molecule has previously been 
installed;

diff --git 
a/app-admin/ansible-molecule/files/ansible-molecule-5.1.0-mkdocs_google_fonts.patch
 
b/app-admin/ansible-molecule/files/ansible-molecule-5.1.0-mkdocs_google_fonts.patch
new file mode 100644
index ..2b3f6af82dcc
--- /dev/null
+++ 
b/app-admin/ansible-molecule/files/ansible-molecule-5.1.0-mkdocs_google_fonts.patch
@@ -0,0 +1,10 @@
+--- a/mkdocs.yml
 b/mkdocs.yml
+@@ -19,6 +19,7 @@
+ - navigation.indexes
+ - navigation.tracking
+ - toc.integrate
++  font: false
+   palette:
+ - media: "(prefers-color-scheme: light)"
+   primary: teal



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2023-07-07 Thread Marek Szuba
commit: 9f8b57a389404329c07b7d0d33411565b3841ddd
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Jul  7 22:27:34 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Jul  8 00:52:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f8b57a3

app-admin/ansible-molecule: add 5.1.0

The first version to be able to use, and indeed require,
>=dev-python/ansible-compat-4.1.2

Bug: https://bugs.gentoo.org/908821
Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/Manifest|  1 +
 .../ansible-molecule/ansible-molecule-5.1.0.ebuild | 78 ++
 2 files changed, 79 insertions(+)

diff --git a/app-admin/ansible-molecule/Manifest 
b/app-admin/ansible-molecule/Manifest
index 5b9a3a680071..4cc659ac02c3 100644
--- a/app-admin/ansible-molecule/Manifest
+++ b/app-admin/ansible-molecule/Manifest
@@ -1,2 +1,3 @@
 DIST molecule-4.0.4.tar.gz 337260 BLAKE2B 
14c493fa8aaa15466ebca19af9e5325ddb824c151d07d800136dcb714a430ea2dc42b38c9ec6e805e29ec3226376a532793d51c5d0544d6d5105510e5365ca8c
 SHA512 
d7c1ceefbf74cbc27a397e7a40d855b23325bbde31a4cd1920961413a7db950e9fc530fec180de877eb37984bac8603033aa5a582e68e7f4c4ac2a10721c6630
 DIST molecule-5.0.1.tar.gz 334911 BLAKE2B 
c021171996a4e57a3f3cffc1f72396b07c59f0e0c6a4b9277d9ad994655f37aafc920164f6a91f9a533497f24cc780d4ff07a8e40cfea4ce89e6249b8415e438
 SHA512 
c5d6a112c328932c16c8e126cd6308ad8aecc46a03ab43fef2fd0869e5b93c7216df4c7f7e115ebf8e4b4293968848598e8e02e462b0a9d91307f79c6b0a01bd
+DIST molecule-5.1.0.tar.gz 335161 BLAKE2B 
55c2f3c181bef6ab848cf7b52b19649fd861dbdbd68b92d3de9e0a1330755b9b887affd8f78e92ab33145ed60e7131d3cf1ffb7b4d8f10c1c3cab8dd58288af9
 SHA512 
4d025a512e3a6ac7f424318f06bb23b2c1ef1cc122d31d012430bfccf4efeeb3c7ddf2450abd78378c1c50f54fffb1fa8f366f14eebe58125f177ced8cec3ff5

diff --git a/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
new file mode 100644
index ..12b1245c52d6
--- /dev/null
+++ b/app-admin/ansible-molecule/ansible-molecule-5.1.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+DOCS_BUILDER="mkdocs"
+DOCS_DEPEND="
+   >=dev-python/mkdocs-ansible-0.1.4
+   dev-python/mkdocs-autorefs
+   dev-python/mkdocstrings-python
+   media-gfx/cairosvg
+"
+PYPI_PN="molecule"
+
+inherit distutils-r1 docs optfeature pypi
+
+DESCRIPTION="A toolkit designed to aid in the development and testing of 
Ansible roles"
+HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible-community/molecule/;
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="selinux"
+
+RDEPEND="$(python_gen_cond_dep '
+   >=app-admin/ansible-core-2.12.10[${PYTHON_USEDEP}]
+   >=dev-python/ansible-compat-4.1.2[${PYTHON_USEDEP}]
+   >=dev-python/click-8.0[${PYTHON_USEDEP}]
+   =dev-python/click-help-colors-0.9[${PYTHON_USEDEP}]
+   >=dev-python/enrich-1.2.7[${PYTHON_USEDEP}]
+   >=dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
+   >=dev-python/jsonschema-4.9.1[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   =dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+   >=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
+   >=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
+   selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
+')"
+BDEPEND="$(python_gen_cond_dep '
+   >=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}]
+   doc? (
+   dev-python/pillow[truetype,${PYTHON_USEDEP}]
+   media-fonts/roboto
+   )
+   test? (
+   >=app-admin/ansible-lint-6.12.1[${PYTHON_USEDEP}]
+   app-misc/check-jsonschema[${PYTHON_USEDEP}]
+   >=dev-python/ansi2html-1.8.0[${PYTHON_USEDEP}]
+   >=dev-python/filelock-3.9.0[${PYTHON_USEDEP}]
+   =dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-plus-0.4.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-testinfra-7.0.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-3.1.0[${PYTHON_USEDEP}]
+   )
+')"
+
+# test_role.py doesn't play nicely with FEATURES=usersandbox. As for 
test_command.py:
+#  - quite a few of these tests use the network;
+#  - test_command_dependency[shell] only works if Molecule has previously been 
installed;
+#  - tests involving creation of a new scenario fail on ansible-lint errors, 
even though
+#a config file is deployed which should skip expected issues.
+EPYTEST_DESELECT=(
+   src/molecule/test/functional/test_command.py
+   src/molecule/test/unit/command/init/test_role.py
+)
+
+distutils_enable_tests pytest
+
+pkg_postinst() {
+   optfeature_header "Some optional packages commonly used in Molecule 
scenarios:"
+   optfeature "checking playbooks for 

[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2023-07-07 Thread Marek Szuba
commit: f9b103e0969ca37cae75c5c98c81d796dd1e228a
Author: Marek Szuba  gentoo  org>
AuthorDate: Sat Jul  8 00:51:35 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Sat Jul  8 00:52:15 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9b103e0

app-admin/ansible-molecule: drop 5.0.1

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/Manifest|  1 -
 .../ansible-molecule/ansible-molecule-5.0.1.ebuild | 77 --
 2 files changed, 78 deletions(-)

diff --git a/app-admin/ansible-molecule/Manifest 
b/app-admin/ansible-molecule/Manifest
index 4cc659ac02c3..e0f7659eb081 100644
--- a/app-admin/ansible-molecule/Manifest
+++ b/app-admin/ansible-molecule/Manifest
@@ -1,3 +1,2 @@
 DIST molecule-4.0.4.tar.gz 337260 BLAKE2B 
14c493fa8aaa15466ebca19af9e5325ddb824c151d07d800136dcb714a430ea2dc42b38c9ec6e805e29ec3226376a532793d51c5d0544d6d5105510e5365ca8c
 SHA512 
d7c1ceefbf74cbc27a397e7a40d855b23325bbde31a4cd1920961413a7db950e9fc530fec180de877eb37984bac8603033aa5a582e68e7f4c4ac2a10721c6630
-DIST molecule-5.0.1.tar.gz 334911 BLAKE2B 
c021171996a4e57a3f3cffc1f72396b07c59f0e0c6a4b9277d9ad994655f37aafc920164f6a91f9a533497f24cc780d4ff07a8e40cfea4ce89e6249b8415e438
 SHA512 
c5d6a112c328932c16c8e126cd6308ad8aecc46a03ab43fef2fd0869e5b93c7216df4c7f7e115ebf8e4b4293968848598e8e02e462b0a9d91307f79c6b0a01bd
 DIST molecule-5.1.0.tar.gz 335161 BLAKE2B 
55c2f3c181bef6ab848cf7b52b19649fd861dbdbd68b92d3de9e0a1330755b9b887affd8f78e92ab33145ed60e7131d3cf1ffb7b4d8f10c1c3cab8dd58288af9
 SHA512 
4d025a512e3a6ac7f424318f06bb23b2c1ef1cc122d31d012430bfccf4efeeb3c7ddf2450abd78378c1c50f54fffb1fa8f366f14eebe58125f177ced8cec3ff5

diff --git a/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild
deleted file mode 100644
index 801a44ed2d45..
--- a/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..11} )
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=setuptools
-DOCS_BUILDER="mkdocs"
-DOCS_DEPEND="
-   >=dev-python/mkdocs-ansible-0.1.4
-   dev-python/mkdocs-autorefs
-   dev-python/mkdocstrings-python
-   media-gfx/cairosvg
-"
-PYPI_PN="molecule"
-
-inherit distutils-r1 docs optfeature pypi
-
-DESCRIPTION="A toolkit designed to aid in the development and testing of 
Ansible roles"
-HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible-community/molecule/;
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-IUSE="selinux"
-
-RDEPEND="$(python_gen_cond_dep '
-   =dev-python/click-8.0[${PYTHON_USEDEP}]
-   =dev-python/click-help-colors-0.9[${PYTHON_USEDEP}]
-   >=dev-python/enrich-1.2.7[${PYTHON_USEDEP}]
-   >=dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
-   >=dev-python/jsonschema-4.9.1[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   =dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
-   >=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
-   >=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
-   selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
-')"
-BDEPEND="$(python_gen_cond_dep '
-   >=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}]
-   doc? (
-   dev-python/pillow[truetype,${PYTHON_USEDEP}]
-   media-fonts/roboto
-   )
-   test? (
-   app-admin/ansible-lint[${PYTHON_USEDEP}]
-   app-misc/check-jsonschema[${PYTHON_USEDEP}]
-   >=dev-python/ansi2html-1.6.0[${PYTHON_USEDEP}]
-   dev-python/filelock[${PYTHON_USEDEP}]
-   =dev-python/pytest-mock-3.10.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-plus-0.4.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-testinfra-7.0.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-xdist-3.1.0[${PYTHON_USEDEP}]
-   )
-')"
-
-# test_role.py doesn't play nicely with FEATURES=usersandbox. As for 
test_command.py:
-#  - quite a few of these tests use the network;
-#  - test_command_dependency[shell] only works if Molecule has previously been 
installed;
-#  - tests involving creation of a new scenario fail on ansible-lint errors, 
even though
-#a config file is deployed which should skip expected issues.
-EPYTEST_DESELECT=(
-   src/molecule/test/functional/test_command.py
-   src/molecule/test/unit/command/init/test_role.py
-)
-
-distutils_enable_tests pytest
-
-pkg_postinst() {
-   optfeature_header "Some optional packages commonly used in Molecule 
scenarios:"
-   optfeature "checking playbooks for practices and behaviour that can be 
improved" app-admin/ansible-lint
-}



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2023-05-11 Thread Marek Szuba
commit: 72bea55e979cf98bc25ab9ab77c6068d2d9ca995
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu May 11 21:26:54 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu May 11 21:44:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72bea55e

app-admin/ansible-molecule: tweak USE=doc dependencies

* mkdocstrings-python now takes care of pulling in mkdocstrings,
  and the latter no longer has IUSE=python
* according to Bug #906126 dependencies of the mkdocs plugin 'social'
  will likely only be mentioned as an optfeature, therefore no longer
  consider them only being here temporarily
* pulling in media-fonts/roboto should help with Bug #906141, I'll
  only test this on an offline system later though

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild | 8 ++--
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild
index c8963517cde0..801a44ed2d45 100644
--- a/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild
@@ -11,6 +11,7 @@ DOCS_DEPEND="
>=dev-python/mkdocs-ansible-0.1.4
dev-python/mkdocs-autorefs
dev-python/mkdocstrings-python
+   media-gfx/cairosvg
 "
 PYPI_PN="molecule"
 
@@ -39,16 +40,11 @@ RDEPEND="$(python_gen_cond_dep '
>=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
 ')"
-# cairosvg and pillow are technically speaking dependencies of the 
mkdocs-material
-# plugin "social" (Bug #906126).
-# mkdocstrings is here rather than in DOCS_DEPEND because the latter does not 
seem
-# to support the [use] syntax at present.
 BDEPEND="$(python_gen_cond_dep '
>=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}]
doc? (
-   dev-python/mkdocstrings[python,${PYTHON_USEDEP}]
dev-python/pillow[truetype,${PYTHON_USEDEP}]
-   media-gfx/cairosvg
+   media-fonts/roboto
)
test? (
app-admin/ansible-lint[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/, profiles/base/

2023-05-11 Thread Marek Szuba
commit: cf9f693285c25efe76321ddbff58907e9a9c0ab6
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu May 11 10:53:42 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu May 11 10:56:09 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf9f6932

app-admin/ansible-molecule: enable USE=doc on 5.0.5

Turns out the dependency hell could be put under control merely
by disabling one of the tests in dev-python/mkdocstrings along with
not enabling documentation generation in same.

Bug: https://bugs.gentoo.org/905911
Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild | 15 ++-
 profiles/base/package.use.mask   |  5 -
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild
index ac127b363db2..c8963517cde0 100644
--- a/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-5.0.1.ebuild
@@ -7,14 +7,10 @@ PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_SINGLE_IMPL=1
 DISTUTILS_USE_PEP517=setuptools
 DOCS_BUILDER="mkdocs"
-# cairosvg and pillow are technically speaking dependencies of the 
mkdocs-material
-# plugin "social" (Bug #906126).
-# Still missing: dev-python/mkdocstrings[python]
 DOCS_DEPEND="
-   dev-python/pillow
>=dev-python/mkdocs-ansible-0.1.4
dev-python/mkdocs-autorefs
-   media-gfx/cairosvg
+   dev-python/mkdocstrings-python
 "
 PYPI_PN="molecule"
 
@@ -43,8 +39,17 @@ RDEPEND="$(python_gen_cond_dep '
>=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
 ')"
+# cairosvg and pillow are technically speaking dependencies of the 
mkdocs-material
+# plugin "social" (Bug #906126).
+# mkdocstrings is here rather than in DOCS_DEPEND because the latter does not 
seem
+# to support the [use] syntax at present.
 BDEPEND="$(python_gen_cond_dep '
>=dev-python/setuptools-scm-7.0.0[${PYTHON_USEDEP}]
+   doc? (
+   dev-python/mkdocstrings[python,${PYTHON_USEDEP}]
+   dev-python/pillow[truetype,${PYTHON_USEDEP}]
+   media-gfx/cairosvg
+   )
test? (
app-admin/ansible-lint[${PYTHON_USEDEP}]
app-misc/check-jsonschema[${PYTHON_USEDEP}]

diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index 17e2559ff1c3..0af297a70e2b 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -6,11 +6,6 @@
 # This file is only for generic masks. For arch-specific masks (i.e.
 # mask everywhere, unmask on arch/*) use arch/base.
 
-# Marek Szuba  (2023-05-11)
-# New doc-building system which depends on many packages currently absent
-# from the tree. Work in progress.
->=app-admin/ansible-molecule-5.0.0 doc
-
 # Joonas Niilola  (2023-05-07)
 # Doesn't compile, see #894210.
 dev-libs/log4cxx smtp



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2023-05-09 Thread Marek Szuba
commit: 64b8166b40d88e091210e474b20721488db95c54
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue May  9 13:05:28 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Tue May  9 13:20:25 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b8166b

app-admin/ansible-molecule: drop 4.0.1

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/Manifest|  1 -
 .../ansible-molecule/ansible-molecule-4.0.1.ebuild | 77 --
 2 files changed, 78 deletions(-)

diff --git a/app-admin/ansible-molecule/Manifest 
b/app-admin/ansible-molecule/Manifest
index 519b6758a9f7..5adffb0b199e 100644
--- a/app-admin/ansible-molecule/Manifest
+++ b/app-admin/ansible-molecule/Manifest
@@ -1,2 +1 @@
-DIST ansible-molecule-4.0.1.tar.gz 301517 BLAKE2B 
73cf7a2257368c737b9003236bf77011de167dd6f692166702e7948c136202b33bcce1c70893b61a95af9baa90e7b5266a5fa889e3bba0e5a8c9c1e6f48fec9a
 SHA512 
7515e07bf791d5586e1f5fb4ce0d2f731c94c8268c589155340b2bdc1528534084870e66e492b2d883f9e9764293c93799a4c75478523502a2f37ad0642a472d
 DIST molecule-4.0.4.tar.gz 337260 BLAKE2B 
14c493fa8aaa15466ebca19af9e5325ddb824c151d07d800136dcb714a430ea2dc42b38c9ec6e805e29ec3226376a532793d51c5d0544d6d5105510e5365ca8c
 SHA512 
d7c1ceefbf74cbc27a397e7a40d855b23325bbde31a4cd1920961413a7db950e9fc530fec180de877eb37984bac8603033aa5a582e68e7f4c4ac2a10721c6630

diff --git a/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
deleted file mode 100644
index b7f03fadc438..
--- a/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_10 )
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_PEP517=setuptools
-
-inherit distutils-r1 optfeature
-
-MY_PN="${PN#ansible-}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="A toolkit designed to aid in the development and testing of 
Ansible roles"
-HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible-community/molecule/;
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 ~riscv"
-IUSE="selinux"
-
-RDEPEND="$(python_gen_cond_dep '
-   >=dev-python/ansible-compat-2.2.0[${PYTHON_USEDEP}]
-   dev-python/cerberus[${PYTHON_USEDEP}]
-   >=dev-python/click-8.0[${PYTHON_USEDEP}]
-   >=dev-python/click-help-colors-0.9[${PYTHON_USEDEP}]
-   >=dev-python/enrich-1.2.7[${PYTHON_USEDEP}]
-   >=dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
-   >=dev-python/jsonschema-4.9.1[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   =dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
-   >=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
-   >=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
-   selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
-')"
-BDEPEND="$(python_gen_cond_dep '
-   >=dev-python/setuptools-scm-3.5.0[${PYTHON_USEDEP}]
-   >=dev-python/setuptools_scm_git_archive-1.1[${PYTHON_USEDEP}]
-   doc? (
-   app-admin/ansible-core[${PYTHON_USEDEP}]
-   dev-python/ansible-pygments[${PYTHON_USEDEP}]
-   >=dev-python/simplejson-3.17.2[${PYTHON_USEDEP}]
-   )
-   test? (
-   >=dev-python/ansi2html-1.6.0[${PYTHON_USEDEP}]
-   dev-python/filelock[${PYTHON_USEDEP}]
-   =dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
-   >=dev-python/pytest-testinfra-6.1.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-xdist-2.1.0[${PYTHON_USEDEP}]
-   dev-util/yamllint
-   )
-')"
-
-S="${WORKDIR}"/${MY_P}
-
-# test_role.py doesn't play nicely with FEATURES=usersandbox. As for 
test_command.py:
-#  - quite a few of these tests use the network;
-#  - test_command_dependency[shell] only works if Molecule has previously been 
installed;
-#  - tests involving creation of a new scenario fail on ansible-lint errors, 
even though
-#a config file is deployed which should skip expected issues.
-EPYTEST_DESELECT=(
-   src/molecule/test/functional/test_command.py
-   src/molecule/test/unit/command/init/test_role.py
-)
-
-distutils_enable_sphinx docs '>=dev-python/sphinx-notfound-page-0.7.1' 
'

[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2023-04-10 Thread Marek Szuba
commit: aff2b77ae4430781fbe3bf00a187d0d112dbf820
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Apr 10 10:36:16 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Apr 10 10:39:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aff2b77a

app-admin/ansible-molecule: stabilize 4.0.4 for ALLARCHES

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild
index 0960805c1e45..e648d8f91384 100644
--- a/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild
@@ -15,7 +15,7 @@ HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible-communit
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv"
+KEYWORDS="amd64 ~riscv"
 IUSE="selinux"
 
 RDEPEND="$(python_gen_cond_dep '



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2023-02-27 Thread Marek Szuba
commit: dfb2d0b3a6454799a451802bb21f057922c78ae7
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Feb 27 11:16:01 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Feb 27 12:45:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb2d0b3

app-admin/ansible-molecule: enable py3.11

Closes: https://bugs.gentoo.org/896460
Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild
index 26d1841f8eab..e04e303184de 100644
--- a/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_SINGLE_IMPL=1
 DISTUTILS_USE_PEP517=setuptools
 



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2023-02-24 Thread Marek Szuba
commit: 8f3fb45ba099c5b34bb40378f7dce2479b1bed5d
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Feb 24 20:44:27 2023 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Feb 24 21:19:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f3fb45b

app-admin/ansible-molecule: add 4.0.4

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/Manifest|  1 +
 .../ansible-molecule/ansible-molecule-4.0.4.ebuild | 77 ++
 2 files changed, 78 insertions(+)

diff --git a/app-admin/ansible-molecule/Manifest 
b/app-admin/ansible-molecule/Manifest
index e3f14924e7cc..a927a79ed492 100644
--- a/app-admin/ansible-molecule/Manifest
+++ b/app-admin/ansible-molecule/Manifest
@@ -1 +1,2 @@
 DIST ansible-molecule-4.0.1.tar.gz 301517 BLAKE2B 
73cf7a2257368c737b9003236bf77011de167dd6f692166702e7948c136202b33bcce1c70893b61a95af9baa90e7b5266a5fa889e3bba0e5a8c9c1e6f48fec9a
 SHA512 
7515e07bf791d5586e1f5fb4ce0d2f731c94c8268c589155340b2bdc1528534084870e66e492b2d883f9e9764293c93799a4c75478523502a2f37ad0642a472d
+DIST ansible-molecule-4.0.4.tar.gz 337260 BLAKE2B 
14c493fa8aaa15466ebca19af9e5325ddb824c151d07d800136dcb714a430ea2dc42b38c9ec6e805e29ec3226376a532793d51c5d0544d6d5105510e5365ca8c
 SHA512 
d7c1ceefbf74cbc27a397e7a40d855b23325bbde31a4cd1920961413a7db950e9fc530fec180de877eb37984bac8603033aa5a582e68e7f4c4ac2a10721c6630

diff --git a/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild
new file mode 100644
index ..26d1841f8eab
--- /dev/null
+++ b/app-admin/ansible-molecule/ansible-molecule-4.0.4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_10 )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 optfeature
+
+MY_PN="${PN#ansible-}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A toolkit designed to aid in the development and testing of 
Ansible roles"
+HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible-community/molecule/;
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="selinux"
+
+RDEPEND="$(python_gen_cond_dep '
+   >=dev-python/ansible-compat-2.2.0[${PYTHON_USEDEP}]
+   dev-python/cerberus[${PYTHON_USEDEP}]
+   >=dev-python/click-8.0[${PYTHON_USEDEP}]
+   >=dev-python/click-help-colors-0.9[${PYTHON_USEDEP}]
+   >=dev-python/enrich-1.2.7[${PYTHON_USEDEP}]
+   >=dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
+   >=dev-python/jsonschema-4.9.1[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   =dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+   >=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
+   >=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
+   selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
+')"
+BDEPEND="$(python_gen_cond_dep '
+   >=dev-python/setuptools_scm-3.5.0[${PYTHON_USEDEP}]
+   >=dev-python/setuptools_scm_git_archive-1.1[${PYTHON_USEDEP}]
+   doc? (
+   app-admin/ansible-core[${PYTHON_USEDEP}]
+   dev-python/ansible-pygments[${PYTHON_USEDEP}]
+   >=dev-python/simplejson-3.17.2[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/ansi2html-1.6.0[${PYTHON_USEDEP}]
+   dev-python/filelock[${PYTHON_USEDEP}]
+   =dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
+   >=dev-python/pytest-testinfra-6.1.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-2.1.0[${PYTHON_USEDEP}]
+   dev-util/yamllint
+   )
+')"
+
+S="${WORKDIR}"/${MY_P}
+
+# test_role.py doesn't play nicely with FEATURES=usersandbox. As for 
test_command.py:
+#  - quite a few of these tests use the network;
+#  - test_command_dependency[shell] only works if Molecule has previously been 
installed;
+#  - tests involving creation of a new scenario fail on ansible-lint errors, 
even though
+#a config file is deployed which should skip expected issues.
+EPYTEST_DESELECT=(
+   src/molecule/test/functional/test_command.py
+   src/molecule/test/unit/command/init/test_role.py
+)
+
+distutils_enable_sphinx docs '>=dev-python/sphinx-notfound-page-0.7.1' 
'

[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2023-01-10 Thread Michał Górny
commit: bb3ec96e1a58056572904ed2138cbddc2f30ac70
Author: Michał Górny  gentoo  org>
AuthorDate: Tue Jan 10 14:03:27 2023 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Jan 10 14:15:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb3ec96e

app-admin/ansible-molecule: Remove Python < 3.10

Signed-off-by: Michał Górny  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
index c7f2bb183135..0991e0135aa7 100644
--- a/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_10 )
 DISTUTILS_SINGLE_IMPL=1
 DISTUTILS_USE_PEP517=setuptools
 



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2022-12-10 Thread Michał Górny
commit: 7c064857d193104b77f62712dcd684b0630e5333
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Dec 11 03:25:26 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Dec 11 03:25:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c064857

app-admin/ansible-molecule: Remove py3.8 (b/c ansible-compat)

Signed-off-by: Michał Górny  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
index 0da494a9e37b..c7f2bb183135 100644
--- a/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{9..10} )
 DISTUTILS_SINGLE_IMPL=1
 DISTUTILS_USE_PEP517=setuptools
 



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2022-11-22 Thread Marek Szuba
commit: 3cb4bbea87e9a96ace153904da37465bd54bab83
Author: Marek Szuba  gentoo  org>
AuthorDate: Tue Nov 22 23:58:57 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Nov 23 00:00:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb4bbea

app-admin/ansible-molecule: stabilize 4.0.1 for ALLARCHES

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
index 603414d23bdf..0da494a9e37b 100644
--- a/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz 
-> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~riscv"
+KEYWORDS="amd64 ~riscv"
 IUSE="selinux"
 
 RDEPEND="$(python_gen_cond_dep '



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2022-10-28 Thread Michał Górny
commit: 45a86d1c1bd38f1341d29fe8123d7b07c8e7ddd3
Author: Michał Górny  gentoo  org>
AuthorDate: Fri Oct 28 17:59:07 2022 +
Commit: Michał Górny  gentoo  org>
CommitDate: Fri Oct 28 17:59:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45a86d1c

app-admin/ansible-molecule: Remove unnecessary dep on pytest-html

Bug: https://bugs.gentoo.org/759931
Signed-off-by: Michał Górny  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
index 3e827f95a347..603414d23bdf 100644
--- a/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
@@ -48,7 +48,6 @@ BDEPEND="$(python_gen_cond_dep '
>=dev-python/ansi2html-1.6.0[${PYTHON_USEDEP}]
dev-python/filelock[${PYTHON_USEDEP}]
=dev-python/pytest-html-3.0.0[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}]
>=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
>=dev-python/pytest-testinfra-6.1.0[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/, app-admin/ansible-molecule/files/

2022-09-25 Thread Marek Szuba
commit: 5ba994476880e08472fc4569583de5ceb72d6352
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Sep 26 00:40:59 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Sep 26 01:01:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba99447

app-admin/ansible-molecule: drop 3.5.2-r1

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/Manifest|  1 -
 .../ansible-molecule-3.5.2-r1.ebuild   | 90 --
 .../files/ansible-molecule-3.5.2_pyyaml6.patch | 11 ---
 3 files changed, 102 deletions(-)

diff --git a/app-admin/ansible-molecule/Manifest 
b/app-admin/ansible-molecule/Manifest
index 838c6e6b4a11..e3f14924e7cc 100644
--- a/app-admin/ansible-molecule/Manifest
+++ b/app-admin/ansible-molecule/Manifest
@@ -1,2 +1 @@
 DIST ansible-molecule-4.0.1.tar.gz 301517 BLAKE2B 
73cf7a2257368c737b9003236bf77011de167dd6f692166702e7948c136202b33bcce1c70893b61a95af9baa90e7b5266a5fa889e3bba0e5a8c9c1e6f48fec9a
 SHA512 
7515e07bf791d5586e1f5fb4ce0d2f731c94c8268c589155340b2bdc1528534084870e66e492b2d883f9e9764293c93799a4c75478523502a2f37ad0642a472d
-DIST molecule-3.5.2.tar.gz 290964 BLAKE2B 
b6c6bb8ecdb4230d23161e25fa003c8979f48fc1705bfba7d14204fbaa3e9c235a71db0c4ccbab5c4328ddb8a0725d3c2ba7cb4b624afda21c6453c8be824f3e
 SHA512 
04a7d1f7e7e098c0ada71d8dc9a3e3a94320033942d8ee03f2c51ec185405d2ee13fcb44000a4942ec66923f0426717ab7e2c3a785ddda7a23515096474dc3c3

diff --git a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
deleted file mode 100644
index 2a2c00db61e6..
--- a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-DISTUTILS_SINGLE_IMPL=1
-
-inherit distutils-r1 optfeature
-
-MY_PN="${PN#ansible-}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="A toolkit designed to aid in the development and testing of 
Ansible roles"
-HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible-community/molecule/;
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~riscv"
-IUSE="selinux"
-
-RDEPEND="$(python_gen_cond_dep '
-   >=dev-python/ansible-compat-0.5.0[${PYTHON_USEDEP}]
-   =dev-python/click-8.0[${PYTHON_USEDEP}]
-   >=dev-python/click-help-colors-0.9[${PYTHON_USEDEP}]
-   >=dev-python/enrich-1.2.5[${PYTHON_USEDEP}]
-   >=dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   =dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
-   >=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
-   >=dev-python/subprocess-tee-0.3.5[${PYTHON_USEDEP}]
-   >=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
-   selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
-')"
-BDEPEND="$(python_gen_cond_dep '
-   >=dev-python/setuptools_scm-3.5.0[${PYTHON_USEDEP}]
-   >=dev-python/setuptools_scm_git_archive-1.1[${PYTHON_USEDEP}]
-   doc? (
-   dev-python/ansible-pygments[${PYTHON_USEDEP}]
-   >=dev-python/simplejson-3.17.2[${PYTHON_USEDEP}]
-   )
-   test? (
-   >=dev-python/ansi2html-1.6.0[${PYTHON_USEDEP}]
-   =dev-python/pytest-html-3.0.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}]
-   >=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
-   >=dev-python/pytest-testinfra-6.1.0[${PYTHON_USEDEP}]
-   >=dev-python/pytest-xdist-2.1.0[${PYTHON_USEDEP}]
-   dev-util/yamllint
-   )
-')"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.5.2_pyyaml6.patch
-)
-
-S="${WORKDIR}"/${MY_P}
-
-distutils_enable_sphinx docs '>=dev-python/sphinx-notfound-page-0.7.1' 
'= 2.5.0, < 3
-   pluggy >= 0.7.1, < 2.0
--  PyYAML >= 5.1, < 6
-+  PyYAML >= 5.1
-   rich >= 9.5.1
-   subprocess-tee >= 0.3.5
-   selinux; sys_platform=="linux2"



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2022-09-21 Thread Marek Szuba
commit: b4a775e81cbd44186442d0a755014274ceaa3d17
Author: Marek Szuba  gentoo  org>
AuthorDate: Wed Sep 21 12:14:12 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Wed Sep 21 12:18:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4a775e8

app-admin/ansible-molecule: add 4.0.1

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/Manifest|  1 +
 .../ansible-molecule/ansible-molecule-4.0.1.ebuild | 78 ++
 2 files changed, 79 insertions(+)

diff --git a/app-admin/ansible-molecule/Manifest 
b/app-admin/ansible-molecule/Manifest
index 700d4ea41538..838c6e6b4a11 100644
--- a/app-admin/ansible-molecule/Manifest
+++ b/app-admin/ansible-molecule/Manifest
@@ -1 +1,2 @@
+DIST ansible-molecule-4.0.1.tar.gz 301517 BLAKE2B 
73cf7a2257368c737b9003236bf77011de167dd6f692166702e7948c136202b33bcce1c70893b61a95af9baa90e7b5266a5fa889e3bba0e5a8c9c1e6f48fec9a
 SHA512 
7515e07bf791d5586e1f5fb4ce0d2f731c94c8268c589155340b2bdc1528534084870e66e492b2d883f9e9764293c93799a4c75478523502a2f37ad0642a472d
 DIST molecule-3.5.2.tar.gz 290964 BLAKE2B 
b6c6bb8ecdb4230d23161e25fa003c8979f48fc1705bfba7d14204fbaa3e9c235a71db0c4ccbab5c4328ddb8a0725d3c2ba7cb4b624afda21c6453c8be824f3e
 SHA512 
04a7d1f7e7e098c0ada71d8dc9a3e3a94320033942d8ee03f2c51ec185405d2ee13fcb44000a4942ec66923f0426717ab7e2c3a785ddda7a23515096474dc3c3

diff --git a/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
new file mode 100644
index ..3e827f95a347
--- /dev/null
+++ b/app-admin/ansible-molecule/ansible-molecule-4.0.1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+
+inherit distutils-r1 optfeature
+
+MY_PN="${PN#ansible-}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A toolkit designed to aid in the development and testing of 
Ansible roles"
+HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible-community/molecule/;
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~riscv"
+IUSE="selinux"
+
+RDEPEND="$(python_gen_cond_dep '
+   >=dev-python/ansible-compat-2.2.0[${PYTHON_USEDEP}]
+   dev-python/cerberus[${PYTHON_USEDEP}]
+   >=dev-python/click-8.0[${PYTHON_USEDEP}]
+   >=dev-python/click-help-colors-0.9[${PYTHON_USEDEP}]
+   >=dev-python/enrich-1.2.7[${PYTHON_USEDEP}]
+   >=dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
+   >=dev-python/jsonschema-4.9.1[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   =dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
+   >=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
+   >=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
+   selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
+')"
+BDEPEND="$(python_gen_cond_dep '
+   >=dev-python/setuptools_scm-3.5.0[${PYTHON_USEDEP}]
+   >=dev-python/setuptools_scm_git_archive-1.1[${PYTHON_USEDEP}]
+   doc? (
+   app-admin/ansible-core[${PYTHON_USEDEP}]
+   dev-python/ansible-pygments[${PYTHON_USEDEP}]
+   >=dev-python/simplejson-3.17.2[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/ansi2html-1.6.0[${PYTHON_USEDEP}]
+   dev-python/filelock[${PYTHON_USEDEP}]
+   =dev-python/pytest-html-3.0.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
+   >=dev-python/pytest-testinfra-6.1.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-2.1.0[${PYTHON_USEDEP}]
+   dev-util/yamllint
+   )
+')"
+
+S="${WORKDIR}"/${MY_P}
+
+# test_role.py doesn't play nicely with FEATURES=usersandbox. As for 
test_command.py:
+#  - quite a few of these tests use the network;
+#  - test_command_dependency[shell] only works if Molecule has previously been 
installed;
+#  - tests involving creation of a new scenario fail on ansible-lint errors, 
even though
+#a config file is deployed which should skip expected issues.
+EPYTEST_DESELECT=(
+   src/molecule/test/functional/test_command.py
+   src/molecule/test/unit/command/init/test_role.py
+)
+
+distutils_enable_sphinx docs '>=dev-python/sphinx-notfound-page-0.7.1' 
'

[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2022-06-25 Thread Jakov Smolić
commit: f2a03be48ee1e3b9174cc3fa48214aff0e821232
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Jun 25 16:22:53 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Jun 25 16:36:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2a03be4

app-admin/ansible-molecule: keyword 3.5.2-r1 for ~riscv

Signed-off-by: Jakov Smolić  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
index 0adc88086a0f..2a2c00db61e6 100644
--- a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~riscv"
 IUSE="selinux"
 
 RDEPEND="$(python_gen_cond_dep '



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2022-02-03 Thread Marek Szuba
commit: 27b8ef5a6d0ae1df51021276a92f0081a9ad80ed
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Feb  3 17:31:49 2022 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Feb  3 17:57:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27b8ef5a

app-admin/ansible-molecule: enable py3.10

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
index 0ccbaea87c20..0adc88086a0f 100644
--- a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
@@ -1,10 +1,9 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-# TODO: does support py3.10 upstream so add it here as soon as all the 
dependencies are ready.
-PYTHON_COMPAT=( python3_{8..9} )
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_SINGLE_IMPL=1
 
 inherit distutils-r1 optfeature



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2021-11-26 Thread Marek Szuba
commit: fd5256af1ca48e33207104c9a8443edfae32e58c
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Nov 26 10:05:20 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Nov 26 10:20:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd5256af

app-admin/ansible-molecule: enable test depending on yamllint

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
index 0ee7f33a10d5..0ccbaea87c20 100644
--- a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
@@ -52,6 +52,7 @@ BDEPEND="$(python_gen_cond_dep '
>=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
>=dev-python/pytest-testinfra-6.1.0[${PYTHON_USEDEP}]
>=dev-python/pytest-xdist-2.1.0[${PYTHON_USEDEP}]
+   dev-util/yamllint
)
 ')"
 
@@ -77,8 +78,6 @@ src_prepare() {
#  - tests involving creation of a new scenario fail on ansible-lint 
errors, even though
#a config file is deployed which should skip expected issues.
rm -f src/molecule/test/functional/test_command.py
-   # Uses unpackaged yamllint
-   rm -f src/molecule/test/unit/cookiecutter/test_molecule.py
 }
 
 python_test() {



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/, app-admin/ansible-molecule/files/

2021-11-26 Thread Marek Szuba
commit: 9f3fe052899954cb779b76434f8796f726c716a0
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Nov 26 09:09:54 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Nov 26 09:16:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f3fe052

app-admin/ansible-molecule: remove pyyaml version cap from setup.cfg

I haven't been able to reproduce this on any of my systems (yes,
including outside Docker this time) but as ago's tinderbox shows,
version caps from setup.cfg _can_ sometimes be honoured.

Closes: https://bugs.gentoo.org/827362
Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild   |  4 
 .../files/ansible-molecule-3.5.2_pyyaml6.patch| 11 +++
 2 files changed, 15 insertions(+)

diff --git a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
index 21dc93e1196d..90b97115e875 100644
--- a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
@@ -54,6 +54,10 @@ BDEPEND="$(python_gen_cond_dep '
)
 ')"
 
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.5.2_pyyaml6.patch
+)
+
 S="${WORKDIR}"/${MY_P}
 
 distutils_enable_sphinx docs '>=dev-python/sphinx-notfound-page-0.7.1' 
'= 2.5.0, < 3
+   pluggy >= 0.7.1, < 2.0
+-  PyYAML >= 5.1, < 6
++  PyYAML >= 5.1
+   rich >= 9.5.1
+   subprocess-tee >= 0.3.5
+   selinux; sys_platform=="linux2"



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2021-11-26 Thread Marek Szuba
commit: a9334554bf6d16a75e9665d89716e2a85932335f
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Nov 26 09:14:03 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Nov 26 09:16:23 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9334554

app-admin/ansible-molecule: bdepend on ansible-pygments if USE=doc

This is now a mandatory dependency of documentation, and
dev-python/sphinx_ansible_theme only pulls it in if it itself has
USE=doc set.

Closes: https://bugs.gentoo.org/827366
Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
index 90b97115e875..0ee7f33a10d5 100644
--- a/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
@@ -41,6 +41,7 @@ BDEPEND="$(python_gen_cond_dep '
>=dev-python/setuptools_scm-3.5.0[${PYTHON_USEDEP}]
>=dev-python/setuptools_scm_git_archive-1.1[${PYTHON_USEDEP}]
doc? (
+   dev-python/ansible-pygments[${PYTHON_USEDEP}]
>=dev-python/simplejson-3.17.2[${PYTHON_USEDEP}]
)
test? (



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2021-11-25 Thread Marek Szuba
commit: 0f693f801e8e4bc5e190203dbe7ed32f2e21a54f
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Nov 25 23:22:11 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Nov 25 23:39:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f693f80

app-admin/ansible-molecule: drop 3.3.4

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/Manifest|  1 -
 .../ansible-molecule/ansible-molecule-3.3.4.ebuild | 84 --
 2 files changed, 85 deletions(-)

diff --git a/app-admin/ansible-molecule/Manifest 
b/app-admin/ansible-molecule/Manifest
index bf31ff02b74b..700d4ea41538 100644
--- a/app-admin/ansible-molecule/Manifest
+++ b/app-admin/ansible-molecule/Manifest
@@ -1,2 +1 @@
-DIST molecule-3.3.4.tar.gz 280980 BLAKE2B 
af704a8a8d709323441e6e6057bf7a62b0d89aa582eff4d9139b521ed0729c36836f324cd1741f441fae4ed4b9c148de76c2502a01ce5a7b142bfe32bc7fd391
 SHA512 
8ccc6e121d028bc9d477504a3e5067486d4a3e37f2c27a9686b068c9dac2185db7f965960affb4f9e958bb68d3c3a72786459ea3d221d781377d899b0d75d5a5
 DIST molecule-3.5.2.tar.gz 290964 BLAKE2B 
b6c6bb8ecdb4230d23161e25fa003c8979f48fc1705bfba7d14204fbaa3e9c235a71db0c4ccbab5c4328ddb8a0725d3c2ba7cb4b624afda21c6453c8be824f3e
 SHA512 
04a7d1f7e7e098c0ada71d8dc9a3e3a94320033942d8ee03f2c51ec185405d2ee13fcb44000a4942ec66923f0426717ab7e2c3a785ddda7a23515096474dc3c3

diff --git a/app-admin/ansible-molecule/ansible-molecule-3.3.4.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-3.3.4.ebuild
deleted file mode 100644
index 5655e622e75f..
--- a/app-admin/ansible-molecule/ansible-molecule-3.3.4.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{8..9} )
-DISTUTILS_SINGLE_IMPL=1
-DISTUTILS_USE_SETUPTOOLS="rdepend"
-
-inherit distutils-r1
-
-MY_PN="${PN#ansible-}"
-MY_P="${MY_PN}-${PV}"
-
-DESCRIPTION="A toolkit designed to aid in the development and testing of 
Ansible roles"
-HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible-community/molecule/;
-SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="selinux"
-
-RDEPEND="$(python_gen_cond_dep '
-   >=app-admin/ansible-lint-5.0.12[${PYTHON_USEDEP}]
-   =dev-python/click-8.0[${PYTHON_USEDEP}]
-   dev-python/click-help-colors[${PYTHON_USEDEP}]
-   dev-python/enrich[${PYTHON_USEDEP}]
-   dev-python/jinja[${PYTHON_USEDEP}]
-   dev-python/packaging[${PYTHON_USEDEP}]
-   =dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
-   selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
-')"
-BDEPEND="$(python_gen_cond_dep '
-   dev-python/setuptools_scm[${PYTHON_USEDEP}]
-   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
-   doc? (
-   dev-python/simplejson[${PYTHON_USEDEP}]
-   )
-   test? (
-   dev-python/ansi2html[${PYTHON_USEDEP}]
-   =dev-python/pytest-html-3.0.0[${PYTHON_USEDEP}]
-   dev-python/pytest-mock[${PYTHON_USEDEP}]
-   dev-python/pytest-plus[${PYTHON_USEDEP}]
-   dev-python/pytest-testinfra[${PYTHON_USEDEP}]
-   dev-python/pytest-verbose-parametrize[${PYTHON_USEDEP}]
-   dev-python/pytest-xdist[${PYTHON_USEDEP}]
-   )
-')"
-
-S="${WORKDIR}"/${MY_P}
-
-distutils_enable_sphinx docs '>=dev-python/sphinx-notfound-page-0.7.1' 
'dev-python/sphinx_ansible_theme'
-distutils_enable_tests --install pytest
-
-src_prepare() {
-   default
-
-   if ! use selinux; then
-   sed -i "/^\s\+selinux/d" setup.cfg || die "Failed to remove 
dependency on SELinux"
-   fi
-
-   # Several issues with tests from this file:
-   #  - quite a few of these use the network;
-   #  - test_command_dependency[shell] only works if Molecule has 
previously been installed;
-   #  - tests involving creation of a new scenario fail on ansible-lint 
errors, even though
-   #a config file is deployed which should skip expected issues.
-   rm -f src/molecule/test/functional/test_command.py
-   # Uses unpackaged yamllint
-   rm -f src/molecule/test/unit/cookiecutter/test_molecule.py
-}
-
-python_test() {
-   distutils_install_for_testing --via-venv
-   distutils-r1_python_test
-}



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2021-11-25 Thread Marek Szuba
commit: 5bd606ba8960f63dd37bf058ab010979f07f16fe
Author: Marek Szuba  gentoo  org>
AuthorDate: Thu Nov 25 23:37:25 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Thu Nov 25 23:39:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bd606ba

app-admin/ansible-molecule: support >=dev-python/pyyaml-6

All that upstream commit dcf82b067b0d4a1bfb5f1c478abd0d315b5e46e5,
(to be included in the next release) did was remove the version cap
in setup.cfg, and I have just confirmed that 3.5.2 builds, tests and
installs fine against pyyaml-6.0.

Signed-off-by: Marek Szuba  gentoo.org>

 .../{ansible-molecule-3.5.2.ebuild => ansible-molecule-3.5.2-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/ansible-molecule/ansible-molecule-3.5.2.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
similarity index 98%
rename from app-admin/ansible-molecule/ansible-molecule-3.5.2.ebuild
rename to app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
index f55cd367c9ac..21dc93e1196d 100644
--- a/app-admin/ansible-molecule/ansible-molecule-3.5.2.ebuild
+++ b/app-admin/ansible-molecule/ansible-molecule-3.5.2-r1.ebuild
@@ -31,7 +31,7 @@ RDEPEND="$(python_gen_cond_dep '
dev-python/packaging[${PYTHON_USEDEP}]
=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
>=dev-python/rich-9.5.1[${PYTHON_USEDEP}]
>=dev-python/subprocess-tee-0.3.5[${PYTHON_USEDEP}]
>=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2021-11-19 Thread Marek Szuba
commit: a5306f52e7d940a3410b1e2c0aa55c07ac4c1d52
Author: Marek Szuba  gentoo  org>
AuthorDate: Fri Nov 19 14:47:32 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Fri Nov 19 14:58:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5306f52

app-admin/ansible-molecule: add 3.5.2

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/Manifest|  1 +
 .../ansible-molecule/ansible-molecule-3.5.2.ebuild | 87 ++
 2 files changed, 88 insertions(+)

diff --git a/app-admin/ansible-molecule/Manifest 
b/app-admin/ansible-molecule/Manifest
index e44313be1e7e..bf31ff02b74b 100644
--- a/app-admin/ansible-molecule/Manifest
+++ b/app-admin/ansible-molecule/Manifest
@@ -1 +1,2 @@
 DIST molecule-3.3.4.tar.gz 280980 BLAKE2B 
af704a8a8d709323441e6e6057bf7a62b0d89aa582eff4d9139b521ed0729c36836f324cd1741f441fae4ed4b9c148de76c2502a01ce5a7b142bfe32bc7fd391
 SHA512 
8ccc6e121d028bc9d477504a3e5067486d4a3e37f2c27a9686b068c9dac2185db7f965960affb4f9e958bb68d3c3a72786459ea3d221d781377d899b0d75d5a5
+DIST molecule-3.5.2.tar.gz 290964 BLAKE2B 
b6c6bb8ecdb4230d23161e25fa003c8979f48fc1705bfba7d14204fbaa3e9c235a71db0c4ccbab5c4328ddb8a0725d3c2ba7cb4b624afda21c6453c8be824f3e
 SHA512 
04a7d1f7e7e098c0ada71d8dc9a3e3a94320033942d8ee03f2c51ec185405d2ee13fcb44000a4942ec66923f0426717ab7e2c3a785ddda7a23515096474dc3c3

diff --git a/app-admin/ansible-molecule/ansible-molecule-3.5.2.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-3.5.2.ebuild
new file mode 100644
index ..f55cd367c9ac
--- /dev/null
+++ b/app-admin/ansible-molecule/ansible-molecule-3.5.2.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# TODO: does support py3.10 upstream so add it here as soon as all the 
dependencies are ready.
+PYTHON_COMPAT=( python3_{8..9} )
+DISTUTILS_SINGLE_IMPL=1
+
+inherit distutils-r1 optfeature
+
+MY_PN="${PN#ansible-}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A toolkit designed to aid in the development and testing of 
Ansible roles"
+HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible-community/molecule/;
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="selinux"
+
+RDEPEND="$(python_gen_cond_dep '
+   >=dev-python/ansible-compat-0.5.0[${PYTHON_USEDEP}]
+   =dev-python/click-8.0[${PYTHON_USEDEP}]
+   >=dev-python/click-help-colors-0.9[${PYTHON_USEDEP}]
+   >=dev-python/enrich-1.2.5[${PYTHON_USEDEP}]
+   >=dev-python/jinja-2.11.3[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   =dev-python/rich-9.5.1[${PYTHON_USEDEP}]
+   >=dev-python/subprocess-tee-0.3.5[${PYTHON_USEDEP}]
+   >=dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
+   selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
+')"
+BDEPEND="$(python_gen_cond_dep '
+   >=dev-python/setuptools_scm-3.5.0[${PYTHON_USEDEP}]
+   >=dev-python/setuptools_scm_git_archive-1.1[${PYTHON_USEDEP}]
+   doc? (
+   >=dev-python/simplejson-3.17.2[${PYTHON_USEDEP}]
+   )
+   test? (
+   >=dev-python/ansi2html-1.6.0[${PYTHON_USEDEP}]
+   =dev-python/pytest-html-3.0.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-mock-3.3.1[${PYTHON_USEDEP}]
+   >=dev-python/pytest-plus-0.2[${PYTHON_USEDEP}]
+   >=dev-python/pytest-testinfra-6.1.0[${PYTHON_USEDEP}]
+   >=dev-python/pytest-xdist-2.1.0[${PYTHON_USEDEP}]
+   )
+')"
+
+S="${WORKDIR}"/${MY_P}
+
+distutils_enable_sphinx docs '>=dev-python/sphinx-notfound-page-0.7.1' 
'

[gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-molecule/

2021-06-14 Thread Marek Szuba
commit: 2ae540420bf2a539eafce511e3542ec86ae6a6e4
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Jun 14 12:22:14 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Jun 14 12:38:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ae54042

app-admin/ansible-molecule: initial import

No python3_10 support due to incomplete dependency chain.

Signed-off-by: Marek Szuba  gentoo.org>

 app-admin/ansible-molecule/Manifest|  1 +
 .../ansible-molecule/ansible-molecule-3.3.4.ebuild | 84 ++
 app-admin/ansible-molecule/metadata.xml| 13 
 3 files changed, 98 insertions(+)

diff --git a/app-admin/ansible-molecule/Manifest 
b/app-admin/ansible-molecule/Manifest
new file mode 100644
index 000..e44313be1e7
--- /dev/null
+++ b/app-admin/ansible-molecule/Manifest
@@ -0,0 +1 @@
+DIST molecule-3.3.4.tar.gz 280980 BLAKE2B 
af704a8a8d709323441e6e6057bf7a62b0d89aa582eff4d9139b521ed0729c36836f324cd1741f441fae4ed4b9c148de76c2502a01ce5a7b142bfe32bc7fd391
 SHA512 
8ccc6e121d028bc9d477504a3e5067486d4a3e37f2c27a9686b068c9dac2185db7f965960affb4f9e958bb68d3c3a72786459ea3d221d781377d899b0d75d5a5

diff --git a/app-admin/ansible-molecule/ansible-molecule-3.3.4.ebuild 
b/app-admin/ansible-molecule/ansible-molecule-3.3.4.ebuild
new file mode 100644
index 000..5655e622e75
--- /dev/null
+++ b/app-admin/ansible-molecule/ansible-molecule-3.3.4.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..9} )
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_SETUPTOOLS="rdepend"
+
+inherit distutils-r1
+
+MY_PN="${PN#ansible-}"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A toolkit designed to aid in the development and testing of 
Ansible roles"
+HOMEPAGE="https://pypi.org/project/molecule/ 
https://github.com/ansible-community/molecule/;
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="selinux"
+
+RDEPEND="$(python_gen_cond_dep '
+   >=app-admin/ansible-lint-5.0.12[${PYTHON_USEDEP}]
+   =dev-python/click-8.0[${PYTHON_USEDEP}]
+   dev-python/click-help-colors[${PYTHON_USEDEP}]
+   dev-python/enrich[${PYTHON_USEDEP}]
+   dev-python/jinja[${PYTHON_USEDEP}]
+   dev-python/packaging[${PYTHON_USEDEP}]
+   =dev-util/cookiecutter-1.7.3[${PYTHON_USEDEP}]
+   selinux? ( sys-libs/libselinux[python,${PYTHON_USEDEP}] )
+')"
+BDEPEND="$(python_gen_cond_dep '
+   dev-python/setuptools_scm[${PYTHON_USEDEP}]
+   dev-python/setuptools_scm_git_archive[${PYTHON_USEDEP}]
+   doc? (
+   dev-python/simplejson[${PYTHON_USEDEP}]
+   )
+   test? (
+   dev-python/ansi2html[${PYTHON_USEDEP}]
+   =dev-python/pytest-html-3.0.0[${PYTHON_USEDEP}]
+   dev-python/pytest-mock[${PYTHON_USEDEP}]
+   dev-python/pytest-plus[${PYTHON_USEDEP}]
+   dev-python/pytest-testinfra[${PYTHON_USEDEP}]
+   dev-python/pytest-verbose-parametrize[${PYTHON_USEDEP}]
+   dev-python/pytest-xdist[${PYTHON_USEDEP}]
+   )
+')"
+
+S="${WORKDIR}"/${MY_P}
+
+distutils_enable_sphinx docs '>=dev-python/sphinx-notfound-page-0.7.1' 
'dev-python/sphinx_ansible_theme'
+distutils_enable_tests --install pytest
+
+src_prepare() {
+   default
+
+   if ! use selinux; then
+   sed -i "/^\s\+selinux/d" setup.cfg || die "Failed to remove 
dependency on SELinux"
+   fi
+
+   # Several issues with tests from this file:
+   #  - quite a few of these use the network;
+   #  - test_command_dependency[shell] only works if Molecule has 
previously been installed;
+   #  - tests involving creation of a new scenario fail on ansible-lint 
errors, even though
+   #a config file is deployed which should skip expected issues.
+   rm -f src/molecule/test/functional/test_command.py
+   # Uses unpackaged yamllint
+   rm -f src/molecule/test/unit/cookiecutter/test_molecule.py
+}
+
+python_test() {
+   distutils_install_for_testing --via-venv
+   distutils-r1_python_test
+}

diff --git a/app-admin/ansible-molecule/metadata.xml 
b/app-admin/ansible-molecule/metadata.xml
new file mode 100644
index 000..4c6fab1b1f5
--- /dev/null
+++ b/app-admin/ansible-molecule/metadata.xml
@@ -0,0 +1,13 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   mare...@gentoo.org
+   Marek Szuba
+   
+   
+   
+   molecule
+   ansible-community/molecule
+   
+