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

George Rawlinson grawlinson at archlinux.org
Mon Jun 28 04:34:53 UTC 2021


    Date: Monday, June 28, 2021 @ 04:34:52
  Author: grawlinson
Revision: 967656

upgpkg: ansible-bender 0.9.0-1

* New upstream release
* New makedepends: python-{pip,wheel}

Modified:
  ansible-bender/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-28 04:14:13 UTC (rev 967655)
+++ PKGBUILD	2021-06-28 04:34:52 UTC (rev 967656)
@@ -1,30 +1,27 @@
 # Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
 
 pkgname=ansible-bender
-pkgver=0.8.1
-pkgrel=3
-pkgdesc='Tool which bends containers using Ansible playbooks and turns them into container images'
+pkgver=0.9.0
+pkgrel=1
+pkgdesc='Build container images using Ansible playbooks'
 arch=('any')
 url='https://github.com/ansible-community/ansible-bender'
 license=('MIT')
 depends=('ansible' 'python-yaml' 'python-tabulate' 'python-jsonschema' 'podman' 'buildah')
-makedepends=('python-setuptools-scm' 'git')
-#source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-source=("git+$url?tag=$pkgver")
-sha512sums=('SKIP')
+makedepends=('python-setuptools-scm' 'git' 'python-pip' 'python-wheel')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+b2sums=('9bf2095da798ffb0d3eff4ce2f84b9f96d04fd6526ba7ee559cd7009e501b823e5f64076d201d11f8be9995a3fb721cce69f366d195e564e5defc0cadef18189')
 
 build() {
-  #cd $pkgname-$pkgver
-  cd $pkgname
+  cd "$pkgname-$pkgver"
 
   python setup.py build
 }
 
 package() {
-  #cd $pkgname-$pkgver
-  cd $pkgname
+  cd "$pkgname-$pkgver"
 
   python setup.py install --root="$pkgdir" --optimize=1 --skip-build
 
-  install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -vDm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname"
 }




More information about the arch-commits mailing list