[arch-commits] Commit in (4 files)

Sven-Hendrik Haase svenstaro at archlinux.org
Thu Apr 29 14:15:08 UTC 2021


    Date: Thursday, April 29, 2021 @ 14:15:07
  Author: svenstaro
Revision: 925223

ansible-base has been renamed to ansible-core

https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-ansible-core

Added:
  ansible-core/
  ansible-core/repos/
  ansible-core/trunk/
  ansible-core/trunk/PKGBUILD

----------+
 PKGBUILD |   47 +++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)

Added: ansible-core/trunk/PKGBUILD
===================================================================
--- ansible-core/trunk/PKGBUILD	                        (rev 0)
+++ ansible-core/trunk/PKGBUILD	2021-04-29 14:15:07 UTC (rev 925223)
@@ -0,0 +1,47 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+# Contributor: Chris <seitz.christoph at gmail.com>
+# Contributor: m0ikz <ndelatorre at moikz.com.ar>
+# Contributor: atweiden <archbaum at gmail.com>
+
+pkgname=ansible-core
+pkgver=2.11.0
+pkgrel=1
+pkgdesc='Radically simple IT automation platform'
+arch=('any')
+url='https://pypi.org/project/ansible-core'
+license=('GPL3')
+depends=('python' 'python-yaml' 'python-paramiko' 'python-jinja')
+provides=('python-ansible')
+provides=('ansible-base')
+replaces=('ansible-base')
+optdepends=('sshpass: for ssh connections with password'
+            'python-passlib: crypt values for vars_prompt'
+            'python-netaddr: for the ipaddr filter'
+            'python-systemd: log to journal'
+            'python-pywinrm: connect to Windows machines'
+            'python-dnspython: for dig lookup'
+            'python-jmespath: json_query support')
+makedepends=('python-setuptools')
+backup=('etc/ansible/ansible.cfg')
+source=("https://pypi.python.org/packages/source/a/ansible-core/ansible-core-${pkgver}.tar.gz")
+sha512sums=('292be62bd4b0314d61eb7471f60f450be216c729a034f44f967ef827486b56ef1850de26928508f214ab430ea1584fc174cc4e8833f68d6e4de845e8565fd46a')
+
+build() {
+  cd ansible-core-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd ansible-core-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}"
+  install -Dm644 COPYING "${pkgdir}"/usr/share/doc/${pkgname}/COPYING
+
+  install -d "${pkgdir}"/usr/share/ansible/doc
+  cp -dpr --no-preserve=ownership ./examples "${pkgdir}"/usr/share/ansible/doc/
+  install -Dm644 examples/ansible.cfg "${pkgdir}"/etc/ansible/ansible.cfg
+
+  install -d "${pkgdir}"/usr/share/man/man1
+  cp -dpr --no-preserve=ownership docs/man/man1/*.1 "${pkgdir}"/usr/share/man/man1
+}



More information about the arch-commits mailing list