blob: d8039251915b5f4d7084f563a3637e018139966c (
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
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Matteo Piccinini (loacker) <matteo.piccinini@gmail.com>
pkgname=ansible-builder
pkgver=3.1.1
pkgrel=4
pkgdesc="An Ansible execution environment builder"
arch=('any')
url="https://github.com/ansible/ansible-builder"
license=('Apache-2.0')
depends=(
'python'
'python-jsonschema'
'python-yaml'
'python-packaging'
'bash'
)
makedepends=(
'python-build'
'python-installer'
'python-setuptools'
'python-setuptools-scm'
'python-wheel'
'git'
)
optdepends=(
'ansible: check official ansible collections'
'docker: To use docker as a container runtime'
'podman: To use podman as a container runtime'
)
source=("$pkgname::git+$url.git#tag=$pkgver")
b2sums=('d34372ae84688db8ce5788de269212be96fe531b66053c8c812b70519a928ef8b0004beff0a56264660c7575ce3645d7b4bc6d2a40a7bacff6aaf1629b143f4f')
build() {
cd "${pkgname}"
python -m build --wheel --no-isolation --skip-dependency-check
}
package() {
cd "${pkgname}"
python -m installer --destdir="${pkgdir}" dist/*.whl
}
|