From ffc42e84906842030622ef14e6544dd846597220 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Mon, 14 Mar 2022 08:37:19 +0100 Subject: [PATCH 1/3] New package: python3-subprocess-tee-0.3.5 --- srcpkgs/python3-subprocess-tee/template | 26 +++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 srcpkgs/python3-subprocess-tee/template diff --git a/srcpkgs/python3-subprocess-tee/template b/srcpkgs/python3-subprocess-tee/template new file mode 100644 index 00000000000000..39a0233dad7060 --- /dev/null +++ b/srcpkgs/python3-subprocess-tee/template @@ -0,0 +1,26 @@ +# Template file for 'python3-subprocess-tee' +pkgname=python3-subprocess-tee +version=0.3.5 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-pep517 +make_install_target="subprocess_tee-${version}-py3-none-any.whl" +hostmakedepends="python3-wheel python3-toml" +depends="python3" +short_desc="Replacement for subprocess.run capturing output while still printing it" +maintainer="Jan Christian Grünhage " +license="MIT" +homepage="https://github.com/pycontribs/subprocess-tee" +distfiles="${PYPI_SITE}/s/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz" +checksum=ff5cced589a4b8ac973276ca1ba21bb6e3de600cde11a69947ff51f696efd577 +# requires molecule, which isn't packaged yet +make_check=no + +post_patch() { + # scm versioning is broken in this release + vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg +} + +post_install() { + vlicense LICENSE +} From 7d6929c3caf70888ed83cb7b6b2a6061343faf04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Mon, 14 Mar 2022 08:38:01 +0100 Subject: [PATCH 2/3] New package: python3-ansible-compat-2.0.0 --- srcpkgs/python3-ansible-compat/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/python3-ansible-compat/template diff --git a/srcpkgs/python3-ansible-compat/template b/srcpkgs/python3-ansible-compat/template new file mode 100644 index 00000000000000..bf03fe221d0a8e --- /dev/null +++ b/srcpkgs/python3-ansible-compat/template @@ -0,0 +1,24 @@ +# Template file for 'python3-ansible-compat' +pkgname=python3-ansible-compat +version=2.0.0 +revision=1 +wrksrc="${pkgname/python3-/}-${version}" +build_style=python3-pep517 +make_install_target="ansible_compat-${version}-py3-none-any.whl" +hostmakedepends="python3-wheel python3-toml" +depends="python3-subprocess-tee" +short_desc="Python package for working with various version of ansible" +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=4027da4ec2b524c263a801cc2dc6da2b98c2996cec258cef118a30c790467ed2 + +post_patch() { + # scm versioning is broken in this release + vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg +} + +post_install() { + vlicense LICENSE +} From 0ec553b5b67dfaf0fc81a34aae0d5f59a1d9439e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Christian=20Gr=C3=BCnhage?= Date: Mon, 14 Mar 2022 08:38:12 +0100 Subject: [PATCH 3/3] python3-ansible-lint: update to 6.0.2. --- srcpkgs/python3-ansible-lint/template | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/srcpkgs/python3-ansible-lint/template b/srcpkgs/python3-ansible-lint/template index 78d31ea9063913..00d8dc40f6a61d 100644 --- a/srcpkgs/python3-ansible-lint/template +++ b/srcpkgs/python3-ansible-lint/template @@ -1,18 +1,25 @@ # Template file for 'python3-ansible-lint' pkgname=python3-ansible-lint -version=5.4.0 +version=6.0.2 revision=1 wrksrc="${pkgname/python3-/}-${version}" build_style=python3-pep517 make_install_target="ansible_lint-${version}-py3-none-any.whl" hostmakedepends="python3-wheel python3-toml" -depends="ansible-core python3-yamllint python3-six python3-yaml python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch" +depends="ansible-core python3-yamllint python3-six python3-yaml + python3-ruamel.yaml python3-tenacity python3-enrich python3-wcmatch + python3-ansible-compat" short_desc="Linter for Ansible files" maintainer="Jan Christian Grünhage " -license="MIT" +# Note about licensing from upstream: +# The ansible-lint project is distributed as GPLv3 due to use of GPLv3 runtime +# dependencies, like ansible and yamllint. For historical reasons, its own +# code-base remains licensed under a more liberal MIT license and any +# contributions made are accepted as being made under original MIT license. +license="GPL-3.0-only" homepage="https://github.com/ansible-community/ansible-lint" distfiles="${PYPI_SITE}/a/${pkgname/python3-/}/${pkgname/python3-/}-${version}.tar.gz" -checksum=2160a60b4ab034c04006d701a1779340ffb0f6e28f030ff8de958e1062a88962 +checksum=b539bc22d13e6de0cc2e25758e1d28b2bc01561a414ae37ceda3708b5a2a79ed # Tests are currently broken for ansible on python 3.10 # See https://github.com/ansible/ansible/issues/74658 # and https://github.com/ansible/ansible/issues/74660 @@ -22,7 +29,3 @@ post_patch() { # scm versioning is broken in this release vsed -e "/name =/a version = ${version}" -e "/setuptools_scm/d" -i setup.cfg } - -post_install() { - vlicense LICENSE -}