[arch-commits] Commit in ansible/repos (2 files)
Eli Schwartz
eschwartz at archlinux.org
Sun Jul 8 22:31:21 UTC 2018
Date: Sunday, July 8, 2018 @ 22:31:21
Author: eschwartz
Revision: 355442
archrelease: copy trunk to community-staging-any
Added:
ansible/repos/community-staging-any/
ansible/repos/community-staging-any/PKGBUILD
(from rev 355441, ansible/trunk/PKGBUILD)
----------+
PKGBUILD | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
Copied: ansible/repos/community-staging-any/PKGBUILD (from rev 355441, ansible/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2018-07-08 22:31:21 UTC (rev 355442)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.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
+pkgver=2.6.1
+pkgrel=2
+pkgdesc='Radically simple IT automation platform'
+arch=('any')
+url='https://www.ansible.com'
+license=('GPL3')
+depends=('python' 'python-yaml' 'python-paramiko' 'python-jinja' 'python-crypto')
+provides=('python-ansible')
+replaces=('python-ansible')
+conflicts=('python-ansible')
+optdepends=('sshpass: for ssh connections with password'
+ 'python-passlib: crypt values for vars_prompt'
+ 'python-pyopenssl: openssl modules'
+ 'python-netaddr: for the ipaddr filter'
+ 'python-systemd: log to journal'
+ 'python-pywinrm: connect to Windows machines'
+ 'python-dnspython: for dig lookup'
+ 'python-ovirt-engine-sdk: ovirt support'
+ 'python-boto3: aws_s3 module'
+ 'python-jmespath: json_query support'
+ 'acme-tiny: openssl_certificate module')
+makedepends=('asciidoc' 'fakeroot' 'python-setuptools')
+backup=('etc/ansible/ansible.cfg')
+source=("https://releases.ansible.com/ansible/ansible-${pkgver}.tar.gz")
+sha512sums=('1235e12a510317665956bfae9e0d03814083a24ba6e5c98072437e50b4a596437a173b32d9d5af37b4b9e168e35045fdb65e65276fdc830f473ab1f42dcba2d2')
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd ${pkgname}-${pkgver}
+ python setup.py install -O1 --root="${pkgdir}"
+ install -Dm644 COPYING "${pkgdir}"/usr/share/doc/ansible/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