aboutsummaryrefslogtreecommitdiffstats
path: root/community/ansible-core/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/ansible-core/APKBUILD')
-rw-r--r--community/ansible-core/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/ansible-core/APKBUILD b/community/ansible-core/APKBUILD
new file mode 100644
index 00000000000..fa3aa4cde90
--- /dev/null
+++ b/community/ansible-core/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Sean McAvoy <seanmcavoy@gmail.com>
+# Maintainer: Sean McAvoy <seanmcavoy@gmail.com>
+pkgname=ansible-core
+pkgver=2.16.5
+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 py3-docutils"
+subpackages="$pkgname-doc $pkgname-pyc"
+source="https://pypi.python.org/packages/source/a/ansible-core/ansible-core-$pkgver.tar.gz
+ "
+
+replaces="ansible-base"
+
+build() {
+ python3 setup.py build
+ python3 packaging/cli-doc/build.py man --output-dir man
+}
+
+package() {
+ python3 setup.py install --skip-build --root="$pkgdir"
+
+ install -Dm644 README.md -t "$pkgdir"/usr/share/doc/$pkgname/
+ install -Dm644 man/ansible*1 -t "$pkgdir"/usr/share/man/man1/
+}
+sha512sums="
+dbe5d68fbc3a0ef611791d6995297bca5bba6aed1f4871964136ea81810458646bc78c2146739f887de3c2e3017cf4e6d4d09652e41c2ca046c4bc88eca6c5d8 ansible-core-2.16.5.tar.gz
+"