[arch-commits] Commit in bandit/repos (community-any community-any/PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Jul 5 11:43:14 UTC 2015
Date: Sunday, July 5, 2015 @ 13:43:14
Author: jelle
Revision: 136442
archrelease: copy trunk to community-any
Added:
bandit/repos/community-any/
bandit/repos/community-any/PKGBUILD
(from rev 136441, bandit/trunk/PKGBUILD)
----------+
PKGBUILD | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
Copied: bandit/repos/community-any/PKGBUILD (from rev 136441, bandit/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD (rev 0)
+++ community-any/PKGBUILD 2015-07-05 11:43:14 UTC (rev 136442)
@@ -0,0 +1,24 @@
+# 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
+}
More information about the arch-commits
mailing list