From 1360d80f70cc6e841c5daa507d0c0374bc39ccae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= 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 " +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?= 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 " 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?= 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 " +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?= 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?= + +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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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 +}