blob: 84b472e1b371e5ca88dd22976db29a904ca9363d (
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
|
# Maintainer: Amin Vakil <info AT aminvakil DOT com>
# Contributor: gardar <aur AT gardar DOT net>
pkgname=ansible-cmdb
pkgver=1.31
pkgrel=3
pkgdesc="Generate host overview from ansible fact gathering output."
arch=('any')
url="https://github.com/fboender/ansible-cmdb"
license=('GPL3')
depends=('python' 'python-mako' 'python-pyyaml' 'python-jsonxs')
makedepends=('python-setuptools' 'git' 'python-build' 'python-installer' 'python-wheel')
# source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::${url}/archive/${pkgver}.tar.gz")
source=("git+https://github.com/gardar/ansible-cmdb.git#branch=fix-build")
sha256sums=('SKIP')
build() {
cd "$srcdir/${pkgname}"
python -m build
}
package() {
cd "$srcdir/${pkgname}"
python -m installer --destdir="$pkgdir" dist/*.whl
}
|