Date: Friday, March 27, 2020 @ 01:54:11 Author: yan12125 Revision: 604947
archrelease: copy trunk to community-any Added: python-cfn-lint/repos/community-any/PKGBUILD (from rev 604946, python-cfn-lint/trunk/PKGBUILD) Deleted: python-cfn-lint/repos/community-any/PKGBUILD ----------+ PKGBUILD | 81 +++++++++++++++++++++++++++---------------------------------- 1 file changed, 37 insertions(+), 44 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-27 01:53:59 UTC (rev 604946) +++ PKGBUILD 2020-03-27 01:54:11 UTC (rev 604947) @@ -1,44 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> - -pkgname=python-cfn-lint -pkgver=0.29.0 -pkgrel=2 -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) -checkdepends=(python-pytest python-mock) -source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz" - $pkgname-pr1432.patch::https://github.com/aws-cloudformation/cfn-python-lint/commit/2f0f9de8212a2a0a57ef0378b7f7f48c62296075.patch) -sha256sums=('978427fa7b0409606e3cc5e6049f55b7a7edb9b9de247f7d0a6833557a643f4b' - '4a2733a0a1bdde99016a5089ce2641c53faba265f2169f644b4efbc4eb7d54a3') - -prepare() { - cd cfn-python-lint-$pkgver - patch -Np1 -i ../$pkgname-pr1432.patch -} - -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 -} Copied: python-cfn-lint/repos/community-any/PKGBUILD (from rev 604946, python-cfn-lint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-27 01:54:11 UTC (rev 604947) @@ -0,0 +1,37 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> + +pkgname=python-cfn-lint +pkgver=0.29.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) +checkdepends=(python-pytest python-mock) +source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz") +sha256sums=('83c162fe367b5a5dcc6b4e4bf93ec59f651521cea5b93e72a649b846c3768eb0') + +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 +}