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

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


    Date: Wednesday, November 4, 2020 @ 10:05:21
  Author: svenstaro
Revision: 741869

upgpkg: ansible 2.10.2-2: Remove some garbage

Modified:
  ansible/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-11-04 10:01:34 UTC (rev 741868)
+++ PKGBUILD	2020-11-04 10:05:21 UTC (rev 741869)
@@ -2,7 +2,7 @@
 
 pkgname=ansible
 pkgver=2.10.2
-pkgrel=1
+pkgrel=2
 pkgdesc='Official assortment of Ansible collections'
 arch=('any')
 url='https://pypi.org/project/ansible/'
@@ -28,4 +28,8 @@
   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