From b6f5bd40428df0f3129d018335a85d46e956e5da Mon Sep 17 00:00:00 2001 From: yan12125 Date: Tue, 9 Jul 2019 03:49:45 +0000 Subject: [PATCH] upgpkg: python-cfn-lint 0.22.1-2 Also added a patch that fixes test failures in python-aws-sam-translator. The patch is from a merged pull request [1]. [1] https://github.com/aws-cloudformation/cfn-python-lint/pull/1003 git-svn-id: file:///srv/repos/svn-community/svn@487733 9fca08f4-af9d-4005-b8df-a31f2cc04f65 --- trunk/PKGBUILD | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD index 4c4e7daebe6b..98191ad44d1e 100644 --- a/trunk/PKGBUILD +++ b/trunk/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Chih-Hsuan Yen pkgname=python-cfn-lint -pkgver=0.22.0 -pkgrel=1 +pkgver=0.22.1 +pkgrel=2 pkgdesc='CloudFormation Linter' arch=(any) url='https://github.com/aws-cloudformation/cfn-python-lint' @@ -10,8 +10,15 @@ license=('custom:MIT No Attribution') depends=(python python-pyaml python-six python-requests 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-v$pkgver.tar.gz") -sha256sums=('782e9d6b7677cd603928add1a587fa1623e6566509f5248a228b032ce21f2f8d') +source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz" + cfn-lint-pr1003.patch::https://github.com/aws-cloudformation/cfn-python-lint/pull/1003.patch) +sha256sums=('d24d2efa60bda4596dae759a07943d4785202a90c067f530af55c104dbfacb86' + 'fa60ce826c0438c55520239903312aab816a2016fc39c39900976077b21a5c55') + +prepare() { + cd cfn-python-lint-$pkgver + patch -Np1 -i ../cfn-lint-pr1003.patch +} build() { cd cfn-python-lint-$pkgver