[arch-commits] Commit in bandit/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Wed Aug 5 19:39:55 UTC 2015
Date: Wednesday, August 5, 2015 @ 21:39:54
Author: jelle
Revision: 137993
prepare new release
Update source and dependency, switch to python3
Modified:
bandit/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-05 16:07:54 UTC (rev 137992)
+++ PKGBUILD 2015-08-05 19:39:54 UTC (rev 137993)
@@ -1,24 +1,27 @@
# Maintainer: Jelle van der Waa <jelle at archlinux.org>
pkgname=bandit
-pkgver=0.12.0
+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')
-makedepends=('python2-setuptools')
+depends=('python-yaml' 'python-stevedore' 'python-appdirs' 'python-six')
+makedepends=('python-setuptools')
source=("https://pypi.python.org/packages/source/b/bandit/bandit-${pkgver}.tar.gz")
-md5sums=('48a94a025d71154577564ff31826ca23')
+md5sums=('5c5bf7b87b727757220a8b3cd046c4ee')
build() {
cd "bandit-$pkgver"
- python2 setup.py build
+ python 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
+
+ python setup.py install -v --root=$pkgdir --optimize=1
+
+ # Fix configuration file, somehow it does play correctly with --root="$pkgdir"
+ mv $pkgdir/usr/etc $pkgdir/
}
More information about the arch-commits
mailing list