Date: Saturday, March 26, 2022 @ 15:06:44 Author: freswa Revision: 1176835
archrelease: copy trunk to community-any Added: ansible-lint/repos/community-any/PKGBUILD (from rev 1176834, ansible-lint/trunk/PKGBUILD) ansible-lint/repos/community-any/disable_use_scm_version.patch (from rev 1176834, 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 | 73 +++++++++++++++++++--------------------- disable_use_scm_version.patch | 50 +++++++++++++-------------- 2 files changed, 61 insertions(+), 62 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-26 15:06:41 UTC (rev 1176834) +++ PKGBUILD 2022-03-26 15:06:44 UTC (rev 1176835) @@ -1,37 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@archlinux.org> -# Maintainer: Frederik Schwan <freswa at archlinux dot org> -# Contributor: Sander Boom <sanderb...@gmail.com> - -pkgname=ansible-lint -pkgver=6.0.2 -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-tenacity' 'python-ansible-compat') -makedepends=('python-build' 'python-installer' '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=('227f5f31334bf24f76f250b6a86eb6039269f7e704cdfbc4bed07b8eb5b9696c5feebc95cdd23d66bf6c34817b177a4b741a963c67a9310f8cd53e6bee72e4a3' - '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 1176834, ansible-lint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-26 15:06:44 UTC (rev 1176835) @@ -0,0 +1,36 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> +# Maintainer: Frederik Schwan <freswa at archlinux dot org> +# Contributor: Sander Boom <sanderb...@gmail.com> + +pkgname=ansible-lint +pkgver=6.0.2 +pkgrel=3 +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-tenacity' 'python-ansible-compat' '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=('227f5f31334bf24f76f250b6a86eb6039269f7e704cdfbc4bed07b8eb5b9696c5feebc95cdd23d66bf6c34817b177a4b741a963c67a9310f8cd53e6bee72e4a3' + '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-03-26 15:06:41 UTC (rev 1176834) +++ disable_use_scm_version.patch 2022-03-26 15:06:44 UTC (rev 1176835) @@ -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 1176834, ansible-lint/trunk/disable_use_scm_version.patch) =================================================================== --- disable_use_scm_version.patch (rev 0) +++ disable_use_scm_version.patch 2022-03-26 15:06:44 UTC (rev 1176835) @@ -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