[arch-commits] Commit in bandit/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sun Aug 9 19:58:38 UTC 2015
Date: Sunday, August 9, 2015 @ 21:58:38
Author: jelle
Revision: 138158
upgpkg: bandit 0.13.0-1
Modified:
bandit/trunk/PKGBUILD
----------+
PKGBUILD | 15 +++++----------
1 file changed, 5 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-08-09 19:27:08 UTC (rev 138157)
+++ PKGBUILD 2015-08-09 19:58:38 UTC (rev 138158)
@@ -7,21 +7,16 @@
arch=('any')
url='https://wiki.openstack.org/wiki/Security/Projects/Bandit'
license=('Apache')
-depends=('python-yaml' 'python-stevedore' 'python-appdirs' 'python-six')
-makedepends=('python-setuptools')
+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')
-build() {
- cd "bandit-$pkgver"
- python setup.py build
-}
-
package() {
cd "bandit-$pkgver"
+ python2 setup.py install --root=$pkgdir --optimize=1
- python setup.py install -v --root=$pkgdir --optimize=1
-
- # Fix configuration file, somehow it does play correctly with --root="$pkgdir"
+ # 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