diff options
author | Josip Janzic | 2018-05-14 23:35:23 +0200 |
---|---|---|
committer | Josip Janzic | 2018-05-14 23:35:23 +0200 |
commit | 51249d06d6fae70ea4acd24293d6ca489e38c2fe (patch) | |
tree | 3911fae981482b9e49dbba9682935c8a6cf79731 | |
download | aur-51249d06d6fae70ea4acd24293d6ca489e38c2fe.tar.gz |
Initial
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 31 |
3 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..b1d27ee77990 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-cfn-lint + pkgdesc = checks cloudformation for practices and behaviour that could potentially be improved + pkgver = r71.d2e1e46 + pkgrel = 1 + url = https://github.com/awslabs/cfn-python-lint + arch = any + license = MIT No Attribution + makedepends = python-setuptools + depends = python + depends = python-yaml + depends = python-requests + source = git+https://github.com/awslabs/cfn-python-lint.git + md5sums = SKIP + +pkgname = python-cfn-lint + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..dace66413fad --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +src +pkg +cfn-python-lint +*tar.xz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ca172eec25be --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Josip Janzic <josip@jjanzic.com> + +pkgbase=('python-cfn-lint') +pkgname=('python-cfn-lint') +_module='cfn-lint' +pkgver=r71.d2e1e46 +pkgrel=1 +pkgdesc="checks cloudformation for practices and behaviour that could potentially be improved" +url="https://github.com/awslabs/cfn-python-lint" +depends=('python' 'python-yaml' 'python-requests') +makedepends=('python-setuptools') +license=('MIT No Attribution') +arch=('any') +source=("git+https://github.com/awslabs/cfn-python-lint.git") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir"/cfn-python-lint + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir"/cfn-python-lint + python setup.py build +} + + +package() { + cd "$srcdir"/cfn-python-lint + python setup.py install --root="$pkgdir" --optimize=1 +} |