[arch-commits] Commit in python-cfn-lint/trunk (PKGBUILD)

Chih-Hsuan Yen yan12125 at archlinux.org
Sat Mar 21 07:36:25 UTC 2020


    Date: Saturday, March 21, 2020 @ 07:36:24
  Author: yan12125
Revision: 602388

upgpkg: python-cfn-lint 0.29.0-2; backport a fix for tests

Ref: https://github.com/aws-cloudformation/cfn-python-lint/pull/1432

Modified:
  python-cfn-lint/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-21 07:36:11 UTC (rev 602387)
+++ PKGBUILD	2020-03-21 07:36:24 UTC (rev 602388)
@@ -2,7 +2,7 @@
 
 pkgname=python-cfn-lint
 pkgver=0.29.0
-pkgrel=1
+pkgrel=2
 pkgdesc='CloudFormation Linter'
 arch=(any)
 url='https://github.com/aws-cloudformation/cfn-python-lint'
@@ -10,9 +10,16 @@
 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=('978427fa7b0409606e3cc5e6049f55b7a7edb9b9de247f7d0a6833557a643f4b')
+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



More information about the arch-commits mailing list