Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Molecule 3.6.1 1
@ 2022-06-09 22:29 jcgruenhage
  2022-06-09 22:41 ` WIP: New package: molecule-3.6.1 classabbyamp
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: jcgruenhage @ 2022-06-09 22:29 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1596 bytes --]

There is a new pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages molecule-3.6.1_1
https://github.com/void-linux/void-packages/pull/37479

Molecule 3.6.1 1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (Only ran the automated tests, not manually tried the resulting package yet)

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

## TODO:
 - [ ] maybe reduce the amount of `make_check=no` in the pytest plugins
 - [ ] maybe stop deselecting all the tests that actually try to run molecule as a command
 - [ ] actually try this out
 - [ ] package some backends, like molecule-podman or molecule-docker

A patch file from https://github.com/void-linux/void-packages/pull/37479.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-molecule-3.6.1_1-37479.patch --]
[-- Type: text/x-diff, Size: 28789 bytes --]

From f9229a4cbd3c8b59095a11d7d05f3f77cff65345 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 19:53:57 +0200
Subject: [PATCH 01/17] New package: python3-Cerberus-1.3.2

---
 srcpkgs/python3-Cerberus/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-Cerberus/template

diff --git a/srcpkgs/python3-Cerberus/template b/srcpkgs/python3-Cerberus/template
new file mode 100644
index 000000000000..cb59a8389b90
--- /dev/null
+++ b/srcpkgs/python3-Cerberus/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-Cerberus'
+pkgname=python3-Cerberus
+version=1.3.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Lightweight, extensible data validation library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="ISC"
+homepage="http://python-cerberus.org"
+changelog="https://raw.githubusercontent.com/pyeve/cerberus/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/C/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=302e6694f206dd85cb63f13fd5025b31ab6d38c99c50c6d769f8fa0b0f299589
+
+post_install() {
+	vlicense LICENSE
+}

From e1201f0c0dac10bb04a34892a111a6a99661ede3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 10 May 2022 16:04:50 +0200
Subject: [PATCH 02/17] python3-ansible-compat: update to 2.1.0.

---
 srcpkgs/python3-ansible-compat/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-ansible-compat/template b/srcpkgs/python3-ansible-compat/template
index 5b5b64154f3f..8f94ac5735ae 100644
--- a/srcpkgs/python3-ansible-compat/template
+++ b/srcpkgs/python3-ansible-compat/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-ansible-compat'
 pkgname=python3-ansible-compat
-version=2.0.2
-revision=2
+version=2.1.0
+revision=1
 wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-pep517
 hostmakedepends="python3-wheel python3-setuptools_scm"
@@ -11,7 +11,7 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/ansible-community/ansible-compat"
 distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
-checksum=c651995dc323ef145bab857fee6540febc881fb71b7feafe8163d49e273163a5
+checksum=62bae1bb5c20663d5ee1bfec04f073c08be721040af9ef5bddc7904e6678d184
 
 post_patch() {
 	vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml

From 3107b935c2ab8e3bdd9bdef0ff03902c9e573c05 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:07:15 +0200
Subject: [PATCH 03/17] New package: python3-click-help-colors-0.9.1

---
 srcpkgs/python3-click-help-colors/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-click-help-colors/template

diff --git a/srcpkgs/python3-click-help-colors/template b/srcpkgs/python3-click-help-colors/template
new file mode 100644
index 000000000000..901ea5cb5cf1
--- /dev/null
+++ b/srcpkgs/python3-click-help-colors/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-click-help-colors'
+pkgname=python3-click-help-colors
+version=0.9.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-click"
+checkdepends="${depends} python3-pytest"
+short_desc="Colorization of help messages in Click"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/click-contrib/click-help-colors"
+changelog="https://raw.githubusercontent.com/click-contrib/click-help-colors/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/c/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=78cbcf30cfa81c5fc2a52f49220121e1a8190cd19197d9245997605d3405824d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 9ac1a08e426a1efc14cbf975e3870822aa156ea7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:29:56 +0200
Subject: [PATCH 04/17] New package: python3-jinja2-time-0.2.0

---
 ...se-of-Arrow.replace-with-Arrow.shift.patch | 32 +++++++++++++++++++
 srcpkgs/python3-jinja2-time/template          | 20 ++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch
 create mode 100644 srcpkgs/python3-jinja2-time/template

diff --git a/srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch b/srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch
new file mode 100644
index 000000000000..ed63fcae62d5
--- /dev/null
+++ b/srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch
@@ -0,0 +1,32 @@
+From 65d0605323a957ca8b753788ba9ae6f6506fc2b3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Thu, 9 Jun 2022 20:26:45 +0200
+Subject: [PATCH] fix: substitute use of Arrow.replace with Arrow.shift
+
+---
+ jinja2_time/jinja2_time.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/jinja2_time/jinja2_time.py b/jinja2_time/jinja2_time.py
+index ce713cb..717c8a0 100755
+--- a/jinja2_time/jinja2_time.py
++++ b/jinja2_time/jinja2_time.py
+@@ -19,11 +19,11 @@ class TimeExtension(Extension):
+         d = arrow.now(timezone)
+ 
+         # Parse replace kwargs from offset and include operator
+-        replace_params = {}
++        shift_params = {}
+         for param in offset.split(','):
+             interval, value = param.split('=')
+-            replace_params[interval.strip()] = float(operator + value.strip())
+-        d = d.replace(**replace_params)
++            shift_params[interval.strip()] = float(operator + value.strip())
++        d = d.shift(**shift_params)
+ 
+         if datetime_format is None:
+             datetime_format = self.environment.datetime_format
+-- 
+2.36.1
+
diff --git a/srcpkgs/python3-jinja2-time/template b/srcpkgs/python3-jinja2-time/template
new file mode 100644
index 000000000000..ca0762607534
--- /dev/null
+++ b/srcpkgs/python3-jinja2-time/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jinja2-time'
+pkgname=python3-jinja2-time
+version=0.2.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Jinja2 python3-Arrow"
+checkdepends="${depends} python3-pytest python3-freezegun"
+short_desc="Jinja2 Extension for Dates and Times"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/hackebrot/jinja2-time"
+changelog="https://github.com/hackebrot/jinja2-time/raw/main/HISTORY.rst"
+distfiles="${PYPI_SITE}/j/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=d14eaa4d315e7688daa4969f616f226614350c48730bfa1692d2caebd8c90d40
+
+post_install() {
+	vlicense LICENSE
+}

From 2081dc6bbaed8c02517815d6d1d1b942b96fb8d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:50:25 +0200
Subject: [PATCH 05/17] New package: python3-dparse-0.5.1

---
 srcpkgs/python3-dparse/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-dparse/template

diff --git a/srcpkgs/python3-dparse/template b/srcpkgs/python3-dparse/template
new file mode 100644
index 000000000000..137b51d7ac7d
--- /dev/null
+++ b/srcpkgs/python3-dparse/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-dparse'
+pkgname=python3-dparse
+version=0.5.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-packaging python3-yaml python3-toml"
+checkdepends="${depends} python3-pytest python3-pipenv"
+short_desc="Parser for Python dependency files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pyupio/dparse"
+changelog="https://raw.githubusercontent.com/pyupio/dparse/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/d/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=a1b5f169102e1c894f9a7d5ccf6f9402a836a5d24be80a986c7ce9eaed78f367
+
+post_install() {
+	vlicense LICENSE
+}

From c75b671f52c6fc9cbc81881208b4df11eff0adcd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:54:30 +0200
Subject: [PATCH 06/17] New package: safety-1.10.3

---
 srcpkgs/safety/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/safety/template

diff --git a/srcpkgs/safety/template b/srcpkgs/safety/template
new file mode 100644
index 000000000000..ee451a9bc45e
--- /dev/null
+++ b/srcpkgs/safety/template
@@ -0,0 +1,19 @@
+# Template file for 'safety'
+pkgname=safety
+version=1.10.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-click python3-requests python3-packaging python3-dparse python3-ruamel.yaml"
+checkdepends="${depends} python3-pytest python3-pytest-cov"
+short_desc="Vulnerability scanning for Python dependencies"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://pyup.io/safety/"
+changelog="https://github.com/pyupio/safety/raw/develop/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=30e394d02a20ac49b7f65292d19d38fa927a8f9582cdfd3ad1adbbc66c641ad5
+
+post_install() {
+	vlicense LICENSE
+}

From fa8a8609f52bbaa3059ab6cb08c7256070021f8b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 21:08:51 +0200
Subject: [PATCH 07/17] New package: cookiecutter-2.1.1

---
 srcpkgs/cookiecutter/template | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 srcpkgs/cookiecutter/template

diff --git a/srcpkgs/cookiecutter/template b/srcpkgs/cookiecutter/template
new file mode 100644
index 000000000000..635c20493d13
--- /dev/null
+++ b/srcpkgs/cookiecutter/template
@@ -0,0 +1,25 @@
+# Template file for 'cookiecutter'
+pkgname=cookiecutter
+version=2.1.1
+revision=1
+build_style=python3-module
+make_check_args="--deselect tests/vcs/test_clone.py::test_clone_handles_repo_typo
+ --deselect tests/vcs/test_clone.py::test_clone_handles_repo_typo
+ --deselect tests/vcs/test_clone.py::test_clone_handles_branch_typo
+ --deselect tests/vcs/test_clone.py::test_clone_handles_branch_typo
+ --deselect tests/vcs/test_clone.py::test_clone_unknown_subprocess_error"
+depends="python3-binaryornot python3-Jinja2 python3-click python3-yaml
+ python3-jinja2-time python3-slugify python3-requests"
+checkdepends="${depends} python3-pytest python3-pytest-cov python3-pytest-mock
+ python3-freezegun safety pre-commit"
+short_desc="CLI utility to create projects from cookiecutters (project templates)"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause"
+homepage="https://github.com/cookiecutter/cookiecutter"
+changelog="https://github.com/cookiecutter/cookiecutter/raw/master/HISTORY.md"
+distfiles="${PYPI_SITE}/c/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=f3982be8d9c53dac1261864013fdec7f83afd2e42ede6f6dd069c5e149c540d5
+
+post_install() {
+	vlicense LICENSE
+}

From 5f45bdecd08c4d7fc29dea418124ad477e8be180 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 21:50:21 +0200
Subject: [PATCH 08/17] New package: python3-ansi2html-1.7.0

---
 srcpkgs/python3-ansi2html/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-ansi2html/template

diff --git a/srcpkgs/python3-ansi2html/template b/srcpkgs/python3-ansi2html/template
new file mode 100644
index 000000000000..4a50e1b42098
--- /dev/null
+++ b/srcpkgs/python3-ansi2html/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-ansi2html'
+pkgname=python3-ansi2html
+version=1.7.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+make_check_args="--deselect tests/test_ansi2html.py::TestAnsi2HTML::test_command_script"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-importlib_metadata"
+checkdepends="${depends} python3-pytest python3-pytest-cov python3-mock"
+short_desc="Convert text with ansi color codes to HTML"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/pycontribs/ansi2html"
+changelog="https://github.com/pycontribs/ansi2html/raw/main/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=69316be8c68ac91c5582d397c2890e69c993cc7cda52062ac7e45fcb660d8edc
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+}

From 61ce389e139a5fd810e5cb9dd6734a63aeaff657 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 22:35:04 +0200
Subject: [PATCH 09/17] New package: python3-pytest-metadata-2.0.1

---
 srcpkgs/python3-pytest-metadata/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-metadata/template

diff --git a/srcpkgs/python3-pytest-metadata/template b/srcpkgs/python3-pytest-metadata/template
new file mode 100644
index 000000000000..ac02fc3290f0
--- /dev/null
+++ b/srcpkgs/python3-pytest-metadata/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-metadata'
+pkgname=python3-pytest-metadata
+version=2.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-pytest"
+checkdepends="${depends}"
+short_desc="Pytest plugin for test session metadata"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MPL-2.0"
+homepage="https://github.com/pytest-dev/pytest-metadata"
+changelog="https://github.com/pytest-dev/pytest-metadata/raw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=5cdb6aeea8ba9109181cf9f149c8a3ae1430ff7e44506a8f866af8a98ca46301
+# Requires itself to be installed for it's own tests running properly
+make_check=no

From f103e00e26c87ac25a3c1299024531695e94885e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 23:30:47 +0200
Subject: [PATCH 10/17] New package: python3-pytest-forked-1.4.0

---
 srcpkgs/python3-pytest-forked/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-forked/template

diff --git a/srcpkgs/python3-pytest-forked/template b/srcpkgs/python3-pytest-forked/template
new file mode 100644
index 000000000000..d4e0dd1ff3bb
--- /dev/null
+++ b/srcpkgs/python3-pytest-forked/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pytest-forked'
+pkgname=python3-pytest-forked
+version=1.4.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-pytest"
+short_desc="Pytest plugin for running tests in subprocesses"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pytest-dev/pytest-forked"
+changelog="https://github.com/pytest-dev/pytest-forked/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=8b67587c8f98cbbadfdd804539ed5455b6ed03802203485dd2f53c1422d7440e
+# Requires itself to be installed for it's own tests running properly
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 7925f0945bddfd49a52d66e6b8e6717b3653bc8d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 23:38:04 +0200
Subject: [PATCH 11/17] New package: python3-execnet-1.9.0

---
 srcpkgs/python3-execnet/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-execnet/template

diff --git a/srcpkgs/python3-execnet/template b/srcpkgs/python3-execnet/template
new file mode 100644
index 000000000000..4574cdddb31d
--- /dev/null
+++ b/srcpkgs/python3-execnet/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-execnet'
+pkgname=python3-execnet
+version=1.9.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+checkdepends="python3-pytest python3-pytest-timeout"
+short_desc="Distributed Python deployment and communication"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://execnet.readthedocs.io/en/latest/"
+changelog="https://github.com/pytest-dev/execnet/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/e/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=8f694f3ba9cc92cab508b152dcfe322153975c29bda272e2fd7f3f00f36e47c5
+
+post_install() {
+	vlicense LICENSE
+}

From 07e6ab0ca249ff2b7e08b39ffee4f9db2eae8d58 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 23:44:39 +0200
Subject: [PATCH 12/17] New package: python3-pytest-xdist-2.5.0

---
 srcpkgs/python3-pytest-xdist/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-xdist/template

diff --git a/srcpkgs/python3-pytest-xdist/template b/srcpkgs/python3-pytest-xdist/template
new file mode 100644
index 000000000000..df397a355f12
--- /dev/null
+++ b/srcpkgs/python3-pytest-xdist/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pytest-xdist'
+pkgname=python3-pytest-xdist
+version=2.5.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-execnet python3-pytest python3-pytest-forked"
+short_desc="Pytest plugin for distributed testing"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pytest-dev/pytest-xdist"
+changelog="https://github.com/pytest-dev/pytest-xdist/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=4580deca3ff04ddb2ac53eba39d76cb5dd5edeac050cb6fbc768b0dd712b4edf
+# Requires itself to be installed for it's own tests running properly
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 3262f457748f5a4c6fe9351d685bae48ae2e9ed5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 23:48:35 +0200
Subject: [PATCH 13/17] New package: python3-pytest-rerunfailures-10.2

---
 srcpkgs/python3-pytest-rerunfailures/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-rerunfailures/template

diff --git a/srcpkgs/python3-pytest-rerunfailures/template b/srcpkgs/python3-pytest-rerunfailures/template
new file mode 100644
index 000000000000..b1aff984ada1
--- /dev/null
+++ b/srcpkgs/python3-pytest-rerunfailures/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-pytest-rerunfailures'
+pkgname=python3-pytest-rerunfailures
+version=10.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest python3-pytest-xdist"
+checkdepends="${depends}"
+short_desc="Pytest plugin for re-running flaky tests"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MPL-2.0"
+homepage="https://github.com/pytest-dev/pytest-rerunfailures"
+changelog="https://github.com/pytest-dev/pytest-rerunfailures/raw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=9e1e1bad51e07642c5bbab809fc1d4ec8eebcb7de86f90f1a26e6ef9de446697

From a0f7d2d3d0a924529a67f4b457728cfe5525ad52 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 23:56:33 +0200
Subject: [PATCH 14/17] New package: python3-pytest-html-3.1.1

---
 srcpkgs/python3-pytest-html/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-html/template

diff --git a/srcpkgs/python3-pytest-html/template b/srcpkgs/python3-pytest-html/template
new file mode 100644
index 000000000000..65315edf5f8d
--- /dev/null
+++ b/srcpkgs/python3-pytest-html/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-html'
+pkgname=python3-pytest-html
+version=3.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-toml python3-wheel"
+depends="python3-pytest python3-pytest-metadata"
+checkdepends="${depends} python3-pytest-xdist python3-pytest-rerunfailures
+ python3-ansi2html python3-pytest-mock python3-pytest-cov"
+short_desc="Pytest plugin for generating HTML reports for pytest results"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MPL-2.0"
+homepage="https://github.com/pytest-dev/pytest-html"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=3ee1cf319c913d19fe53aeb0bc400e7b0bc2dbeb477553733db1dad12eb75ee3
+# Requires itself to be installed for it's own tests running properly
+make_check=no

From 6ce086b2b58ff2729da2ab1d4ee3267426007e78 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 00:03:17 +0200
Subject: [PATCH 15/17] New package: python3-pytest-plus-0.2

---
 srcpkgs/python3-pytest-plus/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-plus/template

diff --git a/srcpkgs/python3-pytest-plus/template b/srcpkgs/python3-pytest-plus/template
new file mode 100644
index 000000000000..4e79a72cde2f
--- /dev/null
+++ b/srcpkgs/python3-pytest-plus/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-plus'
+pkgname=python3-pytest-plus
+version=0.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-more-itertools"
+checkdepends="python3-pytest-html"
+short_desc="Pytest plus plugin, extending functionality"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pytest-dev/pytest-plus"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=eb0e11b52c617460bfaae788b82bcfd25efad9472895b240f182a8850757b6c5
+
+post_install() {
+	vlicense LICENSE
+}

From de0ab8da9076eed0f7ae014920484ad45e218ebf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 00:10:25 +0200
Subject: [PATCH 16/17] New package: python3-pytest-testinfra-6.7.0

---
 srcpkgs/python3-pytest-testinfra/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-testinfra/template

diff --git a/srcpkgs/python3-pytest-testinfra/template b/srcpkgs/python3-pytest-testinfra/template
new file mode 100644
index 000000000000..18d4ab28ff94
--- /dev/null
+++ b/srcpkgs/python3-pytest-testinfra/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-pytest-testinfra'
+pkgname=python3-pytest-testinfra
+version=6.7.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-pytest"
+short_desc="Test your infrastructure using pytest"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://testinfra.readthedocs.io/"
+changelog="https://github.com/pytest-dev/pytest-testinfra/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=dfde1ce0f1f7cc0dd5c62a29d0f986f3a98a8c144bbcbaebdf7eeeaf16163ec1
+# Requires outdated ansible
+make_check=no

From 7f9ce017805cae5c98b4ace6e2728ac0ac6a384c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 00:24:39 +0200
Subject: [PATCH 17/17] New package: molecule-3.6.1

---
 srcpkgs/molecule/template | 57 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 srcpkgs/molecule/template

diff --git a/srcpkgs/molecule/template b/srcpkgs/molecule/template
new file mode 100644
index 000000000000..704a4b60be40
--- /dev/null
+++ b/srcpkgs/molecule/template
@@ -0,0 +1,57 @@
+# Template file for 'molecule'
+pkgname=molecule
+version=3.6.1
+revision=1
+build_style=python3-pep517
+make_check_args="--deselect src/molecule/test/functional/test_command.py::test_command_check
+ --deselect src/molecule/test/functional/test_command.py::test_command_cleanup
+ --deselect src/molecule/test/functional/test_command.py::test_command_converge
+ --deselect src/molecule/test/functional/test_command.py::test_command_create
+ --deselect src/molecule/test/functional/test_command.py::test_command_destroy
+ --deselect src/molecule/test/functional/test_command.py::test_command_idempotence
+ --deselect src/molecule/test/functional/test_command.py::test_command_lint
+ --deselect src/molecule/test/functional/test_command.py::test_command_list_with_format_plain
+ --deselect src/molecule/test/functional/test_command.py::test_command_prepare
+ --deselect src/molecule/test/functional/test_command.py::test_command_side_effect
+ --deselect src/molecule/test/functional/test_command.py::test_command_syntax
+ --deselect src/molecule/test/functional/test_command.py::test_command_test
+ --deselect src/molecule/test/functional/test_command.py::test_command_verify
+ --deselect src/molecule/test/unit/test_api.py::test_cli_mol
+ --deselect src/molecule/test/unit/command/test_base.py::test_command_completion
+ --deselect src/molecule/test/unit/command/test_base.py::test_command_completion
+ --deselect src/molecule/test/unit/command/test_base.py::test_command_completion
+ --deselect src/molecule/test/functional/test_command.py::test_command_check
+ --deselect src/molecule/test/functional/test_command.py::test_command_cleanup
+ --deselect src/molecule/test/functional/test_command.py::test_command_converge
+ --deselect src/molecule/test/functional/test_command.py::test_command_create
+ --deselect src/molecule/test/functional/test_command.py::test_command_destroy
+ --deselect src/molecule/test/functional/test_command.py::test_command_idempotence
+ --deselect src/molecule/test/functional/test_command.py::test_command_lint
+ --deselect src/molecule/test/functional/test_command.py::test_command_prepare
+ --deselect src/molecule/test/functional/test_command.py::test_command_side_effect
+ --deselect src/molecule/test/functional/test_command.py::test_command_syntax
+ --deselect src/molecule/test/functional/test_command.py::test_command_test
+ --deselect src/molecule/test/functional/test_command.py::test_command_verify"
+hostmakedepends="python3-wheel python3-toml"
+depends="python3-ansible-compat python3-Cerberus python3-click
+ python3-click-help-colors cookiecutter python3-enrich python3-Jinja2
+ python3-packaging python3-pluggy python3-yaml python3-rich ansible-core
+ python3-yamllint"
+checkdepends="${depends} python3-ansi2html python3-coverage python3-filelock
+ python3-pexpect python3-pytest python3-pytest-cov python3-pytest-html
+ python3-pytest-mock python3-pytest-plus python3-pytest-testinfra
+ python3-pytest-xdist"
+short_desc="Development and testing helper for ansible"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/molecule"
+distfiles="${PYPI_SITE}/m/molecule/molecule-${version}.tar.gz"
+checksum=3b7d5ba2978c15a034df8c7aa59dec5436f7d3260d1f9db2c78ae14ae3a9deeb
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: WIP: New package: molecule-3.6.1
  2022-06-09 22:29 [PR PATCH] Molecule 3.6.1 1 jcgruenhage
@ 2022-06-09 22:41 ` classabbyamp
  2022-06-09 23:14 ` [PR PATCH] [Updated] " jcgruenhage
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2022-06-09 22:41 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

New comment by classabbyamp on void-packages repository

https://github.com/void-linux/void-packages/pull/37479#issuecomment-1151687283

Comment:
I already have a PR open for pytest-xdist, pytest-forked, and execnet: #37099 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] WIP: New package: molecule-3.6.1
  2022-06-09 22:29 [PR PATCH] Molecule 3.6.1 1 jcgruenhage
  2022-06-09 22:41 ` WIP: New package: molecule-3.6.1 classabbyamp
