blob: 7cd2f69f2ab54f06b43ecf960855e20204ec85d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Maintainer: Josip Janzic <josip@jjanzic.com>
pkgbase=('python-cfn-lint-git')
pkgname=('python-cfn-lint-git')
_module='cfn-lint'
pkgver=r1262.8d4f1dea
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-six' 'python-requests' 'python-aws-sam-translator' 'python-jsonschema' 'python-jsonschema')
makedepends=('python-setuptools')
license=('MIT No Attribution')
arch=('any')
source=("git+https://github.com/awslabs/cfn-python-lint")
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
}
|