Date: Saturday, March 23, 2019 @ 09:10:51 Author: yan12125 Revision: 443223
archrelease: copy trunk to community-any Added: python-cfn-lint/repos/community-any/PKGBUILD (from rev 443222, python-cfn-lint/trunk/PKGBUILD) python-cfn-lint/repos/community-any/fix-tests.patch (from rev 443222, python-cfn-lint/trunk/fix-tests.patch) Deleted: python-cfn-lint/repos/community-any/PKGBUILD python-cfn-lint/repos/community-any/fix-tests.patch -----------------+ PKGBUILD | 80 +++++++++++++++++++++++++++--------------------------- fix-tests.patch | 22 +++++++------- 2 files changed, 51 insertions(+), 51 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-03-23 09:10:35 UTC (rev 443222) +++ PKGBUILD 2019-03-23 09:10:51 UTC (rev 443223) @@ -1,40 +0,0 @@ -# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> - -pkgname=python-cfn-lint -pkgver=0.16.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-pyaml python-six python-requests python-aws-sam-translator - python-jsonpatch python-jsonschema python-setuptools) -makedepends=(python-setuptools) -checkdepends=(python-pytest python-mock) -source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver.tar.gz" - fix-tests.patch) -sha256sums=('50909f990ed57e17c4ec38dd0c99aae1453a41c9159f166a7f200ed8c8d81618' - 'e530839ba21e4aa6d19fb08563aa91b16d5f445e0ceb7f97021a130ff8948465') - -prepare() { - cd cfn-python-lint-$pkgver - patch -Np1 -i ../fix-tests.patch -} - -build() { - cd cfn-python-lint-$pkgver - python setup.py build -} - -check() { - cd cfn-python-lint-$pkgver - - PYTHONPATH=build/lib 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 443222, python-cfn-lint/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-03-23 09:10:51 UTC (rev 443223) @@ -0,0 +1,40 @@ +# Maintainer: Chih-Hsuan Yen <yan12...@archlinux.org> + +pkgname=python-cfn-lint +pkgver=0.17.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-pyaml python-six python-requests python-aws-sam-translator + python-jsonpatch python-jsonschema python-setuptools) +makedepends=(python-setuptools) +checkdepends=(python-pytest python-mock) +source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver.tar.gz" + fix-tests.patch) +sha256sums=('b25f47ff25ca12a0e1fddb9a50778d3e1837b2dfd08c9632b993a0c19f7c3415' + 'e530839ba21e4aa6d19fb08563aa91b16d5f445e0ceb7f97021a130ff8948465') + +prepare() { + cd cfn-python-lint-$pkgver + patch -Np1 -i ../fix-tests.patch +} + +build() { + cd cfn-python-lint-$pkgver + python setup.py build +} + +check() { + cd cfn-python-lint-$pkgver + + PYTHONPATH=build/lib 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 +} Deleted: fix-tests.patch =================================================================== --- fix-tests.patch 2019-03-23 09:10:35 UTC (rev 443222) +++ fix-tests.patch 2019-03-23 09:10:51 UTC (rev 443223) @@ -1,11 +0,0 @@ ---- cfn-python-lint-0.16.0/src/cfnlint/config.py.orig 2019-03-14 22:41:20.817312234 +0800 -+++ cfn-python-lint-0.16.0/src/cfnlint/config.py 2019-03-14 22:41:40.973955815 +0800 -@@ -456,7 +456,7 @@ - if add_filename not in ignore_templates: - all_filenames.append(add_filename) - -- return all_filenames -+ return sorted(all_filenames) - - def _ignore_templates(self): - """ templates """ Copied: python-cfn-lint/repos/community-any/fix-tests.patch (from rev 443222, python-cfn-lint/trunk/fix-tests.patch) =================================================================== --- fix-tests.patch (rev 0) +++ fix-tests.patch 2019-03-23 09:10:51 UTC (rev 443223) @@ -0,0 +1,11 @@ +--- cfn-python-lint-0.16.0/src/cfnlint/config.py.orig 2019-03-14 22:41:20.817312234 +0800 ++++ cfn-python-lint-0.16.0/src/cfnlint/config.py 2019-03-14 22:41:40.973955815 +0800 +@@ -456,7 +456,7 @@ + if add_filename not in ignore_templates: + all_filenames.append(add_filename) + +- return all_filenames ++ return sorted(all_filenames) + + def _ignore_templates(self): + """ templates """