[arch-commits] Commit in ansible/trunk (PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Sep 23 18:19:54 UTC 2020


    Date: Wednesday, September 23, 2020 @ 18:19:54
  Author: svenstaro
Revision: 711583

upgpkg: ansible 2.10.0-1

Modified:
  ansible/trunk/PKGBUILD

----------+
 PKGBUILD |   43 ++++++++++++-------------------------------
 1 file changed, 12 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-23 18:11:42 UTC (rev 711582)
+++ PKGBUILD	2020-09-23 18:19:54 UTC (rev 711583)
@@ -1,50 +1,31 @@
 # 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
-pkgver=2.9.13
+pkgver=2.10.0
 pkgrel=1
-pkgdesc='Radically simple IT automation platform'
+pkgdesc='Official assortment of Ansible collections'
 arch=('any')
-url='https://www.ansible.com'
+url='https://pypi.org/project/ansible/'
 license=('GPL3')
-depends=('python' 'python-yaml' 'python-paramiko' 'python-jinja')
-provides=('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'
+depends=('python' 'ansible-base')
+provides=('python-ansible_collections')
+optdepends=('python-pyopenssl: openssl modules'
             'python-dnspython: for dig lookup'
             'python-ovirt-engine-sdk: ovirt support'
             'python-boto3: aws_s3 module'
-            'python-jmespath: json_query support'
             'python-ldap: ldap support'
             'acme-tiny: openssl_certificate module')
-makedepends=('fakeroot' 'python-setuptools')
-backup=('etc/ansible/ansible.cfg')
-source=("https://releases.ansible.com/ansible/ansible-${pkgver}.tar.gz")
-sha512sums=('cb08adf62df0f3650425a5d960baadd7439c7c1e95b8f9df3d08e7504f9622b9e5f7104b8700b0f1e9fe318d349a6a5728e9178f0193fb4a190456e30a2f1eb2')
+makedepends=('python-setuptools')
+source=("https://pypi.python.org/packages/source/a/ansible/ansible-${pkgver}.tar.gz")
+sha512sums=('878036f06e1705e4392223bda210b2acae0232069d0cec02a47f13f6b3bc6c9538fb515a2d2dc6003695bcf0915fdd3dfc5b8dc59355e37e2ca8fa48bbd79657')
 
 build() {
-  cd "${srcdir}"/${pkgname}-${pkgver}
+  cd ansible-${pkgver}
   python setup.py build
 }
 
 package() {
-  cd ${pkgname}-${pkgver}
+  cd ansible-${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
+  install -Dm644 COPYING "${pkgdir}"/usr/share/doc/${pkgname}/COPYING
 }


More information about the arch-commits mailing list