[arch-commits] Commit in python-cfn-lint/trunk (PKGBUILD fix-tests.patch)

Chih-Hsuan Yen yan12125 at archlinux.org
Thu Mar 14 14:58:44 UTC 2019


    Date: Thursday, March 14, 2019 @ 14:58:43
  Author: yan12125
Revision: 441030

upgpkg: python-cfn-lint 0.16.0-1

Change URLs as this project has migrated to another organization [1].

[1] https://github.com/aws-cloudformation/cfn-python-lint/pull/695

Modified:
  python-cfn-lint/trunk/PKGBUILD
  python-cfn-lint/trunk/fix-tests.patch

-----------------+
 PKGBUILD        |   10 +++++-----
 fix-tests.patch |   16 +++++++---------
 2 files changed, 12 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-14 14:31:38 UTC (rev 441029)
+++ PKGBUILD	2019-03-14 14:58:43 UTC (rev 441030)
@@ -1,20 +1,20 @@
 # Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
 
 pkgname=python-cfn-lint
-pkgver=0.15.0
+pkgver=0.16.0
 pkgrel=1
 pkgdesc='CloudFormation Linter'
 arch=(any)
-url='https://github.com/awslabs/cfn-python-lint'
+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/awslabs/cfn-python-lint/archive/v$pkgver.tar.gz"
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver.tar.gz"
         fix-tests.patch)
-sha256sums=('53ad1177d3c85a7c20adb38cac9cd08751d7f3f1a0fd40cce790d96dfae1cb76'
-            'c36881e4d33092bdd5173e42e5b2bf4b04d521c95e4365b7eaa94dd93dbaf0ea')
+sha256sums=('50909f990ed57e17c4ec38dd0c99aae1453a41c9159f166a7f200ed8c8d81618'
+            'e530839ba21e4aa6d19fb08563aa91b16d5f445e0ceb7f97021a130ff8948465')
 
 prepare() {
   cd cfn-python-lint-$pkgver

Modified: fix-tests.patch
===================================================================
--- fix-tests.patch	2019-03-14 14:31:38 UTC (rev 441029)
+++ fix-tests.patch	2019-03-14 14:58:43 UTC (rev 441030)
@@ -1,13 +1,11 @@
-diff --git a/src/cfnlint/config.py b/src/cfnlint/config.py
-index a130acb..2a5f4c9 100644
---- a/src/cfnlint/config.py
-+++ b/src/cfnlint/config.py
-@@ -448,7 +448,7 @@ class ConfigMixIn(TemplateArgs, CliArgs, ConfigFileArgs, object):
-             else:
-                 all_filenames.extend(add_filenames)
+--- 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)
  
-     @property
-     def append_rules(self):
+     def _ignore_templates(self):
+         """ templates """



More information about the arch-commits mailing list