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

Jelle van der Waa jelle at archlinux.org
Sat May 22 18:44:27 UTC 2021


    Date: Saturday, May 22, 2021 @ 18:44:27
  Author: jelle
Revision: 942169

archrelease: copy trunk to community-any

Added:
  ansible-lint/repos/community-any/PKGBUILD
    (from rev 942168, ansible-lint/trunk/PKGBUILD)
  ansible-lint/repos/community-any/disable_use_scm_version.patch
    (from rev 942168, 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                      |   81 +++++++++++++++++++++-------------------
 disable_use_scm_version.patch |   62 +++++++++++++++---------------
 2 files changed, 74 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-22 18:44:21 UTC (rev 942168)
+++ PKGBUILD	2021-05-22 18:44:27 UTC (rev 942169)
@@ -1,38 +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.0.10
-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-base' 'python-ruamel-yaml' 'python-pyaml' 'python-rich' 'python-packaging'
-          'python-wcmatch' 'python-enrich' 'python-tenacity')
-checkdepends=('python-pytest')
-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=('f50ec3c33521501f321414bb161a265fee0549b96760a67f80c2db60c24da70d4d71453b65221b14c3c074a71c87d44db621fbf45ecc285cef0c54d0520a649b'
-        'a090862e657bfc29c89b23b2ecc8c585e15f098310b997e39600b6bdf0cd433e1045e2da348ce27dc2d3c0f9ef01950cf0ec5e7b071bc43d85161faabd8a1f60')
-
-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 setup.py build
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  PYTHONHASHSEED=0 python setup.py install --root="${pkgdir}" --optimize=1
-  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: ansible-lint/repos/community-any/PKGBUILD (from rev 942168, ansible-lint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-22 18:44:27 UTC (rev 942169)
@@ -0,0 +1,43 @@
+# 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.0.10
+pkgrel=2
+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-base' 'python-ruamel-yaml' 'python-pyaml' 'python-rich' 'python-packaging'
+          'python-wcmatch' 'python-enrich' 'python-tenacity')
+checkdepends=('python-pytest')
+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
+        fix_32_excludes_paths_limit.patch::https://github.com/ansible-community/ansible-lint/commit/281402e4e28a67da9d4075d9faec03da2386c0ba.patch)
+b2sums=('59924ea6298839bba9e26fdc550e2ab103e2577535d1da5428b1595ab077daf893cb13cfd924fefc4069e5c85f596d7a9069d3e410a243448b3bceac2a4c23a7'
+        'a090862e657bfc29c89b23b2ecc8c585e15f098310b997e39600b6bdf0cd433e1045e2da348ce27dc2d3c0f9ef01950cf0ec5e7b071bc43d85161faabd8a1f60'
+        '0293b57a5cf78d0adcef9d3bd44c4542a659104ad4d8d39000a61e7135cef2190e7f99fffdfa6fc2bdb85ef348db41ccb527b79814312b0682baf048f69a4adf')
+
+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
+
+  # fix infrastructure.git pls
+  patch -Np1 < "${srcdir}"/fix_32_excludes_paths_limit.patch
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  PYTHONHASHSEED=0 python setup.py install --root="${pkgdir}" --optimize=1
+  install -Dm 644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}

Deleted: disable_use_scm_version.patch
===================================================================
--- disable_use_scm_version.patch	2021-05-22 18:44:21 UTC (rev 942168)
+++ disable_use_scm_version.patch	2021-05-22 18:44:27 UTC (rev 942169)
@@ -1,31 +0,0 @@
-diff -aur origsrc/ansible-lint-5.0.0/setup.cfg src/ansible-lint-5.0.0/setup.cfg
---- aaa/setup.cfg	2021-02-09 19:19:11.689518714 +0100
-+++ bbb/setup.cfg	2021-02-09 19:19:30.538804812 +0100
-@@ -54,18 +54,12 @@
-   lint
- 
- [options]
--use_scm_version = True
- python_requires = >=3.6
- package_dir =
-   = src
- packages = find:
- zip_safe = False
- 
--# These are required during `setup.py` run:
--setup_requires =
--  setuptools_scm>=1.15.0
--  setuptools_scm_git_archive>=1.0
--
- # These are required in actual runtime:
- install_requires =
-   # ansible-lint does not list ansible as direct dependency in order to
-diff -aur origsrc/ansible-lint-5.0.0/setup.py src/ansible-lint-5.0.0/setup.py
---- aaa/setup.py	2021-02-09 19:19:11.689518714 +0100
-+++ bbb/setup.py	2021-02-09 19:19:42.271693765 +0100
-@@ -9,5 +9,4 @@
- # https://github.com/jazzband/pip-tools/issues/1278
- setuptools.setup(
-     use_scm_version={"local_scheme": "no-local-version"},
--    setup_requires=["setuptools_scm[toml]>=3.5.0"],
- )

Copied: ansible-lint/repos/community-any/disable_use_scm_version.patch (from rev 942168, ansible-lint/trunk/disable_use_scm_version.patch)
===================================================================
--- disable_use_scm_version.patch	                        (rev 0)
+++ disable_use_scm_version.patch	2021-05-22 18:44:27 UTC (rev 942169)
@@ -0,0 +1,31 @@
+diff -aur origsrc/ansible-lint-5.0.0/setup.cfg src/ansible-lint-5.0.0/setup.cfg
+--- aaa/setup.cfg	2021-02-09 19:19:11.689518714 +0100
++++ bbb/setup.cfg	2021-02-09 19:19:30.538804812 +0100
+@@ -54,18 +54,12 @@
+   lint
+ 
+ [options]
+-use_scm_version = True
+ python_requires = >=3.6
+ package_dir =
+   = src
+ packages = find:
+ zip_safe = False
+ 
+-# These are required during `setup.py` run:
+-setup_requires =
+-  setuptools_scm>=1.15.0
+-  setuptools_scm_git_archive>=1.0
+-
+ # These are required in actual runtime:
+ install_requires =
+   # ansible-lint does not list ansible as direct dependency in order to
+diff -aur origsrc/ansible-lint-5.0.0/setup.py src/ansible-lint-5.0.0/setup.py
+--- aaa/setup.py	2021-02-09 19:19:11.689518714 +0100
++++ bbb/setup.py	2021-02-09 19:19:42.271693765 +0100
+@@ -9,5 +9,4 @@
+ # https://github.com/jazzband/pip-tools/issues/1278
+ setuptools.setup(
+     use_scm_version={"local_scheme": "no-local-version"},
+-    setup_requires=["setuptools_scm[toml]>=3.5.0"],
+ )



More information about the arch-commits mailing list