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

Frederik Schwan freswa at gemini.archlinux.org
Thu May 19 10:05:21 UTC 2022


    Date: Thursday, May 19, 2022 @ 10:05:21
  Author: freswa
Revision: 1209219

archrelease: copy trunk to community-any

Added:
  ansible-lint/repos/community-any/PKGBUILD
    (from rev 1209218, ansible-lint/trunk/PKGBUILD)
  ansible-lint/repos/community-any/disable_use_scm_version.patch
    (from rev 1209218, 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-05-19 10:05:19 UTC (rev 1209218)
+++ PKGBUILD	2022-05-19 10:05:21 UTC (rev 1209219)
@@ -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.2.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=('dd6499e8f51878ba85977b753e3db94675579aae42f7921776fbb4380e200a0b3e9adc4f358481e50d7b20b6f832428350a000ba98a8bfb19b21d52f5c3456b5'
-        '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 1209218, ansible-lint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-19 10:05:21 UTC (rev 1209219)
@@ -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.2.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' '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=('9ae6f4a1c6066e7f70803feeaeeee574262f5cdff36a0e93b330b7d1066e54ad3f99c5e7827751510d3cb58a5c44e6183f725c09f4be8ff3725d3b03e5d41ca7'
+        '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-05-19 10:05:19 UTC (rev 1209218)
+++ disable_use_scm_version.patch	2022-05-19 10:05:21 UTC (rev 1209219)
@@ -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 1209218, ansible-lint/trunk/disable_use_scm_version.patch)
===================================================================
--- disable_use_scm_version.patch	                        (rev 0)
+++ disable_use_scm_version.patch	2022-05-19 10:05:21 UTC (rev 1209219)
@@ -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