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

Sven-Hendrik Haase svenstaro at archlinux.org
Mon May 14 12:01:14 UTC 2018


    Date: Monday, May 14, 2018 @ 12:01:13
  Author: svenstaro
Revision: 322127

upgpkg: ansible 2.5.2-2

Use python 3 exclusively

Modified:
  ansible/trunk/PKGBUILD

----------+
 PKGBUILD |   31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-14 11:56:38 UTC (rev 322126)
+++ PKGBUILD	2018-05-14 12:01:13 UTC (rev 322127)
@@ -8,25 +8,24 @@
 
 pkgname=(ansible python-ansible)
 pkgver=2.5.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Radically simple IT automation platform'
 arch=('any')
 url='https://www.ansible.com'
 license=('GPL3')
-depends=('python2' 'python2-yaml' 'python2-paramiko' 'python2-jinja' 'python2-crypto')
+depends=('python' 'python-yaml' 'python-paramiko' 'python-jinja' 'python-crypto')
 optdepends=('sshpass: for ssh connections with password'
-            'python2-passlib: crypt values for vars_prompt'
-            'python2-pyopenssl: openssl modules'
-            'python2-netaddr: for the ipaddr filter'
-            'python2-systemd: log to journal'
-            'python2-pywinrm: connect to Windows machines'
-            'python2-dnspython: for dig lookup'
-            'python2-ovirt-engine-sdk: ovirt support'
-            'python2-boto3: aws_s3 module'
-            'python2-jmespath: json_query support'
+            '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' 'python2-setuptools'
-             'python-setuptools')
+makedepends=('asciidoc' 'fakeroot' 'python-setuptools')
 backup=('etc/ansible/ansible.cfg')
 source=("https://releases.ansible.com/ansible/ansible-${pkgver}.tar.gz")
 sha512sums=('25568665b96ee9d7ca0888dadd90de178a9cc1da7dba07acb682ca4455ef91622344958ec2000eafbb4cfda87aec325be77d3d5b395aa4bbc2d180fad1a90a34')
@@ -37,7 +36,7 @@
 
 build() {
   cd "${srcdir}"/${pkgname}-${pkgver}
-  python2 setup.py build
+  python setup.py build
 
   cd "${srcdir}"/${pkgname}-${pkgver}-python
   python setup.py build
@@ -44,10 +43,10 @@
 }
 
 package_ansible() {
-  provides=('python2-ansible')
+  provides=('python-ansible')
 
   cd ${pkgname}-${pkgver}
-  python2 setup.py install -O1 --root="${pkgdir}"
+  python setup.py install -O1 --root="${pkgdir}"
   install -Dm644 COPYING "${pkgdir}"/usr/share/doc/ansible/COPYING
 
   install -d "${pkgdir}"/usr/share/ansible/doc



More information about the arch-commits mailing list