[arch-commits] Commit in python-cfn-lint/repos/community-any (PKGBUILD PKGBUILD)
Chih-Hsuan Yen
yan12125 at gemini.archlinux.org
Sat Sep 11 17:34:09 UTC 2021
Date: Saturday, September 11, 2021 @ 17:34:09
Author: yan12125
Revision: 1014269
archrelease: copy trunk to community-any
Added:
python-cfn-lint/repos/community-any/PKGBUILD
(from rev 1014268, python-cfn-lint/trunk/PKGBUILD)
Deleted:
python-cfn-lint/repos/community-any/PKGBUILD
----------+
PKGBUILD | 87 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-11 17:33:57 UTC (rev 1014268)
+++ PKGBUILD 2021-09-11 17:34:09 UTC (rev 1014269)
@@ -1,43 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
-
-pkgname=python-cfn-lint
-pkgver=0.54.0
-pkgrel=1
-pkgdesc='CloudFormation Linter'
-arch=(any)
-url='https://github.com/aws-cloudformation/cfn-lint'
-license=('custom:MIT No Attribution')
-depends=(python python-yaml python-six python-aws-sam-translator
- python-jsonpatch python-jsonschema python-networkx
- python-junit-xml)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest python-mock python-pydot)
-optdepends=(
- 'python-pydot: for building graphs from templates'
-)
-source=("https://github.com/aws-cloudformation/cfn-lint/archive/v$pkgver/cfn-lint-$pkgver.tar.gz")
-sha256sums=('9517788ddfb63c7bfe10ff802946028db999ca2fcb78adbf97f9d031f9940a49')
-
-build() {
- cd cfn-lint-$pkgver
- python setup.py build
-}
-
-check() {
- cd cfn-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"
- # test_update_docs requires cfn-lint as a git repo
- pytest test -k 'not test_update_docs'
-}
-
-package() {
- cd cfn-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 1014268, python-cfn-lint/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-11 17:34:09 UTC (rev 1014269)
@@ -0,0 +1,44 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-cfn-lint
+# https://github.com/aws-cloudformation/cfn-lint/blob/main/CHANGELOG.md
+pkgver=0.54.1
+pkgrel=1
+pkgdesc='CloudFormation Linter'
+arch=(any)
+url='https://github.com/aws-cloudformation/cfn-lint'
+license=('custom:MIT No Attribution')
+depends=(python python-yaml python-six python-aws-sam-translator
+ python-jsonpatch python-jsonschema python-networkx
+ python-junit-xml)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest python-mock python-pydot)
+optdepends=(
+ 'python-pydot: for building graphs from templates'
+)
+source=("https://github.com/aws-cloudformation/cfn-lint/archive/v$pkgver/cfn-lint-$pkgver.tar.gz")
+sha256sums=('bb6ff0d193c8034225c638463e50432dd71d4d0be03a5a47576945f584b18481')
+
+build() {
+ cd cfn-lint-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd cfn-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"
+ # test_update_docs requires cfn-lint as a git repo
+ pytest test -k 'not test_update_docs'
+}
+
+package() {
+ cd cfn-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