Date: Thursday, December 1, 2022 @ 10:12:35
Author: freswa
Revision: 1355587
archrelease: copy trunk to community-any
Added:
ansible-lint/repos/community-any/PKGBUILD
(from rev 1355586, ansible-lint/trunk/PKGBUILD)
ansible-lint/repos/community-any/disable_use_scm_version.patch
(from rev 1355586, ansible-lint/trunk/disable_use_scm_version.patch)
ansible-lint/repos/community-any/disable_version_check.patch
(from rev 1355586, ansible-lint/trunk/disable_version_check.patch)
Deleted:
ansible-lint/repos/community-any/PKGBUILD
ansible-lint/repos/community-any/disable_use_scm_version.patch
ansible-lint/repos/community-any/disable_version_check.patch
-------------------------------+
PKGBUILD | 80 ++++++++++++++++++++--------------------
disable_use_scm_version.patch | 50 ++++++++++++-------------
disable_version_check.patch | 56 ++++++++++++++--------------
3 files changed, 93 insertions(+), 93 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-01 10:12:26 UTC (rev 1355586)
+++ PKGBUILD 2022-12-01 10:12:35 UTC (rev 1355587)
@@ -1,40 +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.9.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 yamllint
-
python-{ansible-compat,black,enrich,filelock,jsonschema,pyaml,packaging,rich,ruamel-yaml,wcmatch})
-makedepends=(python-{build,installer,setuptools,wheel})
-optdepends=('ansible: check official ansible collections')
-source=(https://github.com/ansible/ansible-lint/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
- disable_use_scm_version.patch
- disable_version_check.patch)
-b2sums=('e57f814406e3532b269d1c1e2b7c5e89a606ddc482f717cfb2ce5849c7010067b028d7e509dbabea395c0e8786e75666798fc1bf24bb64d9cb31c5b0ae553fef'
-
'cf911567b040c8938ca589fde3c93b39cfba29ca1a373b8af354450a4f880d475463b0c81440fb9bfacc7b1f93736a5ae5ab58c7fdb30d8f03d1996754a738f3'
-
'09a8a69cd2953e6f0b813976fae31388db87647e80ef7942a960adf1cf71e6a843ed86a2456e718042c790a8481db3bb2f7092c52c9553950cc05f46fe7ee35f')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- # stop setuptools from using the scm version which doesn't exist in this
context
- patch -Np1 < "${srcdir}"/disable_use_scm_version.patch
- # stop ansible-lint from calling home every 24h to check for a new version
- patch -Np1 < "${srcdir}"/disable_version_check.patch
- sed -i "/^\[metadata\]/a version = ${pkgver}" setup.cfg
-}
-
-build() {
- cd ${pkgname}-${pkgver}
- python -m build --wheel --skip-dependency-check --no-isolation
-}
-
-package() {
- cd ${pkgname}-${pkgver}
- python -m installer --destdir="${pkgdir}" dist/*.whl
-}
Copied: ansible-lint/repos/community-any/PKGBUILD (from rev 1355586,
ansible-lint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-12-01 10:12:35 UTC (rev 1355587)
@@ -0,0 +1,40 @@
+# 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.9.0
+pkgrel=2
+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=(python-{build,installer,setuptools,wheel})
+optdepends=('ansible: check official ansible collections')
+source=(https://github.com/ansible/ansible-lint/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+ disable_use_scm_version.patch
+ disable_version_check.patch)
+b2sums=('ed616155ba169a61092bac247da2c232541f1a131f8cb275744a33a8076de7d97542dc394d29a17430085b5571f578fe1657f29239a18d8afe38a0f544fdb12f'
+
'cf911567b040c8938ca589fde3c93b39cfba29ca1a373b8af354450a4f880d475463b0c81440fb9bfacc7b1f93736a5ae5ab58c7fdb30d8f03d1996754a738f3'
+
'09a8a69cd2953e6f0b813976fae31388db87647e80ef7942a960adf1cf71e6a843ed86a2456e718042c790a8481db3bb2f7092c52c9553950cc05f46fe7ee35f')
+
+prepare() {
+ cd ${pkgname}-${pkgver}
+ # stop setuptools from using the scm version which doesn't exist in this
context
+ patch -Np1 < "${srcdir}"/disable_use_scm_version.patch
+ # stop ansible-lint from calling home every 24h to check for a new version
+ patch -Np1 < "${srcdir}"/disable_version_check.patch
+ sed -i "/^\[metadata\]/a version = ${pkgver}" setup.cfg
+}
+
+build() {
+ cd ${pkgname}-${pkgver}
+ python -m build --wheel --skip-dependency-check --no-isolation
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ python -m installer --destdir="${pkgdir}" dist/*.whl
+}
Deleted: disable_use_scm_version.patch
===================================================================
--- disable_use_scm_version.patch 2022-12-01 10:12:26 UTC (rev 1355586)
+++ disable_use_scm_version.patch 2022-12-01 10:12:35 UTC (rev 1355587)
@@ -1,25 +0,0 @@
-diff --git a/pyproject.toml b/pyproject.toml
-index 89592b8..abffa79 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -1,8 +1,6 @@
- [build-system]
- requires = [
- "setuptools >= 42.0.0", # required by pyproject+setuptools_scm integration
-- "setuptools_scm[toml] >= 3.5.0", # required for "no-local-version" scheme
-- "setuptools_scm_git_archive >= 1.0",
- "wheel",
- ]
- build-backend = "setuptools.build_meta"
-diff --git a/setup.cfg b/setup.cfg
-index 5301b4f..5aa5d1e 100644
---- a/setup.cfg
-+++ b/setup.cfg
-@@ -54,7 +54,6 @@ keywords =
- lint
-
- [options]
--use_scm_version = True
- python_requires = >=3.8
- package_dir =
- = src
Copied: ansible-lint/repos/community-any/disable_use_scm_version.patch (from
rev 1355586, ansible-lint/trunk/disable_use_scm_version.patch)
===================================================================
--- disable_use_scm_version.patch (rev 0)
+++ disable_use_scm_version.patch 2022-12-01 10:12:35 UTC (rev 1355587)
@@ -0,0 +1,25 @@
+diff --git a/pyproject.toml b/pyproject.toml
+index 89592b8..abffa79 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,8 +1,6 @@
+ [build-system]
+ requires = [
+ "setuptools >= 42.0.0", # required by pyproject+setuptools_scm integration
+- "setuptools_scm[toml] >= 3.5.0", # required for "no-local-version" scheme
+- "setuptools_scm_git_archive >= 1.0",
+ "wheel",
+ ]
+ build-backend = "setuptools.build_meta"
+diff --git a/setup.cfg b/setup.cfg
+index 5301b4f..5aa5d1e 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -54,7 +54,6 @@ keywords =
+ lint
+
+ [options]
+-use_scm_version = True
+ python_requires = >=3.8
+ package_dir =
+ = src
Deleted: disable_version_check.patch
===================================================================
--- disable_version_check.patch 2022-12-01 10:12:26 UTC (rev 1355586)
+++ disable_version_check.patch 2022-12-01 10:12:35 UTC (rev 1355587)
@@ -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
1355586, ansible-lint/trunk/disable_version_check.patch)
===================================================================
--- disable_version_check.patch (rev 0)
+++ disable_version_check.patch 2022-12-01 10:12:35 UTC (rev 1355587)
@@ -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
+