[arch-commits] Commit in ansible/repos/community-any (PKGBUILD PKGBUILD)

Sven-Hendrik Haase svenstaro at archlinux.org
Wed Nov 4 10:05:30 UTC 2020


    Date: Wednesday, November 4, 2020 @ 10:05:29
  Author: svenstaro
Revision: 741870

archrelease: copy trunk to community-any

Added:
  ansible/repos/community-any/PKGBUILD
    (from rev 741869, ansible/trunk/PKGBUILD)
Deleted:
  ansible/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   66 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 35 insertions(+), 31 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-04 10:05:21 UTC (rev 741869)
+++ PKGBUILD	2020-11-04 10:05:29 UTC (rev 741870)
@@ -1,31 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
-
-pkgname=ansible
-pkgver=2.10.2
-pkgrel=1
-pkgdesc='Official assortment of Ansible collections'
-arch=('any')
-url='https://pypi.org/project/ansible/'
-license=('GPL3')
-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-ldap: ldap support'
-            'acme-tiny: openssl_certificate module')
-makedepends=('python-setuptools')
-source=("https://pypi.python.org/packages/source/a/ansible/ansible-${pkgver}.tar.gz")
-sha512sums=('43e4800f5627af28eb8bc49b3bd41903b4f28683fc94116797406f2a6038b4b3523d99888b46df25c3c1de4f5cee1364d23dcfe713a85c4d0187258853066a47')
-
-build() {
-  cd ansible-${pkgver}
-  python setup.py build
-}
-
-package() {
-  cd ansible-${pkgver}
-  python setup.py install -O1 --root="${pkgdir}"
-  install -Dm644 COPYING "${pkgdir}"/usr/share/doc/${pkgname}/COPYING
-}

Copied: ansible/repos/community-any/PKGBUILD (from rev 741869, ansible/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-11-04 10:05:29 UTC (rev 741870)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+
+pkgname=ansible
+pkgver=2.10.2
+pkgrel=2
+pkgdesc='Official assortment of Ansible collections'
+arch=('any')
+url='https://pypi.org/project/ansible/'
+license=('GPL3')
+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-ldap: ldap support'
+            'acme-tiny: openssl_certificate module')
+makedepends=('python-setuptools')
+source=("https://pypi.python.org/packages/source/a/ansible/ansible-${pkgver}.tar.gz")
+sha512sums=('43e4800f5627af28eb8bc49b3bd41903b4f28683fc94116797406f2a6038b4b3523d99888b46df25c3c1de4f5cee1364d23dcfe713a85c4d0187258853066a47')
+
+build() {
+  cd ansible-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd ansible-${pkgver}
+  python setup.py install -O1 --root="${pkgdir}"
+  install -Dm644 COPYING "${pkgdir}"/usr/share/doc/${pkgname}/COPYING
+
+  # Remove some extra data that shouldn't have been installed.
+  # No -f so we know once upstream removes this from the package.
+  rm -r "${pkgdir}"/usr/lib/python3.8/site-packages/ansible_collections/cisco/meraki/{tests,venv}
+}


More information about the arch-commits mailing list