[arch-commits] Commit in python-cfn-lint/repos/community-any (3 files)

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


    Date: Thursday, June 27, 2019 @ 15:06:51
  Author: yan12125
Revision: 484904

archrelease: copy trunk to community-any

Added:
  python-cfn-lint/repos/community-any/PKGBUILD
    (from rev 484903, python-cfn-lint/trunk/PKGBUILD)
Deleted:
  python-cfn-lint/repos/community-any/PKGBUILD
  python-cfn-lint/repos/community-any/fix-tests.patch

-----------------+
 PKGBUILD        |   74 +++++++++++++++++++++++-------------------------------
 fix-tests.patch |   11 --------
 2 files changed, 32 insertions(+), 53 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-06-27 15:06:39 UTC (rev 484903)
+++ PKGBUILD	2019-06-27 15:06:51 UTC (rev 484904)
@@ -1,42 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-cfn-lint
-pkgver=0.21.6
-pkgrel=1
-pkgdesc='CloudFormation Linter'
-arch=(any)
-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)
-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')
-
-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
-}
-
-check() {
-  cd cfn-python-lint-$pkgver
-
-  PYTHONPATH=build/lib pytest -v test
-}
-
-package() {
-  cd cfn-python-lint-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
-
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}

Copied: python-cfn-lint/repos/community-any/PKGBUILD (from rev 484903, python-cfn-lint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-06-27 15:06:51 UTC (rev 484904)
@@ -0,0 +1,32 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-cfn-lint
+pkgver=0.22.0
+pkgrel=1
+pkgdesc='CloudFormation Linter'
+arch=(any)
+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)
+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')
+
+build() {
+  cd cfn-python-lint-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd cfn-python-lint-$pkgver
+
+  PYTHONPATH=build/lib pytest -v test
+}
+
+package() {
+  cd cfn-python-lint-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}

Deleted: fix-tests.patch
===================================================================
--- fix-tests.patch	2019-06-27 15:06:39 UTC (rev 484903)
+++ fix-tests.patch	2019-06-27 15:06:51 UTC (rev 484904)
@@ -1,11 +0,0 @@
---- 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)
- 
-     def _ignore_templates(self):
-         """ templates """



More information about the arch-commits mailing list