Date: Saturday, December 31, 2022 @ 15:47:26
Author: freswa
Revision: 1372681
archrelease: copy trunk to community-any
Added:
ansible-lint/repos/community-any/PKGBUILD
(from rev 1372680, ansible-lint/trunk/PKGBUILD)
ansible-lint/repos/community-any/disable_version_check.patch
(from rev 1372680, ansible-lint/trunk/disable_version_check.patch)
Deleted:
ansible-lint/repos/community-any/PKGBUILD
ansible-lint/repos/community-any/disable_version_check.patch
-----------------------------+
PKGBUILD | 77 ++++++++++++++++++++----------------------
disable_version_check.patch | 56 +++++++++++++++---------------
2 files changed, 66 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-31 15:47:21 UTC (rev 1372680)
+++ PKGBUILD 2022-12-31 15:47:26 UTC (rev 1372681)
@@ -1,39 +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.10.0
-pkgrel=5
-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 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
- static_files.patch)
-b2sums=('SKIP'
-
'09a8a69cd2953e6f0b813976fae31388db87647e80ef7942a960adf1cf71e6a843ed86a2456e718042c790a8481db3bb2f7092c52c9553950cc05f46fe7ee35f'
-
'4ec5dc847e71c8f2d51fe6ee7eaf9b1c00cd77ea8c2eed0721088a61444412773eec70430933292883c5449992967b91cc1978e3765745862745579d3ac0e610')
-
-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
-}
-
-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-any/PKGBUILD (from rev 1372680,
ansible-lint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-31 15:47:26 UTC (rev 1372681)
@@ -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.10.1
+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 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'
+
'09a8a69cd2953e6f0b813976fae31388db87647e80ef7942a960adf1cf71e6a843ed86a2456e718042c790a8481db3bb2f7092c52c9553950cc05f46fe7ee35f')
+
+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 2022-12-31 15:47:21 UTC (rev 1372680)
+++ disable_version_check.patch 2022-12-31 15:47:26 UTC (rev 1372681)
@@ -1,28 +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
- msg += f", and fixed {summary.fixed} issue(s)"
- msg += f" on {files_count} files."
-
-- if not self.options.offline:
-- 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-any/disable_version_check.patch (from rev
1372680, ansible-lint/trunk/disable_version_check.patch)
===================================================================
--- disable_version_check.patch (rev 0)
+++ disable_version_check.patch 2022-12-31 15:47:26 UTC (rev 1372681)
@@ -0,0 +1,28 @@
+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
+ msg += f", and fixed {summary.fixed} issue(s)"
+ msg += f" on {files_count} files."
+
+- if not self.options.offline:
+- version_warning = get_version_warning()
+- if version_warning:
+- msg += f"\n{version_warning}"
+-
+ console_stderr.print(msg)
+
+
+--
+2.38.1
+