@ 2022-06-09 23:14 ` jcgruenhage
  2022-06-10 12:21 ` jcgruenhage
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jcgruenhage @ 2022-06-09 23:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1634 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages molecule-3.6.1_1
https://github.com/void-linux/void-packages/pull/37479

WIP: New package: molecule-3.6.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (Only ran the automated tests, not manually tried the resulting package yet)

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

## TODO:
 - [ ] maybe reduce the amount of `make_check=no` in the pytest plugins
 - [ ] maybe stop deselecting all the tests that actually try to run molecule as a command
 - [ ] actually try this out
 - [ ] package some backends, like molecule-podman or molecule-docker
 
Fixes #11733

A patch file from https://github.com/void-linux/void-packages/pull/37479.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-molecule-3.6.1_1-37479.patch --]
[-- Type: text/x-diff, Size: 30544 bytes --]

From 0c462c7d05850627a51cf838286043b9bb1acd58 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Fri, 13 May 2022 02:10:50 -0400
Subject: [PATCH 01/18] New package: python3-execnet-1.9.0

---
 srcpkgs/python3-execnet/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-execnet/template

diff --git a/srcpkgs/python3-execnet/template b/srcpkgs/python3-execnet/template
new file mode 100644
index 000000000000..0b3e869180fe
--- /dev/null
+++ b/srcpkgs/python3-execnet/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-execnet'
+pkgname=python3-execnet
+version=1.9.0
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+checkdepends="python3-pytest"
+short_desc="Distributed Python deployment and communication"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="MIT"
+homepage="https://execnet.readthedocs.io/en/stable/"
+changelog="https://raw.githubusercontent.com/pytest-dev/execnet/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/e/execnet/execnet-${version}.tar.gz"
+checksum=8f694f3ba9cc92cab508b152dcfe322153975c29bda272e2fd7f3f00f36e47c5
+
+post_install() {
+	vlicense LICENSE
+}

From a38797ccb04b85a8992d3e62c97456dce0277d8e Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Fri, 13 May 2022 02:11:12 -0400
Subject: [PATCH 02/18] New package: python3-pytest-forked-1.4.0

---
 srcpkgs/python3-pytest-forked/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-forked/template

diff --git a/srcpkgs/python3-pytest-forked/template b/srcpkgs/python3-pytest-forked/template
new file mode 100644
index 000000000000..df82db9de161
--- /dev/null
+++ b/srcpkgs/python3-pytest-forked/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pytest-forked'
+pkgname=python3-pytest-forked
+version=1.4.0
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-pytest"
+short_desc="Run pytest tests in a forked subprocess"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="MIT"
+homepage="https://github.com/pytest-dev/pytest-forked"
+changelog="https://raw.githubusercontent.com/pytest-dev/pytest-forked/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest-forked/pytest-forked-${version}.tar.gz"
+checksum=8b67587c8f98cbbadfdd804539ed5455b6ed03802203485dd2f53c1422d7440e
+# tests only work inside tox
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 856db1ed9bb8517c79e12ffff272a5dfb172d7d5 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Fri, 13 May 2022 02:11:49 -0400
Subject: [PATCH 03/18] New package: python3-pytest-xdist-2.5.0

