Date: Tuesday, July 9, 2019 @ 03:49:45
  Author: yan12125
Revision: 487733

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

Modified:
  python-cfn-lint/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2019-07-09 01:36:52 UTC (rev 487732)
+++ PKGBUILD    2019-07-09 03:49:45 UTC (rev 487733)
@@ -1,8 +1,8 @@
 # Maintainer: Chih-Hsuan Yen <[email protected]>
 
 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,9 +10,16 @@
 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
   python setup.py build

Reply via email to