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

Chih-Hsuan Yen yan12125 at archlinux.org
Tue Jul 9 03:50:04 UTC 2019


    Date: Tuesday, July 9, 2019 @ 03:50:04
  Author: yan12125
Revision: 487734

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   71 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 39 insertions(+), 32 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-09 03:49:45 UTC (rev 487733)
+++ PKGBUILD	2019-07-09 03:50:04 UTC (rev 487734)
@@ -1,32 +0,0 @@
-# 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
-}

Copied: python-cfn-lint/repos/community-any/PKGBUILD (from rev 487733, python-cfn-lint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-09 03:50:04 UTC (rev 487734)
@@ -0,0 +1,39 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-cfn-lint
+pkgver=0.22.1
+pkgrel=2
+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-$pkgver.tar.gz"
+        cfn-lint-pr1003.patch::https://github.com/aws-cloudformation/cfn-python-lint/pull/1003.patch)
+sha256sums=('d24d2efa60bda4596dae759a07943d4785202a90c067f530af55c104dbfacb86'
+            'fa60ce826c0438c55520239903312aab816a2016fc39c39900976077b21a5c55')
+
+prepare() {
+  cd cfn-python-lint-$pkgver
+  patch -Np1 -i ../cfn-lint-pr1003.patch
+}
+
+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
+}


More information about the arch-commits mailing list