Date: Saturday, September 4, 2021 @ 01:26:34 Author: yan12125 Revision: 1010754
archrelease: copy trunk to community-any Added: python-cfn-lint/repos/community-any/PKGBUILD (from rev 1010753, 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 2021-09-04 01:26:20 UTC (rev 1010753) +++ PKGBUILD 2021-09-04 01:26:34 UTC (rev 1010754) @@ -1,44 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> - -pkgname=python-cfn-lint -pkgver=0.53.0 -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-six python-aws-sam-translator - python-jsonpatch python-jsonschema python-networkx - python-junit-xml) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-mock 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=('9b9d690d5a459effe0545c640d75ed1c3d3a365e263ae156b1970dc0baf73f9a') - -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 - # use PYTHONHASHSEED=0 to work around https://bugs.python.org/issue34033 - PYTHONHASHSEED=0 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 1010753, python-cfn-lint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-09-04 01:26:34 UTC (rev 1010754) @@ -0,0 +1,44 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> + +pkgname=python-cfn-lint +pkgver=0.53.1 +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-six python-aws-sam-translator + python-jsonpatch python-jsonschema python-networkx + python-junit-xml) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-mock 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=('3aff0213b374b4aaa4d2432647cb3a6c9276ee7a91e46f602cd34a0c588e850b') + +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 + # use PYTHONHASHSEED=0 to work around https://bugs.python.org/issue34033 + PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1 --skip-build + + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname +}