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

Jelle van der Waa jelle at archlinux.org
Fri Jan 1 16:17:27 UTC 2021


    Date: Friday, January 1, 2021 @ 16:17:26
  Author: jelle
Revision: 802684

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   41 +++++++++++++++++++++++------------------
 1 file changed, 23 insertions(+), 18 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-01-01 16:17:20 UTC (rev 802683)
+++ PKGBUILD	2021-01-01 16:17:26 UTC (rev 802684)
@@ -1,18 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=bandit
-pkgver=1.6.3
-pkgrel=1
-pkgdesc='Python security linter from OpenStack Security'
-arch=('any')
-url='https://github.com/PyCQA/bandit'
-license=('Apache')
-depends=('python-yaml' 'python-stevedore' 'python-appdirs' 'python-six' 'python-pbr')
-makedepends=('python-setuptools' 'git')
-source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('56132b018698f3e495f8d6f94b81808a37bad24b64d7f92a73cce89f36ea7f2a2f7cecde719b3249aaa44669cf6e782aebea20c8f0308070271c711fcc313ba7')
-
-package() {
-    cd bandit-$pkgver
-    PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --optimize=1
-}

Copied: bandit/repos/community-any/PKGBUILD (from rev 802683, bandit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-01-01 16:17:26 UTC (rev 802684)
@@ -0,0 +1,23 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=bandit
+pkgver=1.7.0
+pkgrel=1
+pkgdesc='Python security linter from OpenStack Security'
+arch=('any')
+url='https://github.com/PyCQA/bandit'
+license=('Apache')
+depends=('python-yaml' 'python-stevedore' 'python-appdirs' 'python-six' 'python-pbr')
+makedepends=('python-setuptools' 'git')
+source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('c51af7ab4c667c376a11f142fa35881a776d420bd3ef41421bd29a713e0b56bbf1622e24cd878e24f57594f03d06b7c2b8258fcf34f57e3a68df4200a34becdc')
+
+build() {
+    cd bandit-$pkgver
+    python setup.py build
+}
+
+package() {
+    cd bandit-$pkgver
+    PYTHONHASHSEED=0 python setup.py install --root="$pkgdir" --skip-build --optimize=1
+}



More information about the arch-commits mailing list