Date: Sunday, August 14, 2022 @ 06:48:50 Author: yan12125 Revision: 1266022
archrelease: copy trunk to community-any Added: python-cfn-lint/repos/community-any/PKGBUILD (from rev 1266021, python-cfn-lint/trunk/PKGBUILD) Deleted: python-cfn-lint/repos/community-any/PKGBUILD ----------+ PKGBUILD | 88 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 44 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-08-14 06:46:51 UTC (rev 1266021) +++ PKGBUILD 2022-08-14 06:48:50 UTC (rev 1266022) @@ -1,44 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> - -pkgname=python-cfn-lint -# https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md -pkgver=0.61.4 -pkgrel=1 -pkgdesc='CloudFormation Linter' -arch=(any) -url='https://github.com/aws-cloudformation/cfn-lint' -license=('custom:MIT No Attribution') -depends=(python python-yaml python-aws-sam-translator - python-jsonpatch python-jsonschema python-networkx - python-junit-xml python-jschema-to-python python-sarif-om) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-pydot) -optdepends=( - 'python-pydot: for building graphs from templates' -) -source=("https://github.com/aws-cloudformation/cfn-lint/archive/v$pkgver/cfn-lint-$pkgver.tar.gz") -sha256sums=('f4e2583d260bb495b2db0be23e7ce9b16ffb8da9015e23f79218acddc4e1a53a') - -build() { - cd cfn-lint-$pkgver - python setup.py build -} - -check() { - cd cfn-lint-$pkgver - - # Tests in test/integration need the cfn-lint binary - python setup.py install_scripts --install-dir="$srcdir"/tmp_install - - export PYTHONPATH="$PWD/src" - export PATH="$PATH:$srcdir/tmp_install" - # test_update_docs requires cfn-lint as a git repo - pytest test -k 'not test_update_docs' -} - -package() { - cd cfn-lint-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 --skip-build - - install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname -} Copied: python-cfn-lint/repos/community-any/PKGBUILD (from rev 1266021, python-cfn-lint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-08-14 06:48:50 UTC (rev 1266022) @@ -0,0 +1,44 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> + +pkgname=python-cfn-lint +# https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md +pkgver=0.61.5 +pkgrel=1 +pkgdesc='CloudFormation Linter' +arch=(any) +url='https://github.com/aws-cloudformation/cfn-lint' +license=('custom:MIT No Attribution') +depends=(python python-yaml python-aws-sam-translator + python-jsonpatch python-jsonschema python-networkx + python-junit-xml python-jschema-to-python python-sarif-om) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-pydot) +optdepends=( + 'python-pydot: for building graphs from templates' +) +source=("https://github.com/aws-cloudformation/cfn-lint/archive/v$pkgver/cfn-lint-$pkgver.tar.gz") +sha256sums=('7bab703eb0bc22a8d5e2bd09f49b69083354b9664f76b2e70ee46cad5b7a1845') + +build() { + cd cfn-lint-$pkgver + python setup.py build +} + +check() { + cd cfn-lint-$pkgver + + # Tests in test/integration need the cfn-lint binary + python setup.py install_scripts --install-dir="$srcdir"/tmp_install + + export PYTHONPATH="$PWD/src" + export PATH="$PATH:$srcdir/tmp_install" + # test_update_docs requires cfn-lint as a git repo + pytest test -k 'not test_update_docs' +} + +package() { + cd cfn-lint-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname +}