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

Chih-Hsuan Yen yan12125 at archlinux.org
Sat Jan 4 13:43:54 UTC 2020


    Date: Saturday, January 4, 2020 @ 13:43:53
  Author: yan12125
Revision: 547902

python-cfn-lint: backport a commit to fix tests

Yes, Node.js 8 is no longer supported in 2020!

Modified:
  python-cfn-lint/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-01-04 13:21:10 UTC (rev 547901)
+++ PKGBUILD	2020-01-04 13:43:53 UTC (rev 547902)
@@ -2,7 +2,7 @@
 
 pkgname=python-cfn-lint
 pkgver=0.26.2
-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)
 checkdepends=(python-pytest python-mock)
-source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz")
-sha256sums=('fff4b0a6f867308b5fa27b7e6cbd4e6bfa161b6a9edefc03835698c7c266a263')
+source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-$pkgver.tar.gz"
+        $pkgname-nodejs.patch::https://github.com/aws-cloudformation/cfn-python-lint/commit/86203fe84cf5077312e808f5469518d7dfb631f3.patch)
+sha256sums=('fff4b0a6f867308b5fa27b7e6cbd4e6bfa161b6a9edefc03835698c7c266a263'
+            'd676e910887c79fad0b0da2b4c27c6f5538e81f72cfde1a79733393f3cd8fde8')
 
+prepare() {
+  cd cfn-python-lint-$pkgver
+  patch -Np1 -i ../$pkgname-nodejs.patch
+}
+
 build() {
   cd cfn-python-lint-$pkgver
   python setup.py build



More information about the arch-commits mailing list