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

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


    Date: Saturday, March 21, 2020 @ 07:36:40
  Author: yan12125
Revision: 602390

archrelease: copy trunk to community-any

Added:
  python-cfn-lint/repos/community-any/PKGBUILD
    (from rev 602389, python-cfn-lint/trunk/PKGBUILD)
Deleted:
  python-cfn-lint/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   81 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 44 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-21 07:36:26 UTC (rev 602389)
+++ PKGBUILD	2020-03-21 07:36:40 UTC (rev 602390)
@@ -1,37 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-cfn-lint
-pkgver=0.29.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-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')
-
-build() {
-  cd cfn-python-lint-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd cfn-python-lint-$pkgver
-
-  # Tests in test/integration need the cfn-lint binary
-  python setup.py install_scripts --install-dir="$srcdir"/tmp_install
-
-  export PYTHONPATH="$PWD/src"
-  export PATH="$PATH:$srcdir/tmp_install"
-  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 602389, python-cfn-lint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-21 07:36:40 UTC (rev 602390)
@@ -0,0 +1,44 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-cfn-lint
+pkgver=0.29.0
+pkgrel=2
+pkgdesc='CloudFormation Linter'
+arch=(any)
+url='https://github.com/aws-cloudformation/cfn-python-lint'
+license=('custom:MIT No Attribution')
+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"
+        $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
+}
+
+check() {
+  cd cfn-python-lint-$pkgver
+
+  # Tests in test/integration need the cfn-lint binary
+  python setup.py install_scripts --install-dir="$srcdir"/tmp_install
+
+  export PYTHONPATH="$PWD/src"
+  export PATH="$PATH:$srcdir/tmp_install"
+  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
+}



More information about the arch-commits mailing list