[arch-commits] Commit in ansible-lint/repos/community-any (4 files)

Frederik Schwan freswa at gemini.archlinux.org
Sat Feb 12 14:47:14 UTC 2022


    Date: Saturday, February 12, 2022 @ 14:47:13
  Author: freswa
Revision: 1132801

archrelease: copy trunk to community-any

Added:
  ansible-lint/repos/community-any/PKGBUILD
    (from rev 1132800, ansible-lint/trunk/PKGBUILD)
  ansible-lint/repos/community-any/disable_use_scm_version.patch
    (from rev 1132800, ansible-lint/trunk/disable_use_scm_version.patch)
Deleted:
  ansible-lint/repos/community-any/PKGBUILD
  ansible-lint/repos/community-any/disable_use_scm_version.patch

-------------------------------+
 PKGBUILD                      |   78 ++++++++++++++++++++--------------------
 disable_use_scm_version.patch |   50 ++++++++++++-------------
 2 files changed, 64 insertions(+), 64 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-02-12 14:47:11 UTC (rev 1132800)
+++ PKGBUILD	2022-02-12 14:47:13 UTC (rev 1132801)
@@ -1,39 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-# Maintainer: Frederik Schwan <freswa at archlinux dot org>
-# Contributor: Sander Boom <sanderboom at gmail.com>
-
-pkgname=ansible-lint
-pkgver=5.3.2
-pkgrel=1
-pkgdesc="Checks playbooks for practices and behaviour that could potentially be improved."
-arch=('any')
-url="https://github.com/ansible/ansible-lint"
-license=('MIT')
-depends=('python' 'ansible-core' 'python-ruamel-yaml' 'python-pyaml' 'python-rich' 'python-packaging'
-          'python-wcmatch' 'python-enrich' 'python-tenacity')
-makedepends=('python-build' 'python-install' 'python-wheel')
-optdepends=('yamllint: check for yaml syntax mistakes'
-            'ansible: check official ansible collections')
-source=(https://github.com/ansible/ansible-lint/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
-        disable_use_scm_version.patch)
-b2sums=('e18531013d1d0bcf5e3778259530c42faa1b1bc58d6a570cd9640d3de905f616b50c0acd2acd3f4a7c299f8b14b539556f3904e087564ebcfa141a482f88d993'
-        '41a9f052e1a8cca7f720da3dd4ba7ccbbd7d0046bdb7008c58172ba388f798a4bca5faea15df3e9dc0f022b8c91354ff64595850dfeea47a40cfe2182beec072')
-
-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
-  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 install --optimize=1 --destdir="${pkgdir}" dist/*.whl
-  chmod +x "${pkgdir}"/usr/bin/*
-  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: ansible-lint/repos/community-any/PKGBUILD (from rev 1132800, ansible-lint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-02-12 14:47:13 UTC (rev 1132801)
@@ -0,0 +1,39 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+# Maintainer: Frederik Schwan <freswa at archlinux dot org>
+# Contributor: Sander Boom <sanderboom at gmail.com>
+
+pkgname=ansible-lint
+pkgver=5.4.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=('MIT')
+depends=('python' 'ansible-core' 'python-ruamel-yaml' 'python-pyaml' 'python-rich' 'python-packaging'
+          'python-wcmatch' 'python-enrich' 'python-tenacity')
+makedepends=('python-build' 'python-install' 'python-wheel')
+optdepends=('yamllint: check for yaml syntax mistakes'
+            'ansible: check official ansible collections')
+source=(https://github.com/ansible/ansible-lint/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz
+        disable_use_scm_version.patch)
+b2sums=('9f41abdf1e9485afa4c8ed9498627b0dcbdcf57916f3b57c9886de8bd806e4e5b34e7e9c2e66b44ac8009a0afcea4d8566900ee8d391eaca61081fa23323c41c'
+        '41a9f052e1a8cca7f720da3dd4ba7ccbbd7d0046bdb7008c58172ba388f798a4bca5faea15df3e9dc0f022b8c91354ff64595850dfeea47a40cfe2182beec072')
+
+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
+  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 install --optimize=1 --destdir="${pkgdir}" dist/*.whl
+  chmod +x "${pkgdir}"/usr/bin/*
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}

Deleted: disable_use_scm_version.patch
===================================================================
--- disable_use_scm_version.patch	2022-02-12 14:47:11 UTC (rev 1132800)
+++ disable_use_scm_version.patch	2022-02-12 14:47:13 UTC (rev 1132801)
@@ -1,25 +0,0 @@
-diff --git a/pyproject.toml b/pyproject.toml
-index 0292abc..08c78d6 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 135404d..9ccd41b 100644
---- a/setup.cfg
-+++ b/setup.cfg
-@@ -56,7 +56,6 @@ keywords =
-   lint
- 
- [options]
--use_scm_version = True
- python_requires = >=3.6
- package_dir =
-   = src

Copied: ansible-lint/repos/community-any/disable_use_scm_version.patch (from rev 1132800, ansible-lint/trunk/disable_use_scm_version.patch)
===================================================================
--- disable_use_scm_version.patch	                        (rev 0)
+++ disable_use_scm_version.patch	2022-02-12 14:47:13 UTC (rev 1132801)
@@ -0,0 +1,25 @@
+diff --git a/pyproject.toml b/pyproject.toml
+index 0292abc..08c78d6 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 135404d..9ccd41b 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -56,7 +56,6 @@ keywords =
+   lint
+ 
+ [options]
+-use_scm_version = True
+ python_requires = >=3.6
+ package_dir =
+   = src



More information about the arch-commits mailing list