Date: Saturday, December 24, 2022 @ 11:22:04
Author: freswa
Revision: 1365382
upgpkg: ansible-lint 6.10.0-3
Modified:
ansible-lint/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-12-24 09:14:49 UTC (rev 1365381)
+++ PKGBUILD 2022-12-24 11:22:04 UTC (rev 1365382)
@@ -4,7 +4,7 @@
pkgname=ansible-lint
pkgver=6.10.0
-pkgrel=2
+pkgrel=3
pkgdesc="Checks playbooks for practices and behaviour that could potentially
be improved."
arch=('any')
url="https://github.com/ansible/ansible-lint"
@@ -11,15 +11,15 @@
license=('GPL3')
depends=(python ansible-core yamllint
python-{ansible-compat,black,enrich,filelock,jsonschema,pyaml,packaging,rich,ruamel-yaml,wcmatch})
-makedepends=(python-{build,installer,setuptools,wheel})
+makedepends=(git 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
+source=(git+https://github.com/ansible/ansible-lint.git#tag=v${pkgver}
disable_version_check.patch)
-b2sums=('1277398c93e26110babe4f0ef7ef94c39aacf3cd0fc14c609e12d3db88516da723756b42bb2164224bea58df457062748fb195116dc910e1c3fa57d664077272'
+b2sums=('SKIP'
'09a8a69cd2953e6f0b813976fae31388db87647e80ef7942a960adf1cf71e6a843ed86a2456e718042c790a8481db3bb2f7092c52c9553950cc05f46fe7ee35f')
prepare() {
- cd ${pkgname}-${pkgver}
+ cd ${pkgname}
# stop ansible-lint from calling home every 24h to check for a new version
patch -Np1 < "${srcdir}"/disable_version_check.patch
# use pkg version
@@ -27,12 +27,12 @@
}
build() {
- cd ${pkgname}-${pkgver}
+ cd ${pkgname}
python -m build --wheel --skip-dependency-check --no-isolation
}
package() {
- cd ${pkgname}-${pkgver}
+ cd ${pkgname}
python -m installer --destdir="${pkgdir}" dist/*.whl
install -Dm644 src/ansiblelint/data/profiles.yml \
"${pkgdir}$(python -c 'import site;
print(site.getsitepackages()[0])')"/ansiblelint/data/profiles.yml