Date: Friday, April 21, 2023 @ 11:46:19
Author: freswa
Revision: 1448129
archrelease: copy trunk to community-staging-any
Added:
ansible-lint/repos/community-staging-any/PKGBUILD
(from rev 1448128, ansible-lint/trunk/PKGBUILD)
ansible-lint/repos/community-staging-any/disable_version_check.patch
(from rev 1448128, ansible-lint/trunk/disable_version_check.patch)
Deleted:
ansible-lint/repos/community-staging-any/PKGBUILD
ansible-lint/repos/community-staging-any/disable_version_check.patch
-----------------------------+
PKGBUILD | 76 +++++++++++++++++++++---------------------
disable_version_check.patch | 54 ++++++++++++++---------------
2 files changed, 65 insertions(+), 65 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-21 11:46:15 UTC (rev 1448128)
+++ PKGBUILD 2023-04-21 11:46:19 UTC (rev 1448129)
@@ -1,38 +0,0 @@
-# Maintainer: Jelle van der Waa <[email protected]>
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-# Contributor: Sander Boom <[email protected]>
-
-pkgname=ansible-lint
-pkgver=6.14.6
-pkgrel=1
-pkgdesc="Checks playbooks for practices and behaviour that could potentially
be improved."
-arch=('any')
-url="https://github.com/ansible/ansible-lint"
-license=('GPL3')
-depends=(python ansible-core git yamllint
-
python-{ansible-compat,black,enrich,filelock,jsonschema,pyaml,packaging,rich,ruamel-yaml,wcmatch})
-makedepends=(git python-{build,installer,setuptools,setuptools-scm,wheel})
-optdepends=('ansible: check official ansible collections')
-source=(git+https://github.com/ansible/ansible-lint.git#tag=v${pkgver}
- disable_version_check.patch)
-b2sums=('SKIP'
-
'98294f267ca693c0bc3921f8e076d674a219a891502cd31a0af789bc0b1447b53834b9c85853a134f6bc1ac384f31cb174cba2d55fbcc1636cae9bd3c0bd8f84')
-
-prepare() {
- cd ${pkgname}
- # stop ansible-lint from calling home every 24h to check for a new version
- patch -Np1 < "${srcdir}"/disable_version_check.patch
- # use pkg version
- #sed -i "s/dynamic = \[\"version\"\]/version = \"${pkgver}\"/" pyproject.toml
- rm .git_archival.txt
-}
-
-build() {
- cd ${pkgname}
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-package() {
- cd ${pkgname}
- python -m installer --destdir="${pkgdir}" dist/*.whl
-}
Copied: ansible-lint/repos/community-staging-any/PKGBUILD (from rev 1448128,
ansible-lint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-21 11:46:19 UTC (rev 1448129)
@@ -0,0 +1,38 @@
+# Maintainer: Jelle van der Waa <[email protected]>
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Sander Boom <[email protected]>
+
+pkgname=ansible-lint
+pkgver=6.15.0
+pkgrel=1
+pkgdesc="Checks playbooks for practices and behaviour that could potentially
be improved."
+arch=('any')
+url="https://github.com/ansible/ansible-lint"
+license=('GPL3')
+depends=(python ansible-core git yamllint
+
python-{ansible-compat,black,enrich,filelock,jsonschema,pyaml,packaging,rich,ruamel-yaml,wcmatch})
+makedepends=(git python-{build,installer,setuptools,setuptools-scm,wheel})
+optdepends=('ansible: check official ansible collections')
+source=(git+https://github.com/ansible/ansible-lint.git#tag=v${pkgver}
+ disable_version_check.patch)
+b2sums=('SKIP'
+
'98294f267ca693c0bc3921f8e076d674a219a891502cd31a0af789bc0b1447b53834b9c85853a134f6bc1ac384f31cb174cba2d55fbcc1636cae9bd3c0bd8f84')
+
+prepare() {
+ cd ${pkgname}
+ # stop ansible-lint from calling home every 24h to check for a new version
+ patch -Np1 < "${srcdir}"/disable_version_check.patch
+ # use pkg version
+ #sed -i "s/dynamic = \[\"version\"\]/version = \"${pkgver}\"/" pyproject.toml
+ rm .git_archival.txt
+}
+
+build() {
+ cd ${pkgname}
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+ cd ${pkgname}
+ python -m installer --destdir="${pkgdir}" dist/*.whl
+}
Deleted: disable_version_check.patch
===================================================================
--- disable_version_check.patch 2023-04-21 11:46:15 UTC (rev 1448128)
+++ disable_version_check.patch 2023-04-21 11:46:19 UTC (rev 1448129)
@@ -1,27 +0,0 @@
-From 6629302b05dac6de22b79e636dc2e1941c3dd9f1 Mon Sep 17 00:00:00 2001
-From: Frederik Schwan <[email protected]>
-Date: Sat, 29 Oct 2022 19:27:41 +0200
-Subject: [PATCH] stop ansible-lint from calling home every 24h
-
----
- src/ansiblelint/app.py | 5 -----
- 1 file changed, 5 deletions(-)
-
-diff --git a/src/ansiblelint/app.py b/src/ansiblelint/app.py
-index 0699d15..bbc954e 100644
---- a/src/ansiblelint/app.py
-+++ b/src/ansiblelint/app.py
-@@ -290,11 +290,6 @@ warn_list: # or 'skip_list' to silence them completely
-
- # on offline mode and when run under pre-commit we do not want to
- # check for updates.
-- if not self.options.offline and os.environ.get("PRE_COMMIT", "0") !=
"1":
-- version_warning = get_version_warning()
-- if version_warning:
-- msg += f"\n{version_warning}"
--
- console_stderr.print(msg)
-
-
---
-2.38.1
Copied: ansible-lint/repos/community-staging-any/disable_version_check.patch
(from rev 1448128, ansible-lint/trunk/disable_version_check.patch)
===================================================================
--- disable_version_check.patch (rev 0)
+++ disable_version_check.patch 2023-04-21 11:46:19 UTC (rev 1448129)
@@ -0,0 +1,27 @@
+From 6629302b05dac6de22b79e636dc2e1941c3dd9f1 Mon Sep 17 00:00:00 2001
+From: Frederik Schwan <[email protected]>
+Date: Sat, 29 Oct 2022 19:27:41 +0200
+Subject: [PATCH] stop ansible-lint from calling home every 24h
+
+---
+ src/ansiblelint/app.py | 5 -----
+ 1 file changed, 5 deletions(-)
+
+diff --git a/src/ansiblelint/app.py b/src/ansiblelint/app.py
+index 0699d15..bbc954e 100644
+--- a/src/ansiblelint/app.py
++++ b/src/ansiblelint/app.py
+@@ -290,11 +290,6 @@ warn_list: # or 'skip_list' to silence them completely
+
+ # on offline mode and when run under pre-commit we do not want to
+ # check for updates.
+- if not self.options.offline and os.environ.get("PRE_COMMIT", "0") !=
"1":
+- version_warning = get_version_warning()
+- if version_warning:
+- msg += f"\n{version_warning}"
+-
+ console_stderr.print(msg)
+
+
+--
+2.38.1