---
 srcpkgs/python3-pytest-xdist/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-xdist/template

diff --git a/srcpkgs/python3-pytest-xdist/template b/srcpkgs/python3-pytest-xdist/template
new file mode 100644
index 000000000000..36392a27d41d
--- /dev/null
+++ b/srcpkgs/python3-pytest-xdist/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-pytest-xdist'
+pkgname=python3-pytest-xdist
+version=2.5.0
+revision=1
+wrksrc="${pkgname#python3-}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools python3-setuptools_scm"
+depends="python3-pytest python3-pytest-forked python3-execnet"
+short_desc="Pytest plugin for distributed testing & loop-on-failures testing modes"
+maintainer="classabbyamp <void@placeviolette.net>"
+license="MIT"
+homepage="https://github.com/pytest-dev/pytest-xdist"
+changelog="https://raw.githubusercontent.com/pytest-dev/pytest-xdist/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/pytest-xdist/pytest-xdist-${version}.tar.gz"
+checksum=4580deca3ff04ddb2ac53eba39d76cb5dd5edeac050cb6fbc768b0dd712b4edf
+# tests only work in tox
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From bb5d35f4a3d4ce598f734af69b5fcb603a3941a4 Mon Sep 17 00:00:00 2001
From: classabbyamp <dev@placeviolette.net>
Date: Sat, 14 May 2022 15:23:13 -0400
Subject: [PATCH 04/18] common/build-style/python3-*: add support for
 pytest-xdist

if python3-pytest-xdist is included in checkdepends, use $XBPS_MAKEJOBS
to run tests in parallel.
---
 common/build-style/python3-module.sh | 6 +++++-
 common/build-style/python3-pep517.sh | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/common/build-style/python3-module.sh b/common/build-style/python3-module.sh
