[arch-commits] Commit in ansible-core/repos (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Tue Nov 30 22:32:58 UTC 2021
Date: Tuesday, November 30, 2021 @ 22:32:58
Author: felixonmars
Revision: 1059061
archrelease: copy trunk to community-staging-any
Added:
ansible-core/repos/community-staging-any/
ansible-core/repos/community-staging-any/PKGBUILD
(from rev 1059060, ansible-core/trunk/PKGBUILD)
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Copied: ansible-core/repos/community-staging-any/PKGBUILD (from rev 1059060, ansible-core/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 22:32:58 UTC (rev 1059061)
@@ -0,0 +1,46 @@
+# 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.12.0
+pkgrel=2
+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' 'python-resolvelib')
+provides=('python-ansible' '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=('c3c8c0e2f14c30cecb6e693fc57d2bd686221efaf42f09773bd4606031e4fed68a216be17c040d51601f2059d0f4a44568cea309c3bd2a1c02957c6a4cd6d25a')
+
+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