mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 03:35:38 +03:00
51 lines
1.4 KiB
Text
51 lines
1.4 KiB
Text
# Contributor: Sean McAvoy <seanmcavoy@gmail.com>
|
|
# Maintainer: Sean McAvoy <seanmcavoy@gmail.com>
|
|
pkgname=ansible-core
|
|
pkgver=2.14.3
|
|
pkgrel=0
|
|
pkgdesc="core components of ansible: A configuration-management, deployment, task-execution, and multinode orchestration framework"
|
|
url="https://ansible.com"
|
|
options="!check" # for now
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
depends="
|
|
py3-cryptography
|
|
py3-jinja2
|
|
py3-packaging
|
|
py3-paramiko
|
|
py3-resolvelib
|
|
py3-yaml
|
|
python3
|
|
"
|
|
makedepends="py3-setuptools"
|
|
subpackages="$pkgname-doc"
|
|
source="https://pypi.python.org/packages/source/a/ansible-core/ansible-core-$pkgver.tar.gz
|
|
resolvelib.patch
|
|
"
|
|
|
|
replaces="ansible-base"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
|
|
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples/
|
|
cp -r examples/* \
|
|
"$pkgdir"/usr/share/doc/$pkgname/examples/
|
|
install -m644 README.rst "$pkgdir"/usr/share/doc/$pkgname
|
|
|
|
mkdir -p "$pkgdir"/usr/share/man/
|
|
local man
|
|
for man in ./docs/man/man?/*.?; do
|
|
install -Dm644 "$man" \
|
|
"$pkgdir"/usr/share/man/man${man##*.}/${man##*/}
|
|
done
|
|
}
|
|
|
|
sha512sums="
|
|
95278d9c55d3eef2f66db1ee62648b5493e138f19513c32780684c55631c1ec49f94988a8d0f5eede44dbcceca7b4dd34aca10fa67d17dbe90ef8cf37051581d ansible-core-2.14.3.tar.gz
|
|
2debd5854b096f951aa00eb77ffe2f08f515944d7d6de9bf34a6cc0a624e6ae9fa40ab2c4b62f3cf8dfa1f18831e733eb3c494a6b101a62cea2a0f433168a304 resolvelib.patch
|
|
"
|