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

Jelle van der Waa jelle at archlinux.org
Sun Aug 9 19:58:49 UTC 2015


    Date: Sunday, August 9, 2015 @ 21:58:49
  Author: jelle
Revision: 138159

archrelease: copy trunk to community-any

Added:
  bandit/repos/community-any/PKGBUILD
    (from rev 138158, bandit/trunk/PKGBUILD)
Deleted:
  bandit/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   46 ++++++++++++++++++++++------------------------
 1 file changed, 22 insertions(+), 24 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2015-08-09 19:58:38 UTC (rev 138158)
+++ PKGBUILD	2015-08-09 19:58:49 UTC (rev 138159)
@@ -1,24 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=bandit
-pkgver=0.12.0
-pkgrel=1
-pkgdesc='Python security linter from OpenStack Security'
-arch=('any')
-url='https://wiki.openstack.org/wiki/Security/Projects/Bandit'
-license=('Apache')
-depends=('python2-yaml' 'python2-stevedore')
-makedepends=('python2-setuptools')
-source=("https://pypi.python.org/packages/source/b/bandit/bandit-${pkgver}.tar.gz")
-md5sums=('48a94a025d71154577564ff31826ca23')
-
-build() {
-    cd "bandit-$pkgver"
-    python2 setup.py build
-}
-
-package() {
-    cd "bandit-$pkgver"
-    python2 setup.py install --root="$pkgdir" --optimize=1
-    # TODO: /usr/lib/python2.7/site-packages/bandit/config/bandit.yaml
-}

Copied: bandit/repos/community-any/PKGBUILD (from rev 138158, bandit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2015-08-09 19:58:49 UTC (rev 138159)
@@ -0,0 +1,22 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=bandit
+pkgver=0.13.0
+pkgrel=1
+pkgdesc='Python security linter from OpenStack Security'
+arch=('any')
+url='https://wiki.openstack.org/wiki/Security/Projects/Bandit'
+license=('Apache')
+depends=('python2-yaml' 'python2-stevedore' 'python2-appdirs' 'python2-six')
+makedepends=('python2-setuptools' 'git')
+source=("https://pypi.python.org/packages/source/b/bandit/bandit-${pkgver}.tar.gz")
+md5sums=('5c5bf7b87b727757220a8b3cd046c4ee')
+
+package() {
+    cd "bandit-$pkgver"
+    python2 setup.py install --root=$pkgdir --optimize=1
+
+    # TODO: Fix configuration file, somehow it does play correctly with --root="$pkgdir"
+    mv $pkgdir/usr/etc $pkgdir/
+    rmdir $pkgdir/usr/bandit
+}



More information about the arch-commits mailing list