index 6ec5225d6aab..a0a694ee4a97 100644
--- a/common/build-style/python3-module.sh
+++ b/common/build-style/python3-module.sh
@@ -24,10 +24,14 @@ do_build() {
 }
 
 do_check() {
+	local testjobs
 	if python3 -c 'import pytest' >/dev/null 2>&1; then
+		if python3 -c 'import xdist' >/dev/null 2>&1; then
+			testjobs="-n $XBPS_MAKEJOBS"
+		fi
 		PYTHONPATH="$(cd build/lib* && pwd)" \
 			${make_check_pre} \
-			python3 -m pytest ${make_check_args} ${make_check_target}
+			python3 -m pytest ${testjobs} ${make_check_args} ${make_check_target}
 	else
 		# Fall back to deprecated setup.py test orchestration without pytest
 		if [ -z "$make_check_target" ]; then
diff --git a/common/build-style/python3-pep517.sh b/common/build-style/python3-pep517.sh
index 62cfac7d67d3..1eeb4172492e 100644
--- a/common/build-style/python3-pep517.sh
+++ b/common/build-style/python3-pep517.sh
@@ -13,8 +13,12 @@ do_build() {
 }
 
 do_check() {
+	local testjobs
 	if python3 -c 'import pytest' >/dev/null 2>&1; then
-		${make_check_pre} python3 -m pytest ${make_check_args} ${make_check_target}
+		if python3 -c 'import xdist' >/dev/null 2>&1; then
+			testjobs="-n $XBPS_MAKEJOBS"
+		fi
+		${make_check_pre} python3 -m pytest ${testjobs} ${make_check_args} ${make_check_target}
 	else
 		msg_warn "Unable to determine tests for PEP517 Python templates"
 		return 0

From 692f73f894e0e0ac920ca0ac8efdb5b416e48aba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 19:53:57 +0200
Subject: [PATCH 05/18] New package: python3-Cerberus-1.3.2

---
 srcpkgs/python3-Cerberus/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-Cerberus/template

diff --git a/srcpkgs/python3-Cerberus/template b/srcpkgs/python3-Cerberus/template
new file mode 100644
index 000000000000..cb59a8389b90
--- /dev/null
+++ b/srcpkgs/python3-Cerberus/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-Cerberus'
+pkgname=python3-Cerberus
+version=1.3.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Lightweight, extensible data validation library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="ISC"
+homepage="http://python-cerberus.org"
+changelog="https://raw.githubusercontent.com/pyeve/cerberus/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/C/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=302e6694f206dd85cb63f13fd5025b31ab6d38c99c50c6d769f8fa0b0f299589
+
+post_install() {
+	vlicense LICENSE
+}

From 37958fa6f9673c041efed7fb88a74212d5dc6a0f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 10 May 2022 16:04:50 +0200
Subject: [PATCH 06/18] python3-ansible-compat: update to 2.1.0.

---
 srcpkgs/python3-ansible-compat/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-ansible-compat/template b/srcpkgs/python3-ansible-compat/template
index 5b5b64154f3f..8f94ac5735ae 100644
--- a/srcpkgs/python3-ansible-compat/template
+++ b/srcpkgs/python3-ansible-compat/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-ansible-compat'
 pkgname=python3-ansible-compat
-version=2.0.2
-revision=2
+version=2.1.0
+revision=1
 wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-pep517
 hostmakedepends="python3-wheel python3-setuptools_scm"
@@ -11,7 +11,7 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/ansible-community/ansible-compat"
 distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
-checksum=c651995dc323ef145bab857fee6540febc881fb71b7feafe8163d49e273163a5
+checksum=62bae1bb5c20663d5ee1bfec04f073c08be721040af9ef5bddc7904e6678d184
 
 post_patch() {
 	vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml

From bfa48f24125b88fce6b3e664196e78f720438332 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:07:15 +0200
Subject: [PATCH 07/18] New package: python3-click-help-colors-0.9.1

---
 srcpkgs/python3-click-help-colors/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-click-help-colors/template

diff --git a/srcpkgs/python3-click-help-colors/template b/srcpkgs/python3-click-help-colors/template
new file mode 100644
index 000000000000..901ea5cb5cf1
--- /dev/null
+++ b/srcpkgs/python3-click-help-colors/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-click-help-colors'
+pkgname=python3-click-help-colors
+version=0.9.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-click"
+checkdepends="${depends} python3-pytest"
+short_desc="Colorization of help messages in Click"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/click-contrib/click-help-colors"
+changelog="https://raw.githubusercontent.com/click-contrib/click-help-colors/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/c/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=78cbcf30cfa81c5fc2a52f49220121e1a8190cd19197d9245997605d3405824d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 94a668e2ff80d0505eaf7dd2355a3a0766bdeb96 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:29:56 +0200
Subject: [PATCH 08/18] New package: python3-jinja2-time-0.2.0

---
 ...se-of-Arrow.replace-with-Arrow.shift.patch | 32 +++++++++++++++++++
 srcpkgs/python3-jinja2-time/template          | 20 ++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch
 create mode 100644 srcpkgs/python3-jinja2-time/template

diff --git a/srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch b/srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch
new file mode 100644
index 000000000000..ed63fcae62d5
--- /dev/null
+++ b/srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch
@@ -0,0 +1,32 @@
+From 65d0605323a957ca8b753788ba9ae6f6506fc2b3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Thu, 9 Jun 2022 20:26:45 +0200
+Subject: [PATCH] fix: substitute use of Arrow.replace with Arrow.shift
+
+---
+ jinja2_time/jinja2_time.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/jinja2_time/jinja2_time.py b/jinja2_time/jinja2_time.py
+index ce713cb..717c8a0 100755
+--- a/jinja2_time/jinja2_time.py
++++ b/jinja2_time/jinja2_time.py
+@@ -19,11 +19,11 @@ class TimeExtension(Extension):
+         d = arrow.now(timezone)
+ 
+         # Parse replace kwargs from offset and include operator
+-        replace_params = {}
++        shift_params = {}
+         for param in offset.split(','):
+             interval, value = param.split('=')
+-            replace_params[interval.strip()] = float(operator + value.strip())
+-        d = d.replace(**replace_params)
++            shift_params[interval.strip()] = float(operator + value.strip())
++        d = d.shift(**shift_params)
+ 
+         if datetime_format is None:
+             datetime_format = self.environment.datetime_format
+-- 
+2.36.1
+
diff --git a/srcpkgs/python3-jinja2-time/template b/srcpkgs/python3-jinja2-time/template
new file mode 100644
index 000000000000..ca0762607534
--- /dev/null
+++ b/srcpkgs/python3-jinja2-time/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jinja2-time'
+pkgname=python3-jinja2-time
+version=0.2.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Jinja2 python3-Arrow"
+checkdepends="${depends} python3-pytest python3-freezegun"
+short_desc="Jinja2 Extension for Dates and Times"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/hackebrot/jinja2-time"
+changelog="https://github.com/hackebrot/jinja2-time/raw/main/HISTORY.rst"
+distfiles="${PYPI_SITE}/j/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=d14eaa4d315e7688daa4969f616f226614350c48730bfa1692d2caebd8c90d40
+
+post_install() {
+	vlicense LICENSE
+}

From 6f53875f1981be9ea02270cba7547d3976693fd8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:50:25 +0200
Subject: [PATCH 09/18] New package: python3-dparse-0.5.1

---
 srcpkgs/python3-dparse/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-dparse/template

diff --git a/srcpkgs/python3-dparse/template b/srcpkgs/python3-dparse/template
new file mode 100644
index 000000000000..137b51d7ac7d
--- /dev/null
+++ b/srcpkgs/python3-dparse/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-dparse'
+pkgname=python3-dparse
+version=0.5.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-packaging python3-yaml python3-toml"
+checkdepends="${depends} python3-pytest python3-pipenv"
+short_desc="Parser for Python dependency files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pyupio/dparse"
+changelog="https://raw.githubusercontent.com/pyupio/dparse/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/d/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=a1b5f169102e1c894f9a7d5ccf6f9402a836a5d24be80a986c7ce9eaed78f367
+
+post_install() {
+	vlicense LICENSE
+}

From 332575fd62a00ae9e956112d24a9a6ab01e68701 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:54:30 +0200
Subject: [PATCH 10/18] New package: safety-1.10.3

---
 srcpkgs/safety/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/safety/template

diff --git a/srcpkgs/safety/template b/srcpkgs/safety/template
new file mode 100644
index 000000000000..ee451a9bc45e
--- /dev/null
+++ b/srcpkgs/safety/template
@@ -0,0 +1,19 @@
+# Template file for 'safety'
+pkgname=safety
+version=1.10.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-click python3-requests python3-packaging python3-dparse python3-ruamel.yaml"
+checkdepends="${depends} python3-pytest python3-pytest-cov"
+short_desc="Vulnerability scanning for Python dependencies"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://pyup.io/safety/"
+changelog="https://github.com/pyupio/safety/raw/develop/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=30e394d02a20ac49b7f65292d19d38fa927a8f9582cdfd3ad1adbbc66c641ad5
+
+post_install() {
+	vlicense LICENSE
+}

From 410602ffc3a4606e0772a773db7aba20a6c3a4f1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 21:08:51 +0200
Subject: [PATCH 11/18] New package: cookiecutter-2.1.1

---
 srcpkgs/cookiecutter/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/cookiecutter/template

diff --git a/srcpkgs/cookiecutter/template b/srcpkgs/cookiecutter/template
new file mode 100644
index 000000000000..602ed7a9a64e
--- /dev/null
+++ b/srcpkgs/cookiecutter/template
@@ -0,0 +1,26 @@
+# Template file for 'cookiecutter'
+pkgname=cookiecutter
+version=2.1.1
+revision=1
+build_style=python3-module
+make_check_args="--deselect tests/vcs/test_clone.py::test_clone_handles_repo_typo
+ --deselect tests/vcs/test_clone.py::test_clone_handles_repo_typo
+ --deselect tests/vcs/test_clone.py::test_clone_handles_branch_typo
+ --deselect tests/vcs/test_clone.py::test_clone_handles_branch_typo
+ --deselect tests/vcs/test_clone.py::test_clone_unknown_subprocess_error"
+hostmakedepends="python3-setuptools"
+depends="python3-binaryornot python3-Jinja2 python3-click python3-yaml
+ python3-jinja2-time python3-slugify python3-requests"
+checkdepends="${depends} python3-pytest python3-pytest-cov python3-pytest-mock
+ python3-freezegun safety pre-commit"
+short_desc="CLI utility to create projects from cookiecutters (project templates)"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause"
+homepage="https://github.com/cookiecutter/cookiecutter"
+changelog="https://github.com/cookiecutter/cookiecutter/raw/master/HISTORY.md"
+distfiles="${PYPI_SITE}/c/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=f3982be8d9c53dac1261864013fdec7f83afd2e42ede6f6dd069c5e149c540d5
+
+post_install() {
+	vlicense LICENSE
+}

From d885a2ef2629a937e04e13a7079faa332d42b877 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 21:50:21 +0200
Subject: [PATCH 12/18] New package: python3-ansi2html-1.7.0

---
 srcpkgs/python3-ansi2html/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-ansi2html/template

diff --git a/srcpkgs/python3-ansi2html/template b/srcpkgs/python3-ansi2html/template
new file mode 100644
index 000000000000..4a50e1b42098
--- /dev/null
+++ b/srcpkgs/python3-ansi2html/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-ansi2html'
+pkgname=python3-ansi2html
+version=1.7.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+make_check_args="--deselect tests/test_ansi2html.py::TestAnsi2HTML::test_command_script"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-importlib_metadata"
+checkdepends="${depends} python3-pytest python3-pytest-cov python3-mock"
+short_desc="Convert text with ansi color codes to HTML"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/pycontribs/ansi2html"
+changelog="https://github.com/pycontribs/ansi2html/raw/main/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=69316be8c68ac91c5582d397c2890e69c993cc7cda52062ac7e45fcb660d8edc
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+}

From e3ab6fdc85b6b7755c06e7acdf8a751bd5901d7b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 22:35:04 +0200
Subject: [PATCH 13/18] New package: python3-pytest-metadata-2.0.1

---
 srcpkgs/python3-pytest-metadata/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-metadata/template

diff --git a/srcpkgs/python3-pytest-metadata/template b/srcpkgs/python3-pytest-metadata/template
new file mode 100644
index 000000000000..ac02fc3290f0
--- /dev/null
+++ b/srcpkgs/python3-pytest-metadata/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-metadata'
+pkgname=python3-pytest-metadata
+version=2.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-pytest"
+checkdepends="${depends}"
+short_desc="Pytest plugin for test session metadata"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MPL-2.0"
+homepage="https://github.com/pytest-dev/pytest-metadata"
+changelog="https://github.com/pytest-dev/pytest-metadata/raw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=5cdb6aeea8ba9109181cf9f149c8a3ae1430ff7e44506a8f866af8a98ca46301
+# Requires itself to be installed for it's own tests running properly
+make_check=no

From a06575ae6a1d9b858361dd2ff58cba1b20d6b006 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 23:48:35 +0200
Subject: [PATCH 14/18] New package: python3-pytest-rerunfailures-10.2

---
 srcpkgs/python3-pytest-rerunfailures/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-rerunfailures/template

diff --git a/srcpkgs/python3-pytest-rerunfailures/template b/srcpkgs/python3-pytest-rerunfailures/template
new file mode 100644
index 000000000000..b1aff984ada1
--- /dev/null
+++ b/srcpkgs/python3-pytest-rerunfailures/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-pytest-rerunfailures'
+pkgname=python3-pytest-rerunfailures
+version=10.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest python3-pytest-xdist"
+checkdepends="${depends}"
+short_desc="Pytest plugin for re-running flaky tests"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MPL-2.0"
+homepage="https://github.com/pytest-dev/pytest-rerunfailures"
+changelog="https://github.com/pytest-dev/pytest-rerunfailures/raw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=9e1e1bad51e07642c5bbab809fc1d4ec8eebcb7de86f90f1a26e6ef9de446697

From 253dc746d739d8e4d146a58891c995a2ab26d9f0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 23:56:33 +0200
Subject: [PATCH 15/18] New package: python3-pytest-html-3.1.1

---
 srcpkgs/python3-pytest-html/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-html/template

diff --git a/srcpkgs/python3-pytest-html/template b/srcpkgs/python3-pytest-html/template
new file mode 100644
index 000000000000..65315edf5f8d
--- /dev/null
+++ b/srcpkgs/python3-pytest-html/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-html'
+pkgname=python3-pytest-html
+version=3.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-toml python3-wheel"
+depends="python3-pytest python3-pytest-metadata"
+checkdepends="${depends} python3-pytest-xdist python3-pytest-rerunfailures
+ python3-ansi2html python3-pytest-mock python3-pytest-cov"
+short_desc="Pytest plugin for generating HTML reports for pytest results"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MPL-2.0"
+homepage="https://github.com/pytest-dev/pytest-html"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=3ee1cf319c913d19fe53aeb0bc400e7b0bc2dbeb477553733db1dad12eb75ee3
+# Requires itself to be installed for it's own tests running properly
+make_check=no

From dee2e8db474ad654e758fe0282d90e05efcbcf72 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 00:03:17 +0200
Subject: [PATCH 16/18] New package: python3-pytest-plus-0.2

---
 srcpkgs/python3-pytest-plus/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-plus/template

diff --git a/srcpkgs/python3-pytest-plus/template b/srcpkgs/python3-pytest-plus/template
new file mode 100644
index 000000000000..4e79a72cde2f
--- /dev/null
+++ b/srcpkgs/python3-pytest-plus/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-plus'
+pkgname=python3-pytest-plus
+version=0.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-more-itertools"
+checkdepends="python3-pytest-html"
+short_desc="Pytest plus plugin, extending functionality"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pytest-dev/pytest-plus"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=eb0e11b52c617460bfaae788b82bcfd25efad9472895b240f182a8850757b6c5
+
+post_install() {
+	vlicense LICENSE
+}

From 313e06fdbb6051d1392520684360f0d7809c1623 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 00:10:25 +0200
Subject: [PATCH 17/18] New package: python3-pytest-testinfra-6.7.0

---
 srcpkgs/python3-pytest-testinfra/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-testinfra/template

diff --git a/srcpkgs/python3-pytest-testinfra/template b/srcpkgs/python3-pytest-testinfra/template
new file mode 100644
index 000000000000..18d4ab28ff94
--- /dev/null
+++ b/srcpkgs/python3-pytest-testinfra/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-pytest-testinfra'
+pkgname=python3-pytest-testinfra
+version=6.7.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-pytest"
+short_desc="Test your infrastructure using pytest"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://testinfra.readthedocs.io/"
+changelog="https://github.com/pytest-dev/pytest-testinfra/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=dfde1ce0f1f7cc0dd5c62a29d0f986f3a98a8c144bbcbaebdf7eeeaf16163ec1
+# Requires outdated ansible
+make_check=no

From e3a838534964b17c5bb123ec433df0284ad872a7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 00:24:39 +0200
Subject: [PATCH 18/18] New package: molecule-3.6.1

---
 srcpkgs/molecule/template | 57 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 srcpkgs/molecule/template

diff --git a/srcpkgs/molecule/template b/srcpkgs/molecule/template
new file mode 100644
index 000000000000..704a4b60be40
--- /dev/null
+++ b/srcpkgs/molecule/template
@@ -0,0 +1,57 @@
+# Template file for 'molecule'
+pkgname=molecule
+version=3.6.1
+revision=1
+build_style=python3-pep517
+make_check_args="--deselect src/molecule/test/functional/test_command.py::test_command_check
+ --deselect src/molecule/test/functional/test_command.py::test_command_cleanup
+ --deselect src/molecule/test/functional/test_command.py::test_command_converge
+ --deselect src/molecule/test/functional/test_command.py::test_command_create
+ --deselect src/molecule/test/functional/test_command.py::test_command_destroy
+ --deselect src/molecule/test/functional/test_command.py::test_command_idempotence
+ --deselect src/molecule/test/functional/test_command.py::test_command_lint
+ --deselect src/molecule/test/functional/test_command.py::test_command_list_with_format_plain
+ --deselect src/molecule/test/functional/test_command.py::test_command_prepare
+ --deselect src/molecule/test/functional/test_command.py::test_command_side_effect
+ --deselect src/molecule/test/functional/test_command.py::test_command_syntax
+ --deselect src/molecule/test/functional/test_command.py::test_command_test
+ --deselect src/molecule/test/functional/test_command.py::test_command_verify
+ --deselect src/molecule/test/unit/test_api.py::test_cli_mol
+ --deselect src/molecule/test/unit/command/test_base.py::test_command_completion
+ --deselect src/molecule/test/unit/command/test_base.py::test_command_completion
+ --deselect src/molecule/test/unit/command/test_base.py::test_command_completion
+ --deselect src/molecule/test/functional/test_command.py::test_command_check
+ --deselect src/molecule/test/functional/test_command.py::test_command_cleanup
+ --deselect src/molecule/test/functional/test_command.py::test_command_converge
+ --deselect src/molecule/test/functional/test_command.py::test_command_create
+ --deselect src/molecule/test/functional/test_command.py::test_command_destroy
+ --deselect src/molecule/test/functional/test_command.py::test_command_idempotence
+ --deselect src/molecule/test/functional/test_command.py::test_command_lint
+ --deselect src/molecule/test/functional/test_command.py::test_command_prepare
+ --deselect src/molecule/test/functional/test_command.py::test_command_side_effect
+ --deselect src/molecule/test/functional/test_command.py::test_command_syntax
+ --deselect src/molecule/test/functional/test_command.py::test_command_test
+ --deselect src/molecule/test/functional/test_command.py::test_command_verify"
+hostmakedepends="python3-wheel python3-toml"
+depends="python3-ansible-compat python3-Cerberus python3-click
+ python3-click-help-colors cookiecutter python3-enrich python3-Jinja2
+ python3-packaging python3-pluggy python3-yaml python3-rich ansible-core
+ python3-yamllint"
+checkdepends="${depends} python3-ansi2html python3-coverage python3-filelock
+ python3-pexpect python3-pytest python3-pytest-cov python3-pytest-html
+ python3-pytest-mock python3-pytest-plus python3-pytest-testinfra
+ python3-pytest-xdist"
+short_desc="Development and testing helper for ansible"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/molecule"
+distfiles="${PYPI_SITE}/m/molecule/molecule-${version}.tar.gz"
+checksum=3b7d5ba2978c15a034df8c7aa59dec5436f7d3260d1f9db2c78ae14ae3a9deeb
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] WIP: New package: molecule-3.6.1
  2022-06-09 22:29 [PR PATCH] Molecule 3.6.1 1 jcgruenhage
  2022-06-09 22:41 ` WIP: New package: molecule-3.6.1 classabbyamp
  2022-06-09 23:14 ` [PR PATCH] [Updated] " jcgruenhage
@ 2022-06-10 12:21 ` jcgruenhage
  2022-06-11 10:47 ` jcgruenhage
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: jcgruenhage @ 2022-06-10 12:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1782 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages molecule-3.6.1_1
https://github.com/void-linux/void-packages/pull/37479

WIP: New package: molecule-3.6.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (Only ran the automated tests, not manually tried the resulting package yet)

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

## TODO:
 - ~~maybe reduce the amount of `make_check=no` in the pytest plugins~~
 - ~~maybe stop deselecting all the tests that actually try to run molecule as a command~~ (Reasoning: the current order of operations is do_build -> do_check -> do_install, we'd have to move everything around in order to accomodate that)
 - [ ] actually try this out
 - [ ] package some backends, like molecule-podman or molecule-docker
 
Fixes #11733

A patch file from https://github.com/void-linux/void-packages/pull/37479.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-molecule-3.6.1_1-37479.patch --]
[-- Type: text/x-diff, Size: 32966 bytes --]

From 1360d80f70cc6e841c5daa507d0c0374bc39ccae Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 19:53:57 +0200
Subject: [PATCH 01/20] New package: python3-Cerberus-1.3.2

---
 srcpkgs/python3-Cerberus/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-Cerberus/template

diff --git a/srcpkgs/python3-Cerberus/template b/srcpkgs/python3-Cerberus/template
new file mode 100644
index 000000000000..cb59a8389b90
--- /dev/null
+++ b/srcpkgs/python3-Cerberus/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-Cerberus'
+pkgname=python3-Cerberus
+version=1.3.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Lightweight, extensible data validation library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="ISC"
+homepage="http://python-cerberus.org"
+changelog="https://raw.githubusercontent.com/pyeve/cerberus/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/C/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=302e6694f206dd85cb63f13fd5025b31ab6d38c99c50c6d769f8fa0b0f299589
+
+post_install() {
+	vlicense LICENSE
+}

From 7f26438d50311a81151746221ff96fb45a9a59eb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Tue, 10 May 2022 16:04:50 +0200
Subject: [PATCH 02/20] python3-ansible-compat: update to 2.1.0.

---
 srcpkgs/python3-ansible-compat/template | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/python3-ansible-compat/template b/srcpkgs/python3-ansible-compat/template
index 5b5b64154f3f..8f94ac5735ae 100644
--- a/srcpkgs/python3-ansible-compat/template
+++ b/srcpkgs/python3-ansible-compat/template
@@ -1,7 +1,7 @@
 # Template file for 'python3-ansible-compat'
 pkgname=python3-ansible-compat
-version=2.0.2
-revision=2
+version=2.1.0
+revision=1
 wrksrc="${pkgname/python3-/}-${version}"
 build_style=python3-pep517
 hostmakedepends="python3-wheel python3-setuptools_scm"
@@ -11,7 +11,7 @@ maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
 license="MIT"
 homepage="https://github.com/ansible-community/ansible-compat"
 distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
-checksum=c651995dc323ef145bab857fee6540febc881fb71b7feafe8163d49e273163a5
+checksum=62bae1bb5c20663d5ee1bfec04f073c08be721040af9ef5bddc7904e6678d184
 
 post_patch() {
 	vsed -e "/setuptools_scm_git_archive/d" -i pyproject.toml

From 98e20c8a037652f9ee2cf96bea08e66712353a5a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:07:15 +0200
Subject: [PATCH 03/20] New package: python3-click-help-colors-0.9.1

---
 srcpkgs/python3-click-help-colors/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-click-help-colors/template

diff --git a/srcpkgs/python3-click-help-colors/template b/srcpkgs/python3-click-help-colors/template
new file mode 100644
index 000000000000..901ea5cb5cf1
--- /dev/null
+++ b/srcpkgs/python3-click-help-colors/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-click-help-colors'
+pkgname=python3-click-help-colors
+version=0.9.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-click"
+checkdepends="${depends} python3-pytest"
+short_desc="Colorization of help messages in Click"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/click-contrib/click-help-colors"
+changelog="https://raw.githubusercontent.com/click-contrib/click-help-colors/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/c/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=78cbcf30cfa81c5fc2a52f49220121e1a8190cd19197d9245997605d3405824d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From a183d18657509190a461d5ed8adc5d501a8969b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:29:56 +0200
Subject: [PATCH 04/20] New package: python3-jinja2-time-0.2.0

---
 ...se-of-Arrow.replace-with-Arrow.shift.patch | 32 +++++++++++++++++++
 srcpkgs/python3-jinja2-time/template          | 20 ++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch
 create mode 100644 srcpkgs/python3-jinja2-time/template

diff --git a/srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch b/srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch
new file mode 100644
index 000000000000..ed63fcae62d5
--- /dev/null
+++ b/srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch
@@ -0,0 +1,32 @@
+From 65d0605323a957ca8b753788ba9ae6f6506fc2b3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Thu, 9 Jun 2022 20:26:45 +0200
+Subject: [PATCH] fix: substitute use of Arrow.replace with Arrow.shift
+
+---
+ jinja2_time/jinja2_time.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/jinja2_time/jinja2_time.py b/jinja2_time/jinja2_time.py
+index ce713cb..717c8a0 100755
+--- a/jinja2_time/jinja2_time.py
++++ b/jinja2_time/jinja2_time.py
+@@ -19,11 +19,11 @@ class TimeExtension(Extension):
+         d = arrow.now(timezone)
+ 
+         # Parse replace kwargs from offset and include operator
+-        replace_params = {}
++        shift_params = {}
+         for param in offset.split(','):
+             interval, value = param.split('=')
+-            replace_params[interval.strip()] = float(operator + value.strip())
+-        d = d.replace(**replace_params)
++            shift_params[interval.strip()] = float(operator + value.strip())
++        d = d.shift(**shift_params)
+ 
+         if datetime_format is None:
+             datetime_format = self.environment.datetime_format
+-- 
+2.36.1
+
diff --git a/srcpkgs/python3-jinja2-time/template b/srcpkgs/python3-jinja2-time/template
new file mode 100644
index 000000000000..ca0762607534
--- /dev/null
+++ b/srcpkgs/python3-jinja2-time/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jinja2-time'
+pkgname=python3-jinja2-time
+version=0.2.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Jinja2 python3-Arrow"
+checkdepends="${depends} python3-pytest python3-freezegun"
+short_desc="Jinja2 Extension for Dates and Times"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/hackebrot/jinja2-time"
+changelog="https://github.com/hackebrot/jinja2-time/raw/main/HISTORY.rst"
+distfiles="${PYPI_SITE}/j/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=d14eaa4d315e7688daa4969f616f226614350c48730bfa1692d2caebd8c90d40
+
+post_install() {
+	vlicense LICENSE
+}

From e705a612a0fd3a7305a1ee92286324e15e0dd1e2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:50:25 +0200
Subject: [PATCH 05/20] New package: python3-dparse-0.5.1

---
 srcpkgs/python3-dparse/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-dparse/template

diff --git a/srcpkgs/python3-dparse/template b/srcpkgs/python3-dparse/template
new file mode 100644
index 000000000000..137b51d7ac7d
--- /dev/null
+++ b/srcpkgs/python3-dparse/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-dparse'
+pkgname=python3-dparse
+version=0.5.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-packaging python3-yaml python3-toml"
+checkdepends="${depends} python3-pytest python3-pipenv"
+short_desc="Parser for Python dependency files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pyupio/dparse"
+changelog="https://raw.githubusercontent.com/pyupio/dparse/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/d/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=a1b5f169102e1c894f9a7d5ccf6f9402a836a5d24be80a986c7ce9eaed78f367
+
+post_install() {
+	vlicense LICENSE
+}

From 2b12e3980cd166b207db5bb2bfd9ff49793e6553 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:54:30 +0200
Subject: [PATCH 06/20] New package: safety-1.10.3

---
 srcpkgs/safety/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/safety/template

diff --git a/srcpkgs/safety/template b/srcpkgs/safety/template
new file mode 100644
index 000000000000..ee451a9bc45e
--- /dev/null
+++ b/srcpkgs/safety/template
@@ -0,0 +1,19 @@
+# Template file for 'safety'
+pkgname=safety
+version=1.10.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-click python3-requests python3-packaging python3-dparse python3-ruamel.yaml"
+checkdepends="${depends} python3-pytest python3-pytest-cov"
+short_desc="Vulnerability scanning for Python dependencies"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://pyup.io/safety/"
+changelog="https://github.com/pyupio/safety/raw/develop/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=30e394d02a20ac49b7f65292d19d38fa927a8f9582cdfd3ad1adbbc66c641ad5
+
+post_install() {
+	vlicense LICENSE
+}

From 0eb16b0c8f52025024a980d9dc295faafcbdb732 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 21:08:51 +0200
Subject: [PATCH 07/20] New package: cookiecutter-2.1.1

---
 srcpkgs/cookiecutter/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/cookiecutter/template

diff --git a/srcpkgs/cookiecutter/template b/srcpkgs/cookiecutter/template
new file mode 100644
index 000000000000..602ed7a9a64e
--- /dev/null
+++ b/srcpkgs/cookiecutter/template
@@ -0,0 +1,26 @@
+# Template file for 'cookiecutter'
+pkgname=cookiecutter
+version=2.1.1
+revision=1
+build_style=python3-module
+make_check_args="--deselect tests/vcs/test_clone.py::test_clone_handles_repo_typo
+ --deselect tests/vcs/test_clone.py::test_clone_handles_repo_typo
+ --deselect tests/vcs/test_clone.py::test_clone_handles_branch_typo
+ --deselect tests/vcs/test_clone.py::test_clone_handles_branch_typo
+ --deselect tests/vcs/test_clone.py::test_clone_unknown_subprocess_error"
+hostmakedepends="python3-setuptools"
+depends="python3-binaryornot python3-Jinja2 python3-click python3-yaml
+ python3-jinja2-time python3-slugify python3-requests"
+checkdepends="${depends} python3-pytest python3-pytest-cov python3-pytest-mock
+ python3-freezegun safety pre-commit"
+short_desc="CLI utility to create projects from cookiecutters (project templates)"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause"
+homepage="https://github.com/cookiecutter/cookiecutter"
+changelog="https://github.com/cookiecutter/cookiecutter/raw/master/HISTORY.md"
+distfiles="${PYPI_SITE}/c/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=f3982be8d9c53dac1261864013fdec7f83afd2e42ede6f6dd069c5e149c540d5
+
+post_install() {
+	vlicense LICENSE
+}

From bb28778ae240a2eea8fa00598ebe6fdda0f6b34a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 21:50:21 +0200
Subject: [PATCH 08/20] New package: python3-ansi2html-1.7.0

---
 srcpkgs/python3-ansi2html/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-ansi2html/template

diff --git a/srcpkgs/python3-ansi2html/template b/srcpkgs/python3-ansi2html/template
new file mode 100644
index 000000000000..4a50e1b42098
--- /dev/null
+++ b/srcpkgs/python3-ansi2html/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-ansi2html'
+pkgname=python3-ansi2html
+version=1.7.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+make_check_args="--deselect tests/test_ansi2html.py::TestAnsi2HTML::test_command_script"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-importlib_metadata"
+checkdepends="${depends} python3-pytest python3-pytest-cov python3-mock"
+short_desc="Convert text with ansi color codes to HTML"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/pycontribs/ansi2html"
+changelog="https://github.com/pycontribs/ansi2html/raw/main/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=69316be8c68ac91c5582d397c2890e69c993cc7cda52062ac7e45fcb660d8edc
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+}

From 5f9ce64cd4b180311fac54ff36847ff2d744919d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 22:35:04 +0200
Subject: [PATCH 09/20] New package: python3-pytest-metadata-2.0.1

---
 srcpkgs/python3-pytest-metadata/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-metadata/template

diff --git a/srcpkgs/python3-pytest-metadata/template b/srcpkgs/python3-pytest-metadata/template
new file mode 100644
index 000000000000..ac02fc3290f0
--- /dev/null
+++ b/srcpkgs/python3-pytest-metadata/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-metadata'
+pkgname=python3-pytest-metadata
+version=2.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-pytest"
+checkdepends="${depends}"
+short_desc="Pytest plugin for test session metadata"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MPL-2.0"
+homepage="https://github.com/pytest-dev/pytest-metadata"
+changelog="https://github.com/pytest-dev/pytest-metadata/raw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=5cdb6aeea8ba9109181cf9f149c8a3ae1430ff7e44506a8f866af8a98ca46301
+# Requires itself to be installed for it's own tests running properly
+make_check=no

From cc4de0dabf353836ac18dcecf751ddb42ae1ec59 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 23:48:35 +0200
Subject: [PATCH 10/20] New package: python3-pytest-rerunfailures-10.2

---
 srcpkgs/python3-pytest-rerunfailures/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-rerunfailures/template

diff --git a/srcpkgs/python3-pytest-rerunfailures/template b/srcpkgs/python3-pytest-rerunfailures/template
new file mode 100644
index 000000000000..b1aff984ada1
--- /dev/null
+++ b/srcpkgs/python3-pytest-rerunfailures/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-pytest-rerunfailures'
+pkgname=python3-pytest-rerunfailures
+version=10.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest python3-pytest-xdist"
+checkdepends="${depends}"
+short_desc="Pytest plugin for re-running flaky tests"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MPL-2.0"
+homepage="https://github.com/pytest-dev/pytest-rerunfailures"
+changelog="https://github.com/pytest-dev/pytest-rerunfailures/raw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=9e1e1bad51e07642c5bbab809fc1d4ec8eebcb7de86f90f1a26e6ef9de446697

From cfc6b03471fe61a07c764c91f020dd4ea2f805bb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 23:56:33 +0200
Subject: [PATCH 11/20] New package: python3-pytest-html-3.1.1

---
 srcpkgs/python3-pytest-html/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-html/template

diff --git a/srcpkgs/python3-pytest-html/template b/srcpkgs/python3-pytest-html/template
new file mode 100644
index 000000000000..65315edf5f8d
--- /dev/null
+++ b/srcpkgs/python3-pytest-html/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-html'
+pkgname=python3-pytest-html
+version=3.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-toml python3-wheel"
+depends="python3-pytest python3-pytest-metadata"
+checkdepends="${depends} python3-pytest-xdist python3-pytest-rerunfailures
+ python3-ansi2html python3-pytest-mock python3-pytest-cov"
+short_desc="Pytest plugin for generating HTML reports for pytest results"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MPL-2.0"
+homepage="https://github.com/pytest-dev/pytest-html"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=3ee1cf319c913d19fe53aeb0bc400e7b0bc2dbeb477553733db1dad12eb75ee3
+# Requires itself to be installed for it's own tests running properly
+make_check=no

From 5a0435322c9b4475c2515d428083e8e99552c104 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 00:03:17 +0200
Subject: [PATCH 12/20] New package: python3-pytest-plus-0.2

---
 srcpkgs/python3-pytest-plus/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-plus/template

diff --git a/srcpkgs/python3-pytest-plus/template b/srcpkgs/python3-pytest-plus/template
new file mode 100644
index 000000000000..4e79a72cde2f
--- /dev/null
+++ b/srcpkgs/python3-pytest-plus/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-plus'
+pkgname=python3-pytest-plus
+version=0.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-more-itertools"
+checkdepends="python3-pytest-html"
+short_desc="Pytest plus plugin, extending functionality"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pytest-dev/pytest-plus"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=eb0e11b52c617460bfaae788b82bcfd25efad9472895b240f182a8850757b6c5
+
+post_install() {
+	vlicense LICENSE
+}

From 519f3e132b97f6b230fc377fe575288296f8c70f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 00:10:25 +0200
Subject: [PATCH 13/20] New package: python3-pytest-testinfra-6.7.0

---
 srcpkgs/python3-pytest-testinfra/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-testinfra/template

diff --git a/srcpkgs/python3-pytest-testinfra/template b/srcpkgs/python3-pytest-testinfra/template
new file mode 100644
index 000000000000..18d4ab28ff94
--- /dev/null
+++ b/srcpkgs/python3-pytest-testinfra/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-pytest-testinfra'
+pkgname=python3-pytest-testinfra
+version=6.7.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-pytest"
+short_desc="Test your infrastructure using pytest"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://testinfra.readthedocs.io/"
+changelog="https://github.com/pytest-dev/pytest-testinfra/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=dfde1ce0f1f7cc0dd5c62a29d0f986f3a98a8c144bbcbaebdf7eeeaf16163ec1
+# Requires outdated ansible
+make_check=no

From 1baaf36d322416a0ba3107b2cb7a010b26bbfec4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 00:24:39 +0200
Subject: [PATCH 14/20] New package: molecule-3.6.1

---
 srcpkgs/molecule/template | 57 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 srcpkgs/molecule/template

diff --git a/srcpkgs/molecule/template b/srcpkgs/molecule/template
new file mode 100644
index 000000000000..704a4b60be40
--- /dev/null
+++ b/srcpkgs/molecule/template
@@ -0,0 +1,57 @@
+# Template file for 'molecule'
+pkgname=molecule
+version=3.6.1
+revision=1
+build_style=python3-pep517
+make_check_args="--deselect src/molecule/test/functional/test_command.py::test_command_check
+ --deselect src/molecule/test/functional/test_command.py::test_command_cleanup
+ --deselect src/molecule/test/functional/test_command.py::test_command_converge
+ --deselect src/molecule/test/functional/test_command.py::test_command_create
+ --deselect src/molecule/test/functional/test_command.py::test_command_destroy
+ --deselect src/molecule/test/functional/test_command.py::test_command_idempotence
+ --deselect src/molecule/test/functional/test_command.py::test_command_lint
+ --deselect src/molecule/test/functional/test_command.py::test_command_list_with_format_plain
+ --deselect src/molecule/test/functional/test_command.py::test_command_prepare
+ --deselect src/molecule/test/functional/test_command.py::test_command_side_effect
+ --deselect src/molecule/test/functional/test_command.py::test_command_syntax
+ --deselect src/molecule/test/functional/test_command.py::test_command_test
+ --deselect src/molecule/test/functional/test_command.py::test_command_verify
+ --deselect src/molecule/test/unit/test_api.py::test_cli_mol
+ --deselect src/molecule/test/unit/command/test_base.py::test_command_completion
+ --deselect src/molecule/test/unit/command/test_base.py::test_command_completion
+ --deselect src/molecule/test/unit/command/test_base.py::test_command_completion
+ --deselect src/molecule/test/functional/test_command.py::test_command_check
+ --deselect src/molecule/test/functional/test_command.py::test_command_cleanup
+ --deselect src/molecule/test/functional/test_command.py::test_command_converge
+ --deselect src/molecule/test/functional/test_command.py::test_command_create
+ --deselect src/molecule/test/functional/test_command.py::test_command_destroy
+ --deselect src/molecule/test/functional/test_command.py::test_command_idempotence
+ --deselect src/molecule/test/functional/test_command.py::test_command_lint
+ --deselect src/molecule/test/functional/test_command.py::test_command_prepare
+ --deselect src/molecule/test/functional/test_command.py::test_command_side_effect
+ --deselect src/molecule/test/functional/test_command.py::test_command_syntax
+ --deselect src/molecule/test/functional/test_command.py::test_command_test
+ --deselect src/molecule/test/functional/test_command.py::test_command_verify"
+hostmakedepends="python3-wheel python3-toml"
+depends="python3-ansible-compat python3-Cerberus python3-click
+ python3-click-help-colors cookiecutter python3-enrich python3-Jinja2
+ python3-packaging python3-pluggy python3-yaml python3-rich ansible-core
+ python3-yamllint"
+checkdepends="${depends} python3-ansi2html python3-coverage python3-filelock
+ python3-pexpect python3-pytest python3-pytest-cov python3-pytest-html
+ python3-pytest-mock python3-pytest-plus python3-pytest-testinfra
+ python3-pytest-xdist"
+short_desc="Development and testing helper for ansible"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/molecule"
+distfiles="${PYPI_SITE}/m/molecule/molecule-${version}.tar.gz"
+checksum=3b7d5ba2978c15a034df8c7aa59dec5436f7d3260d1f9db2c78ae14ae3a9deeb
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 5bf02f66002fbae7d938bec5aac360ff23b065df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 13:31:21 +0200
Subject: [PATCH 15/20] New package: molecule-podman-2.0.0

---
 srcpkgs/molecule-podman/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/molecule-podman/template

diff --git a/srcpkgs/molecule-podman/template b/srcpkgs/molecule-podman/template
new file mode 100644
index 000000000000..44a017d4d13c
--- /dev/null
+++ b/srcpkgs/molecule-podman/template
@@ -0,0 +1,19 @@
+# Template file for 'molecule-podman'
+pkgname=molecule-podman
+version=2.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-toml python3-wheel"
+depends="python3-ansible-compat molecule python3-selinux podman"
+short_desc="Podman driver for molecule"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/molecule-podman"
+distfiles="${PYPI_SITE}/m/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=5f26d7f1ce986c608ba4bd5d2e723f2cb4cc3664e0d7deb20f1923a0fb6025aa
+# Requires spawning containers
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From ece92e73e09ecc2c48c061593afb5833db1c9e9c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 13:45:35 +0200
Subject: [PATCH 16/20] New package: molecule-docker-1.1.0

---
 srcpkgs/molecule-docker/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/molecule-docker/template

diff --git a/srcpkgs/molecule-docker/template b/srcpkgs/molecule-docker/template
new file mode 100644
index 000000000000..0707ae57496f
--- /dev/null
+++ b/srcpkgs/molecule-docker/template
@@ -0,0 +1,20 @@
+# Template file for 'molecule-docker'
+pkgname=molecule-docker
+version=1.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-toml python3-wheel"
+depends="python3-ansible-compat molecule python3-selinux python3-docker
+ python3-requests docker"
+short_desc="Docker driver for molecule"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/molecule-docker"
+distfiles="${PYPI_SITE}/m/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=e15133395f10dbf60f75125aae7145f47747fc7158f2317698885013796252bf
+# Requires docker
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 2c5a617eea1b652ca0ec69488e66c1fb8f9ce223 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 13:48:51 +0200
Subject: [PATCH 17/20] New package: molecule-containers-2.0.0

---
 srcpkgs/molecule-containers/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/molecule-containers/template

diff --git a/srcpkgs/molecule-containers/template b/srcpkgs/molecule-containers/template
new file mode 100644
index 000000000000..0fec4cd9e1e7
--- /dev/null
+++ b/srcpkgs/molecule-containers/template
@@ -0,0 +1,19 @@
+# Template file for 'molecule-containers'
+pkgname=molecule-containers
+version=2.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-toml python3-wheel"
+depends="molecule python3-yaml"
+short_desc="Container agnostic driver for molecule"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/molecule-containers"
+distfiles="${PYPI_SITE}/m/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=c83f749001728614f972784875585a99a47cbc84fb8e37f05244660ea7d4c79c
+# Requires spawning containers
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 7b09f324b8bdc8eed19b1cc465d99d39f9163e57 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 13:59:48 +0200
Subject: [PATCH 18/20] New package: python3-vagrant-1.0.0

---
 srcpkgs/python3-vagrant/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/python3-vagrant/template

diff --git a/srcpkgs/python3-vagrant/template b/srcpkgs/python3-vagrant/template
new file mode 100644
index 000000000000..af4d088f3a00
--- /dev/null
+++ b/srcpkgs/python3-vagrant/template
@@ -0,0 +1,26 @@
+# Template file for 'python3-vagrant'
+pkgname=python3-vagrant
+version=1.0.0
+revision=1
+wrksrc="python-vagrant-${version}"
+build_style=python3-pep517
+make_install_target="python_vagrant-${version}-*-*-*.whl"
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3 vagrant"
+short_desc="Python bindings for interacting with Vagrant virtual machines"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/python-vagrant"
+changelog="https://github.com/pycontribs/python-vagrant/raw/main/CHANGELOG.md"
+distfiles="${PYPI_SITE}/p/python-vagrant/python-vagrant-${version}.tar.gz"
+checksum=a8fe93ccf2ff37ecc95ec2f49ea74a91a6ce73a4db4a16a98dd26d397cfd09e5
+# Already requires itself to be installed
+make_check=no
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From f13af52d12c167c85d7ae50afda5495386ae2c12 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 14:10:05 +0200
Subject: [PATCH 19/20] New package: molecule-vagrant-1.0.0

---
 srcpkgs/molecule-vagrant/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/molecule-vagrant/template

diff --git a/srcpkgs/molecule-vagrant/template b/srcpkgs/molecule-vagrant/template
new file mode 100644
index 000000000000..966a20d70f0a
--- /dev/null
+++ b/srcpkgs/molecule-vagrant/template
@@ -0,0 +1,23 @@
+# Template file for 'molecule-vagrant'
+pkgname=molecule-vagrant
+version=1.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-toml python3-wheel"
+depends="molecule python3-yaml python3-Jinja2 python3-selinux python3-vagrant"
+short_desc="Vagrant driver for molecule"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/molecule-vagrant"
+distfiles="${PYPI_SITE}/m/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=fc1e988147226ada8288475b768c52a37366c8b50d30b91635cacfc64e1468c3
+# Requires spawning VMs
+make_check=no
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 7023419f741e08d40d9bd726c47c07cafb766e28 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 14:20:46 +0200
Subject: [PATCH 20/20] New package: python3-pytest-molecule-2.0.0

---
 srcpkgs/python3-pytest-molecule/template | 25 ++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-molecule/template

diff --git a/srcpkgs/python3-pytest-molecule/template b/srcpkgs/python3-pytest-molecule/template
new file mode 100644
index 000000000000..474060d8b5c2
--- /dev/null
+++ b/srcpkgs/python3-pytest-molecule/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-pytest-molecule'
+pkgname=python3-pytest-molecule
+version=2.0.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="molecule python3-pytest python3-pytest-html"
+short_desc="Pytest plugin for discovering and running molecule scenarios"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/pytest-molecule"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=e8ab7d15b02e67c6e08fd50d1c56881e5e1ad6d43bbe2d2f86babc2b60a5d8ba
+# Requires containers/VMs
+make_check=no
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+	vsed -e "s/use_scm_version=True, //" -i setup.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Updated] WIP: New package: molecule-3.6.1
  2022-06-09 22:29 [PR PATCH] Molecule 3.6.1 1 jcgruenhage
                   ` (2 preceding siblings ...)
  2022-06-10 12:21 ` jcgruenhage
@ 2022-06-11 10:47 ` jcgruenhage
  2022-09-10  2:14 ` github-actions
  2022-09-25  2:14 ` [PR PATCH] [Closed]: " github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: jcgruenhage @ 2022-06-11 10:47 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1782 bytes --]

There is an updated pull request by jcgruenhage against master on the void-packages repository

https://github.com/jcgruenhage/void-packages molecule-3.6.1_1
https://github.com/void-linux/void-packages/pull/37479

WIP: New package: molecule-3.6.1
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (Only ran the automated tests, not manually tried the resulting package yet)

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

## TODO:
 - ~~maybe reduce the amount of `make_check=no` in the pytest plugins~~
 - ~~maybe stop deselecting all the tests that actually try to run molecule as a command~~ (Reasoning: the current order of operations is do_build -> do_check -> do_install, we'd have to move everything around in order to accomodate that)
 - [ ] actually try this out
 - [x] package some backends, like molecule-podman or molecule-docker
 
Fixes #11733

A patch file from https://github.com/void-linux/void-packages/pull/37479.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-molecule-3.6.1_1-37479.patch --]
[-- Type: text/x-diff, Size: 32944 bytes --]

From 8cd57fb8eda1d8733a5a0ba041c15dd650da3a86 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 19:53:57 +0200
Subject: [PATCH 01/20] New package: python3-Cerberus-1.3.2

---
 srcpkgs/python3-Cerberus/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-Cerberus/template

diff --git a/srcpkgs/python3-Cerberus/template b/srcpkgs/python3-Cerberus/template
new file mode 100644
index 000000000000..cb59a8389b90
--- /dev/null
+++ b/srcpkgs/python3-Cerberus/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-Cerberus'
+pkgname=python3-Cerberus
+version=1.3.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3"
+checkdepends="python3-pytest"
+short_desc="Lightweight, extensible data validation library for Python"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="ISC"
+homepage="http://python-cerberus.org"
+changelog="https://raw.githubusercontent.com/pyeve/cerberus/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/C/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=302e6694f206dd85cb63f13fd5025b31ab6d38c99c50c6d769f8fa0b0f299589
+
+post_install() {
+	vlicense LICENSE
+}

From 741c42a2e4e89364bc89d07591ea083f54047cc0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:07:15 +0200
Subject: [PATCH 02/20] New package: python3-click-help-colors-0.9.1

---
 srcpkgs/python3-click-help-colors/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-click-help-colors/template

diff --git a/srcpkgs/python3-click-help-colors/template b/srcpkgs/python3-click-help-colors/template
new file mode 100644
index 000000000000..901ea5cb5cf1
--- /dev/null
+++ b/srcpkgs/python3-click-help-colors/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-click-help-colors'
+pkgname=python3-click-help-colors
+version=0.9.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-click"
+checkdepends="${depends} python3-pytest"
+short_desc="Colorization of help messages in Click"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/click-contrib/click-help-colors"
+changelog="https://raw.githubusercontent.com/click-contrib/click-help-colors/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/c/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=78cbcf30cfa81c5fc2a52f49220121e1a8190cd19197d9245997605d3405824d
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 4d0f8b2143033965619b1f7824f5cc3875458257 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:29:56 +0200
Subject: [PATCH 03/20] New package: python3-jinja2-time-0.2.0

---
 ...se-of-Arrow.replace-with-Arrow.shift.patch | 32 +++++++++++++++++++
 srcpkgs/python3-jinja2-time/template          | 20 ++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch
 create mode 100644 srcpkgs/python3-jinja2-time/template

diff --git a/srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch b/srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch
new file mode 100644
index 000000000000..ed63fcae62d5
--- /dev/null
+++ b/srcpkgs/python3-jinja2-time/patches/0001-fix-substitute-use-of-Arrow.replace-with-Arrow.shift.patch
@@ -0,0 +1,32 @@
+From 65d0605323a957ca8b753788ba9ae6f6506fc2b3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
+ <jan.christian@gruenhage.xyz>
+Date: Thu, 9 Jun 2022 20:26:45 +0200
+Subject: [PATCH] fix: substitute use of Arrow.replace with Arrow.shift
+
+---
+ jinja2_time/jinja2_time.py | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/jinja2_time/jinja2_time.py b/jinja2_time/jinja2_time.py
+index ce713cb..717c8a0 100755
+--- a/jinja2_time/jinja2_time.py
++++ b/jinja2_time/jinja2_time.py
+@@ -19,11 +19,11 @@ class TimeExtension(Extension):
+         d = arrow.now(timezone)
+ 
+         # Parse replace kwargs from offset and include operator
+-        replace_params = {}
++        shift_params = {}
+         for param in offset.split(','):
+             interval, value = param.split('=')
+-            replace_params[interval.strip()] = float(operator + value.strip())
+-        d = d.replace(**replace_params)
++            shift_params[interval.strip()] = float(operator + value.strip())
++        d = d.shift(**shift_params)
+ 
+         if datetime_format is None:
+             datetime_format = self.environment.datetime_format
+-- 
+2.36.1
+
diff --git a/srcpkgs/python3-jinja2-time/template b/srcpkgs/python3-jinja2-time/template
new file mode 100644
index 000000000000..ca0762607534
--- /dev/null
+++ b/srcpkgs/python3-jinja2-time/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-jinja2-time'
+pkgname=python3-jinja2-time
+version=0.2.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-Jinja2 python3-Arrow"
+checkdepends="${depends} python3-pytest python3-freezegun"
+short_desc="Jinja2 Extension for Dates and Times"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/hackebrot/jinja2-time"
+changelog="https://github.com/hackebrot/jinja2-time/raw/main/HISTORY.rst"
+distfiles="${PYPI_SITE}/j/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=d14eaa4d315e7688daa4969f616f226614350c48730bfa1692d2caebd8c90d40
+
+post_install() {
+	vlicense LICENSE
+}

From e2156f2a40d14dee6c63796198d443cbe7232f09 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:50:25 +0200
Subject: [PATCH 04/20] New package: python3-dparse-0.5.1

---
 srcpkgs/python3-dparse/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-dparse/template

diff --git a/srcpkgs/python3-dparse/template b/srcpkgs/python3-dparse/template
new file mode 100644
index 000000000000..137b51d7ac7d
--- /dev/null
+++ b/srcpkgs/python3-dparse/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-dparse'
+pkgname=python3-dparse
+version=0.5.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-packaging python3-yaml python3-toml"
+checkdepends="${depends} python3-pytest python3-pipenv"
+short_desc="Parser for Python dependency files"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pyupio/dparse"
+changelog="https://raw.githubusercontent.com/pyupio/dparse/master/HISTORY.rst"
+distfiles="${PYPI_SITE}/d/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=a1b5f169102e1c894f9a7d5ccf6f9402a836a5d24be80a986c7ce9eaed78f367
+
+post_install() {
+	vlicense LICENSE
+}

From d7de994cfcfafe0f1f008a03f9f2255335c0da30 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 20:54:30 +0200
Subject: [PATCH 05/20] New package: safety-1.10.3

---
 srcpkgs/safety/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/safety/template

diff --git a/srcpkgs/safety/template b/srcpkgs/safety/template
new file mode 100644
index 000000000000..ee451a9bc45e
--- /dev/null
+++ b/srcpkgs/safety/template
@@ -0,0 +1,19 @@
+# Template file for 'safety'
+pkgname=safety
+version=1.10.3
+revision=1
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-click python3-requests python3-packaging python3-dparse python3-ruamel.yaml"
+checkdepends="${depends} python3-pytest python3-pytest-cov"
+short_desc="Vulnerability scanning for Python dependencies"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://pyup.io/safety/"
+changelog="https://github.com/pyupio/safety/raw/develop/CHANGELOG.md"
+distfiles="${PYPI_SITE}/s/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=30e394d02a20ac49b7f65292d19d38fa927a8f9582cdfd3ad1adbbc66c641ad5
+
+post_install() {
+	vlicense LICENSE
+}

From b8864b7712fa0e9c07a8bc6e87ba93680921cae5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 21:08:51 +0200
Subject: [PATCH 06/20] New package: cookiecutter-2.1.1

---
 srcpkgs/cookiecutter/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/cookiecutter/template

diff --git a/srcpkgs/cookiecutter/template b/srcpkgs/cookiecutter/template
new file mode 100644
index 000000000000..602ed7a9a64e
--- /dev/null
+++ b/srcpkgs/cookiecutter/template
@@ -0,0 +1,26 @@
+# Template file for 'cookiecutter'
+pkgname=cookiecutter
+version=2.1.1
+revision=1
+build_style=python3-module
+make_check_args="--deselect tests/vcs/test_clone.py::test_clone_handles_repo_typo
+ --deselect tests/vcs/test_clone.py::test_clone_handles_repo_typo
+ --deselect tests/vcs/test_clone.py::test_clone_handles_branch_typo
+ --deselect tests/vcs/test_clone.py::test_clone_handles_branch_typo
+ --deselect tests/vcs/test_clone.py::test_clone_unknown_subprocess_error"
+hostmakedepends="python3-setuptools"
+depends="python3-binaryornot python3-Jinja2 python3-click python3-yaml
+ python3-jinja2-time python3-slugify python3-requests"
+checkdepends="${depends} python3-pytest python3-pytest-cov python3-pytest-mock
+ python3-freezegun safety pre-commit"
+short_desc="CLI utility to create projects from cookiecutters (project templates)"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="BSD-3-Clause"
+homepage="https://github.com/cookiecutter/cookiecutter"
+changelog="https://github.com/cookiecutter/cookiecutter/raw/master/HISTORY.md"
+distfiles="${PYPI_SITE}/c/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=f3982be8d9c53dac1261864013fdec7f83afd2e42ede6f6dd069c5e149c540d5
+
+post_install() {
+	vlicense LICENSE
+}

From 02b06f4cf072fb3ce65479131ce65e5cf49a98ba Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 21:50:21 +0200
Subject: [PATCH 07/20] New package: python3-ansi2html-1.7.0

---
 srcpkgs/python3-ansi2html/template | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
 create mode 100644 srcpkgs/python3-ansi2html/template

diff --git a/srcpkgs/python3-ansi2html/template b/srcpkgs/python3-ansi2html/template
new file mode 100644
index 000000000000..4a50e1b42098
--- /dev/null
+++ b/srcpkgs/python3-ansi2html/template
@@ -0,0 +1,21 @@
+# Template file for 'python3-ansi2html'
+pkgname=python3-ansi2html
+version=1.7.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+make_check_args="--deselect tests/test_ansi2html.py::TestAnsi2HTML::test_command_script"
+hostmakedepends="python3-setuptools python3-wheel"
+depends="python3-importlib_metadata"
+checkdepends="${depends} python3-pytest python3-pytest-cov python3-mock"
+short_desc="Convert text with ansi color codes to HTML"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="LGPL-3.0-or-later"
+homepage="https://github.com/pycontribs/ansi2html"
+changelog="https://github.com/pycontribs/ansi2html/raw/main/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=69316be8c68ac91c5582d397c2890e69c993cc7cda52062ac7e45fcb660d8edc
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+}

From a1ece62fc5ec662b0af060e5a27815ad2bae02b3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 22:35:04 +0200
Subject: [PATCH 08/20] New package: python3-pytest-metadata-2.0.1

---
 srcpkgs/python3-pytest-metadata/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-metadata/template

diff --git a/srcpkgs/python3-pytest-metadata/template b/srcpkgs/python3-pytest-metadata/template
new file mode 100644
index 000000000000..ac02fc3290f0
--- /dev/null
+++ b/srcpkgs/python3-pytest-metadata/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-metadata'
+pkgname=python3-pytest-metadata
+version=2.0.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-poetry-core"
+depends="python3-pytest"
+checkdepends="${depends}"
+short_desc="Pytest plugin for test session metadata"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MPL-2.0"
+homepage="https://github.com/pytest-dev/pytest-metadata"
+changelog="https://github.com/pytest-dev/pytest-metadata/raw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=5cdb6aeea8ba9109181cf9f149c8a3ae1430ff7e44506a8f866af8a98ca46301
+# Requires itself to be installed for it's own tests running properly
+make_check=no

From 30d1d48e11c2369e05c11c2a5303c9ec9541c9ef Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 23:48:35 +0200
Subject: [PATCH 09/20] New package: python3-pytest-rerunfailures-10.2

---
 srcpkgs/python3-pytest-rerunfailures/template | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-rerunfailures/template

diff --git a/srcpkgs/python3-pytest-rerunfailures/template b/srcpkgs/python3-pytest-rerunfailures/template
new file mode 100644
index 000000000000..b1aff984ada1
--- /dev/null
+++ b/srcpkgs/python3-pytest-rerunfailures/template
@@ -0,0 +1,16 @@
+# Template file for 'python3-pytest-rerunfailures'
+pkgname=python3-pytest-rerunfailures
+version=10.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools"
+depends="python3-pytest python3-pytest-xdist"
+checkdepends="${depends}"
+short_desc="Pytest plugin for re-running flaky tests"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MPL-2.0"
+homepage="https://github.com/pytest-dev/pytest-rerunfailures"
+changelog="https://github.com/pytest-dev/pytest-rerunfailures/raw/master/CHANGES.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=9e1e1bad51e07642c5bbab809fc1d4ec8eebcb7de86f90f1a26e6ef9de446697

From 4313fd5d645cd6e2549c1887a0d817fd98e32e79 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Thu, 9 Jun 2022 23:56:33 +0200
Subject: [PATCH 10/20] New package: python3-pytest-html-3.1.1

---
 srcpkgs/python3-pytest-html/template | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-html/template

diff --git a/srcpkgs/python3-pytest-html/template b/srcpkgs/python3-pytest-html/template
new file mode 100644
index 000000000000..65315edf5f8d
--- /dev/null
+++ b/srcpkgs/python3-pytest-html/template
@@ -0,0 +1,18 @@
+# Template file for 'python3-pytest-html'
+pkgname=python3-pytest-html
+version=3.1.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-toml python3-wheel"
+depends="python3-pytest python3-pytest-metadata"
+checkdepends="${depends} python3-pytest-xdist python3-pytest-rerunfailures
+ python3-ansi2html python3-pytest-mock python3-pytest-cov"
+short_desc="Pytest plugin for generating HTML reports for pytest results"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MPL-2.0"
+homepage="https://github.com/pytest-dev/pytest-html"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=3ee1cf319c913d19fe53aeb0bc400e7b0bc2dbeb477553733db1dad12eb75ee3
+# Requires itself to be installed for it's own tests running properly
+make_check=no

From ba99c73ae33283dd3f261f8cd693258933eb588f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 00:03:17 +0200
Subject: [PATCH 11/20] New package: python3-pytest-plus-0.2

---
 srcpkgs/python3-pytest-plus/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-plus/template

diff --git a/srcpkgs/python3-pytest-plus/template b/srcpkgs/python3-pytest-plus/template
new file mode 100644
index 000000000000..4e79a72cde2f
--- /dev/null
+++ b/srcpkgs/python3-pytest-plus/template
@@ -0,0 +1,19 @@
+# Template file for 'python3-pytest-plus'
+pkgname=python3-pytest-plus
+version=0.2
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-more-itertools"
+checkdepends="python3-pytest-html"
+short_desc="Pytest plus plugin, extending functionality"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pytest-dev/pytest-plus"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=eb0e11b52c617460bfaae788b82bcfd25efad9472895b240f182a8850757b6c5
+
+post_install() {
+	vlicense LICENSE
+}

From a205ef5012d7af7a96db8025a27a297cf656cfc9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 00:10:25 +0200
Subject: [PATCH 12/20] New package: python3-pytest-testinfra-6.7.0

---
 srcpkgs/python3-pytest-testinfra/template | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-testinfra/template

diff --git a/srcpkgs/python3-pytest-testinfra/template b/srcpkgs/python3-pytest-testinfra/template
new file mode 100644
index 000000000000..18d4ab28ff94
--- /dev/null
+++ b/srcpkgs/python3-pytest-testinfra/template
@@ -0,0 +1,17 @@
+# Template file for 'python3-pytest-testinfra'
+pkgname=python3-pytest-testinfra
+version=6.7.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-module
+hostmakedepends="python3-setuptools_scm"
+depends="python3-pytest"
+short_desc="Test your infrastructure using pytest"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="Apache-2.0"
+homepage="https://testinfra.readthedocs.io/"
+changelog="https://github.com/pytest-dev/pytest-testinfra/raw/master/CHANGELOG.rst"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=dfde1ce0f1f7cc0dd5c62a29d0f986f3a98a8c144bbcbaebdf7eeeaf16163ec1
+# Requires outdated ansible
+make_check=no

From d6e4a5ea0e754ce5d5be72d31079ae126fad255f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 00:24:39 +0200
Subject: [PATCH 13/20] New package: molecule-3.6.1

---
 srcpkgs/molecule/template | 57 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 srcpkgs/molecule/template

diff --git a/srcpkgs/molecule/template b/srcpkgs/molecule/template
new file mode 100644
index 000000000000..704a4b60be40
--- /dev/null
+++ b/srcpkgs/molecule/template
@@ -0,0 +1,57 @@
+# Template file for 'molecule'
+pkgname=molecule
+version=3.6.1
+revision=1
+build_style=python3-pep517
+make_check_args="--deselect src/molecule/test/functional/test_command.py::test_command_check
+ --deselect src/molecule/test/functional/test_command.py::test_command_cleanup
+ --deselect src/molecule/test/functional/test_command.py::test_command_converge
+ --deselect src/molecule/test/functional/test_command.py::test_command_create
+ --deselect src/molecule/test/functional/test_command.py::test_command_destroy
+ --deselect src/molecule/test/functional/test_command.py::test_command_idempotence
+ --deselect src/molecule/test/functional/test_command.py::test_command_lint
+ --deselect src/molecule/test/functional/test_command.py::test_command_list_with_format_plain
+ --deselect src/molecule/test/functional/test_command.py::test_command_prepare
+ --deselect src/molecule/test/functional/test_command.py::test_command_side_effect
+ --deselect src/molecule/test/functional/test_command.py::test_command_syntax
+ --deselect src/molecule/test/functional/test_command.py::test_command_test
+ --deselect src/molecule/test/functional/test_command.py::test_command_verify
+ --deselect src/molecule/test/unit/test_api.py::test_cli_mol
+ --deselect src/molecule/test/unit/command/test_base.py::test_command_completion
+ --deselect src/molecule/test/unit/command/test_base.py::test_command_completion
+ --deselect src/molecule/test/unit/command/test_base.py::test_command_completion
+ --deselect src/molecule/test/functional/test_command.py::test_command_check
+ --deselect src/molecule/test/functional/test_command.py::test_command_cleanup
+ --deselect src/molecule/test/functional/test_command.py::test_command_converge
+ --deselect src/molecule/test/functional/test_command.py::test_command_create
+ --deselect src/molecule/test/functional/test_command.py::test_command_destroy
+ --deselect src/molecule/test/functional/test_command.py::test_command_idempotence
+ --deselect src/molecule/test/functional/test_command.py::test_command_lint
+ --deselect src/molecule/test/functional/test_command.py::test_command_prepare
+ --deselect src/molecule/test/functional/test_command.py::test_command_side_effect
+ --deselect src/molecule/test/functional/test_command.py::test_command_syntax
+ --deselect src/molecule/test/functional/test_command.py::test_command_test
+ --deselect src/molecule/test/functional/test_command.py::test_command_verify"
+hostmakedepends="python3-wheel python3-toml"
+depends="python3-ansible-compat python3-Cerberus python3-click
+ python3-click-help-colors cookiecutter python3-enrich python3-Jinja2
+ python3-packaging python3-pluggy python3-yaml python3-rich ansible-core
+ python3-yamllint"
+checkdepends="${depends} python3-ansi2html python3-coverage python3-filelock
+ python3-pexpect python3-pytest python3-pytest-cov python3-pytest-html
+ python3-pytest-mock python3-pytest-plus python3-pytest-testinfra
+ python3-pytest-xdist"
+short_desc="Development and testing helper for ansible"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/molecule"
+distfiles="${PYPI_SITE}/m/molecule/molecule-${version}.tar.gz"
+checksum=3b7d5ba2978c15a034df8c7aa59dec5436f7d3260d1f9db2c78ae14ae3a9deeb
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

From b590b4ae7639624099dfdb9cd1e5664061fb5c22 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Sat, 11 Jun 2022 12:45:37 +0200
Subject: [PATCH 14/20] New package: python3-selinux-0.2.1

---
 srcpkgs/python3-selinux/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/python3-selinux/template

diff --git a/srcpkgs/python3-selinux/template b/srcpkgs/python3-selinux/template
new file mode 100644
index 000000000000..b77688cee244
--- /dev/null
+++ b/srcpkgs/python3-selinux/template
@@ -0,0 +1,20 @@
+# Template file for 'python3-selinux'
+pkgname=python3-selinux
+version=0.2.1
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3-distro"
+short_desc="Pure-python selinux shim module"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/selinux"
+distfiles="${PYPI_SITE}/s/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=d435f514e834e3fdc0941f6a29d086b80b2ea51b28112aee6254bd104ee42a74
+# Requires molecule[docker] and a huge amount of other unpackaged deps
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From e6e4dcafe2a7ffecd8eb0587652bd5c029e8fdc2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 13:31:21 +0200
Subject: [PATCH 15/20] New package: molecule-podman-2.0.0

---
 srcpkgs/molecule-podman/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/molecule-podman/template

diff --git a/srcpkgs/molecule-podman/template b/srcpkgs/molecule-podman/template
new file mode 100644
index 000000000000..44a017d4d13c
--- /dev/null
+++ b/srcpkgs/molecule-podman/template
@@ -0,0 +1,19 @@
+# Template file for 'molecule-podman'
+pkgname=molecule-podman
+version=2.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-toml python3-wheel"
+depends="python3-ansible-compat molecule python3-selinux podman"
+short_desc="Podman driver for molecule"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/molecule-podman"
+distfiles="${PYPI_SITE}/m/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=5f26d7f1ce986c608ba4bd5d2e723f2cb4cc3664e0d7deb20f1923a0fb6025aa
+# Requires spawning containers
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 7bcc540bb23a24a357115a82dcb2eddff145d491 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 13:45:35 +0200
Subject: [PATCH 16/20] New package: molecule-docker-1.1.0

---
 srcpkgs/molecule-docker/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/molecule-docker/template

diff --git a/srcpkgs/molecule-docker/template b/srcpkgs/molecule-docker/template
new file mode 100644
index 000000000000..0707ae57496f
--- /dev/null
+++ b/srcpkgs/molecule-docker/template
@@ -0,0 +1,20 @@
+# Template file for 'molecule-docker'
+pkgname=molecule-docker
+version=1.1.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-toml python3-wheel"
+depends="python3-ansible-compat molecule python3-selinux python3-docker
+ python3-requests docker"
+short_desc="Docker driver for molecule"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/molecule-docker"
+distfiles="${PYPI_SITE}/m/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=e15133395f10dbf60f75125aae7145f47747fc7158f2317698885013796252bf
+# Requires docker
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From ad6efe74706688a58db7f40605c9024f52b180fb Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 13:48:51 +0200
Subject: [PATCH 17/20] New package: molecule-containers-2.0.0

---
 srcpkgs/molecule-containers/template | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 srcpkgs/molecule-containers/template

diff --git a/srcpkgs/molecule-containers/template b/srcpkgs/molecule-containers/template
new file mode 100644
index 000000000000..0fec4cd9e1e7
--- /dev/null
+++ b/srcpkgs/molecule-containers/template
@@ -0,0 +1,19 @@
+# Template file for 'molecule-containers'
+pkgname=molecule-containers
+version=2.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-toml python3-wheel"
+depends="molecule python3-yaml"
+short_desc="Container agnostic driver for molecule"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/molecule-containers"
+distfiles="${PYPI_SITE}/m/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=c83f749001728614f972784875585a99a47cbc84fb8e37f05244660ea7d4c79c
+# Requires spawning containers
+make_check=no
+
+post_install() {
+	vlicense LICENSE
+}

From 1d5cb75ee49f8cc774e75b1a0d2c4a87ae9bc2ab Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 13:59:48 +0200
Subject: [PATCH 18/20] New package: python3-vagrant-1.0.0

---
 srcpkgs/python3-vagrant/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/python3-vagrant/template

diff --git a/srcpkgs/python3-vagrant/template b/srcpkgs/python3-vagrant/template
new file mode 100644
index 000000000000..af4d088f3a00
--- /dev/null
+++ b/srcpkgs/python3-vagrant/template
@@ -0,0 +1,26 @@
+# Template file for 'python3-vagrant'
+pkgname=python3-vagrant
+version=1.0.0
+revision=1
+wrksrc="python-vagrant-${version}"
+build_style=python3-pep517
+make_install_target="python_vagrant-${version}-*-*-*.whl"
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="python3 vagrant"
+short_desc="Python bindings for interacting with Vagrant virtual machines"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/pycontribs/python-vagrant"
+changelog="https://github.com/pycontribs/python-vagrant/raw/main/CHANGELOG.md"
+distfiles="${PYPI_SITE}/p/python-vagrant/python-vagrant-${version}.tar.gz"
+checksum=a8fe93ccf2ff37ecc95ec2f49ea74a91a6ce73a4db4a16a98dd26d397cfd09e5
+# Already requires itself to be installed
+make_check=no
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE.txt
+}

From 7943afbba45e3301475288ade2a8a2c628ccc276 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 14:10:05 +0200
Subject: [PATCH 19/20] New package: molecule-vagrant-1.0.0

---
 srcpkgs/molecule-vagrant/template | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 srcpkgs/molecule-vagrant/template

diff --git a/srcpkgs/molecule-vagrant/template b/srcpkgs/molecule-vagrant/template
new file mode 100644
index 000000000000..966a20d70f0a
--- /dev/null
+++ b/srcpkgs/molecule-vagrant/template
@@ -0,0 +1,23 @@
+# Template file for 'molecule-vagrant'
+pkgname=molecule-vagrant
+version=1.0.0
+revision=1
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-toml python3-wheel"
+depends="molecule python3-yaml python3-Jinja2 python3-selinux python3-vagrant"
+short_desc="Vagrant driver for molecule"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/molecule-vagrant"
+distfiles="${PYPI_SITE}/m/${pkgname}/${pkgname}-${version}.tar.gz"
+checksum=fc1e988147226ada8288475b768c52a37366c8b50d30b91635cacfc64e1468c3
+# Requires spawning VMs
+make_check=no
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+}
+
+post_install() {
+	vlicense LICENSE
+}

From 3a3cde163ae3f56de7c7be376f99a5aa2d1b6805 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?=
 <jan.christian@gruenhage.xyz>
Date: Fri, 10 Jun 2022 14:20:46 +0200
Subject: [PATCH 20/20] New package: python3-pytest-molecule-2.0.0

---
 srcpkgs/python3-pytest-molecule/template | 25 ++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
 create mode 100644 srcpkgs/python3-pytest-molecule/template

diff --git a/srcpkgs/python3-pytest-molecule/template b/srcpkgs/python3-pytest-molecule/template
new file mode 100644
index 000000000000..474060d8b5c2
--- /dev/null
+++ b/srcpkgs/python3-pytest-molecule/template
@@ -0,0 +1,25 @@
+# Template file for 'python3-pytest-molecule'
+pkgname=python3-pytest-molecule
+version=2.0.0
+revision=1
+wrksrc="${pkgname/python3-/}-${version}"
+build_style=python3-pep517
+hostmakedepends="python3-setuptools_scm python3-wheel"
+depends="molecule python3-pytest python3-pytest-html"
+short_desc="Pytest plugin for discovering and running molecule scenarios"
+maintainer="Jan Christian Grünhage <jan.christian@gruenhage.xyz>"
+license="MIT"
+homepage="https://github.com/ansible-community/pytest-molecule"
+distfiles="${PYPI_SITE}/p/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz"
+checksum=e8ab7d15b02e67c6e08fd50d1c56881e5e1ad6d43bbe2d2f86babc2b60a5d8ba
+# Requires containers/VMs
+make_check=no
+
+post_patch() {
+	vsed -e "/name =/a version = ${version}" -e "/use_scm_version/d" -i setup.cfg
+	vsed -e "s/use_scm_version=True, //" -i setup.py
+}
+
+post_install() {
+	vlicense LICENSE
+}

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: WIP: New package: molecule-3.6.1
  2022-06-09 22:29 [PR PATCH] Molecule 3.6.1 1 jcgruenhage
                   ` (3 preceding siblings ...)
  2022-06-11 10:47 ` jcgruenhage
@ 2022-09-10  2:14 ` github-actions
  2022-09-25  2:14 ` [PR PATCH] [Closed]: " github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2022-09-10  2:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 305 bytes --]

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/37479#issuecomment-1242595733

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PR PATCH] [Closed]: WIP: New package: molecule-3.6.1
  2022-06-09 22:29 [PR PATCH] Molecule 3.6.1 1 jcgruenhage
                   ` (4 preceding siblings ...)
  2022-09-10  2:14 ` github-actions
@ 2022-09-25  2:14 ` github-actions
  5 siblings, 0 replies; 7+ messages in thread
From: github-actions @ 2022-09-25  2:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]

There's a closed pull request on the void-packages repository

WIP: New package: molecule-3.6.1
https://github.com/void-linux/void-packages/pull/37479

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly** (Only ran the automated tests, not manually tried the resulting package yet)

<!--
#### New package
- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->

## TODO:
 - ~~maybe reduce the amount of `make_check=no` in the pytest plugins~~
 - ~~maybe stop deselecting all the tests that actually try to run molecule as a command~~ (Reasoning: the current order of operations is do_build -> do_check -> do_install, we'd have to move everything around in order to accomodate that)
 - [ ] actually try this out
 - [x] package some backends, like molecule-podman or molecule-docker
 
Fixes #11733

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-09-25  2:14 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-09 22:29 [PR PATCH] Molecule 3.6.1 1 jcgruenhage
2022-06-09 22:41 ` WIP: New package: molecule-3.6.1 classabbyamp
2022-06-09 23:14 ` [PR PATCH] [Updated] " jcgruenhage
2022-06-10 12:21 ` jcgruenhage
2022-06-11 10:47 ` jcgruenhage
2022-09-10  2:14 ` github-actions
2022-09-25  2:14 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).