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