Date: Friday, July 17, 2020 @ 02:49:49 Author: yan12125 Revision: 664243
archrelease: copy trunk to community-any Added: python-cfn-lint/repos/community-any/PKGBUILD (from rev 664242, python-cfn-lint/trunk/PKGBUILD) Deleted: python-cfn-lint/repos/community-any/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-17 02:49:31 UTC (rev 664242) +++ PKGBUILD 2020-07-17 02:49:49 UTC (rev 664243) @@ -1,42 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> - -pkgname=python-cfn-lint -pkgver=0.33.2 -pkgrel=1 -pkgdesc='CloudFormation Linter' -arch=(any) -url='https://github.com/aws-cloudformation/cfn-python-lint' -license=('custom:MIT No Attribution') -depends=(python python-yaml python-six python-aws-sam-translator - python-jsonpatch python-jsonschema python-setuptools python-networkx - python-junit-xml) -checkdepends=(python-pytest python-mock python-pydot) -optdepends=( - 'python-pydot: for building graphs from templates' -) -source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz") -sha256sums=('78a0deeec0453e3c983769abd46ed4b3b70233872b5d9855faeedbae09e56ca4') - -build() { - cd cfn-python-lint-$pkgver - python setup.py build -} - -check() { - cd cfn-python-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" - pytest -v test -} - -package() { - cd cfn-python-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 664242, python-cfn-lint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-17 02:49:49 UTC (rev 664243) @@ -0,0 +1,42 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> + +pkgname=python-cfn-lint +pkgver=0.34.0 +pkgrel=1 +pkgdesc='CloudFormation Linter' +arch=(any) +url='https://github.com/aws-cloudformation/cfn-python-lint' +license=('custom:MIT No Attribution') +depends=(python python-yaml python-six python-aws-sam-translator + python-jsonpatch python-jsonschema python-setuptools python-networkx + python-junit-xml) +checkdepends=(python-pytest python-mock python-pydot) +optdepends=( + 'python-pydot: for building graphs from templates' +) +source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz") +sha256sums=('c2712a51e3f16cfb78689f14cdca918141dda21f26d9a68ca337808ab964e0c5') + +build() { + cd cfn-python-lint-$pkgver + python setup.py build +} + +check() { + cd cfn-python-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" + pytest -v test +} + +package() { + cd cfn-python-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 +}