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

Frederik Schwan freswa at gemini.archlinux.org
Mon Aug 22 12:02:57 UTC 2022


    Date: Monday, August 22, 2022 @ 12:02:57
  Author: freswa
Revision: 1274676

archrelease: copy trunk to community-any

Added:
  ansible-lint/repos/community-any/PKGBUILD
    (from rev 1274675, ansible-lint/trunk/PKGBUILD)
  ansible-lint/repos/community-any/disable_use_scm_version.patch
    (from rev 1274675, 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                      |   72 ++++++++++++++++++++--------------------
 disable_use_scm_version.patch |   50 +++++++++++++--------------
 2 files changed, 61 insertions(+), 61 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-22 12:02:54 UTC (rev 1274675)
+++ PKGBUILD	2022-08-22 12:02:57 UTC (rev 1274676)
@@ -1,36 +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=6.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=('GPL3')
-depends=('python' 'ansible-core' 'python-ruamel-yaml' 'python-pyaml' 'python-rich' 'python-packaging'
-          'python-wcmatch' 'python-enrich' 'python-ansible-compat' 'python-jsonschema' 'yamllint')
-makedepends=('python-build' 'python-installer' 'python-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)
-b2sums=('6397f35b1716e76b136eaa57dd0a1e6f0701c9a03555965e8bd63346a1d849734bde12464241bbd498606c02e343d84e7a53908f24e61c6ad0d6c134ddf878f5'
-        'cf911567b040c8938ca589fde3c93b39cfba29ca1a373b8af354450a4f880d475463b0c81440fb9bfacc7b1f93736a5ae5ab58c7fdb30d8f03d1996754a738f3')
-
-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 installer --destdir="${pkgdir}" dist/*.whl
-}

Copied: ansible-lint/repos/community-any/PKGBUILD (from rev 1274675, ansible-lint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-08-22 12:02:57 UTC (rev 1274676)
@@ -0,0 +1,36 @@
+# 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=6.5.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' 'python-ruamel-yaml' 'python-pyaml' 'python-rich' 'python-packaging'
+          'python-wcmatch' 'python-enrich' 'python-ansible-compat' 'python-jsonschema' 'yamllint')
+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)
+b2sums=('33232f8d88bb50f4566e3a788853e03f30bff89d700df7bef5f5d109f2c7e573492aa3115d7e3bb873ce765789fbff6a12712043197d8b47acdf9ea8aafcd0bf'
+        'cf911567b040c8938ca589fde3c93b39cfba29ca1a373b8af354450a4f880d475463b0c81440fb9bfacc7b1f93736a5ae5ab58c7fdb30d8f03d1996754a738f3')
+
+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 installer --destdir="${pkgdir}" dist/*.whl
+}

Deleted: disable_use_scm_version.patch
===================================================================
--- disable_use_scm_version.patch	2022-08-22 12:02:54 UTC (rev 1274675)
+++ disable_use_scm_version.patch	2022-08-22 12:02:57 UTC (rev 1274676)
@@ -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 1274675, ansible-lint/trunk/disable_use_scm_version.patch)
===================================================================
--- disable_use_scm_version.patch	                        (rev 0)
+++ disable_use_scm_version.patch	2022-08-22 12:02:57 UTC (rev 1274676)
@@ -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



More information about the arch-commits mailing list