Date: Thursday, September 1, 2022 @ 16:16:01 Author: freswa Revision: 1290370
archrelease: copy trunk to community-any Added: ansible-lint/repos/community-any/PKGBUILD (from rev 1290369, ansible-lint/trunk/PKGBUILD) ansible-lint/repos/community-any/disable_use_scm_version.patch (from rev 1290369, 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 | 70 ++++++++++++++++++++-------------------- disable_use_scm_version.patch | 50 ++++++++++++++-------------- 2 files changed, 60 insertions(+), 60 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-09-01 16:15:58 UTC (rev 1290369) +++ PKGBUILD 2022-09-01 16:16:01 UTC (rev 1290370) @@ -1,35 +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.5.1 -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 yamllint python-{ansible-compat,enrich,filelock,jsonschema,pyaml,packaging,rich,ruamel-yaml,wcmatch}) -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=('9f6bf46484fef302091117e8570def77c7501d930bd48bf381381b819ddc83ba5eb53539612d1f038f399743a96af8f4231ddfe0e548af8e6e43b1bb5720fea5' - '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 1290369, ansible-lint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-09-01 16:16:01 UTC (rev 1290370) @@ -0,0 +1,35 @@ +# 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.5.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=('GPL3') +depends=(python ansible-core yamllint python-{ansible-compat,enrich,filelock,jsonschema,pyaml,packaging,rich,ruamel-yaml,wcmatch}) +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=('02fe3f0cb410831ee7913c5f5ae434678ff183f9c60f0355988d69b516324513fd417439f9ceee4a38192c1e593d7bc00c8fd1aafdff6ba904cdb4ba56257657' + '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-09-01 16:15:58 UTC (rev 1290369) +++ disable_use_scm_version.patch 2022-09-01 16:16:01 UTC (rev 1290370) @@ -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 1290369, ansible-lint/trunk/disable_use_scm_version.patch) =================================================================== --- disable_use_scm_version.patch (rev 0) +++ disable_use_scm_version.patch 2022-09-01 16:16:01 UTC (rev 1290370) @@ -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