Date: Saturday, February 13, 2021 @ 13:04:07 Author: jelle Revision: 859245
archrelease: copy trunk to community-any Added: bandit/repos/community-any/PKGBUILD (from rev 859244, bandit/trunk/PKGBUILD) Deleted: bandit/repos/community-any/PKGBUILD ----------+ PKGBUILD | 46 +++++++++++++++++++++++----------------------- 1 file changed, 23 insertions(+), 23 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-02-13 13:03:54 UTC (rev 859244) +++ PKGBUILD 2021-02-13 13:04:07 UTC (rev 859245) @@ -1,23 +0,0 @@ -# Maintainer: Jelle van der Waa <je...@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 -} Copied: bandit/repos/community-any/PKGBUILD (from rev 859244, bandit/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-02-13 13:04:07 UTC (rev 859245) @@ -0,0 +1,23 @@ +# Maintainer: Jelle van der Waa <je...@archlinux.org> + +pkgname=bandit +pkgver=1.7.0 +pkgrel=2 +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' 'python-gitpython') +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 +}