Date: Friday, February 7, 2020 @ 12:38:58 Author: yan12125 Revision: 563718
archrelease: copy trunk to community-any Added: python-cfn-lint/repos/community-any/PKGBUILD (from rev 563717, python-cfn-lint/trunk/PKGBUILD) Deleted: python-cfn-lint/repos/community-any/PKGBUILD ----------+ PKGBUILD | 76 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 37 insertions(+), 39 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-07 12:38:40 UTC (rev 563717) +++ PKGBUILD 2020-02-07 12:38:58 UTC (rev 563718) @@ -1,39 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> - -pkgname=python-cfn-lint -pkgver=0.27.3 -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) -checkdepends=(python-pytest python-mock) -source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz") -sha256sums=('209bfee4087f06fda44faccf867628e1fac53056d1c952203da0076e2d488437') - -build() { - cd cfn-python-lint-$pkgver - python setup.py build -} - -check() { - cd cfn-python-lint-$pkgver - - site_packages_path=$(python -c 'import site; print(site.getsitepackages()[0])') - - # Tests in test/integration need the cfn-lint binary - python setup.py install --root="$srcdir"/tmp_install - - export PYTHONPATH="$srcdir"/tmp_install$site_packages_path - export PATH="$PATH:$srcdir/tmp_install/usr/bin" - pytest -v test -} - -package() { - cd cfn-python-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 563717, python-cfn-lint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-07 12:38:58 UTC (rev 563718) @@ -0,0 +1,37 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> + +pkgname=python-cfn-lint +pkgver=0.27.4 +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) +checkdepends=(python-pytest python-mock) +source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz") +sha256sums=('26f1da3df317deeffc157cba45d0b31a3ef2095b549c570558adebb9000c8b06') + +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 + python setup.py install --root="$pkgdir" --optimize=1 --skip-build + + install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname +}