From f9229a4cbd3c8b59095a11d7d05f3f77cff65345 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/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 " +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?= 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 " 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?= 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 " +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?= 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?= + +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 2081dc6bbaed8c02517815d6d1d1b942b96fb8d2 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/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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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?= 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 " +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 +}