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

Chih-Hsuan Yen yan12125 at archlinux.org
Thu Jun 27 15:05:35 UTC 2019


    Date: Thursday, June 27, 2019 @ 15:05:34
  Author: yan12125
Revision: 484902

upgpkg: python-cfn-lint 0.22.0-1

* fix-tests.patch is upstreamed [1]

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

Modified:
  python-cfn-lint/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-27 14:59:57 UTC (rev 484901)
+++ PKGBUILD	2019-06-27 15:05:34 UTC (rev 484902)
@@ -1,7 +1,7 @@
 # Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
 
 pkgname=python-cfn-lint
-pkgver=0.21.6
+pkgver=0.22.0
 pkgrel=1
 pkgdesc='CloudFormation Linter'
 arch=(any)
@@ -10,19 +10,9 @@
 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"
-        fix-tests.patch)
-sha256sums=('dc4544a9f46a3b6393f29a2edc7490a0df99827dc602bca3f3bfd8e2bfd61f97'
-            'e530839ba21e4aa6d19fb08563aa91b16d5f445e0ceb7f97021a130ff8948465')
+source=("https://github.com/aws-cloudformation/cfn-python-lint/archive/v$pkgver/cfn-python-lint-v$pkgver.tar.gz")
+sha256sums=('782e9d6b7677cd603928add1a587fa1623e6566509f5248a228b032ce21f2f8d')
 
-prepare() {
-  cd cfn-python-lint-$pkgver
-  patch -Np1 -i ../fix-tests.patch
-
-  # mimic https://github.com/awslabs/serverless-application-model/pull/927
-  sed -i 's#jsonschema~=2.6#jsonschema~=3.0#' setup.py
-}
-
 build() {
   cd cfn-python-lint-$pkgver
   python setup.py build



More information about the arch-commits mailing list