Date: Thursday, July 23, 2020 @ 20:29:36 Author: felixonmars Revision: 665101
archrelease: copy trunk to community-any Added: python-hacking/repos/community-any/PKGBUILD (from rev 665100, python-hacking/trunk/PKGBUILD) Deleted: python-hacking/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-07-23 20:29:21 UTC (rev 665100) +++ PKGBUILD 2020-07-23 20:29:36 UTC (rev 665101) @@ -1,36 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-hacking -pkgver=3.1.0 -pkgrel=1 -arch=('any') -pkgdesc='OpenStack Hacking Guideline Enforcement' -url='https://docs.openstack.org/developer/hacking' -license=('Apache') -depends=('flake8') -makedepends=('python-pbr' 'python-setuptools') -checkdepends=('python-oslotest') -source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/hacking/archive/$pkgver.tar.gz") -sha512sums=('ebe34824ad8416a3e2af74c2e80363b373e9bfc9341eb0d8ad87bc3fce11b098539511ab097b8d9a886171df975084ba6774c8e1fbc81f3bc30fe375ef541a04') - -export PBR_VERSION=$pkgver - -prepare() { - cd hacking-$pkgver - sed -i 's/<.*//' requirements.txt -} - -build() { - cd "$srcdir"/hacking-$pkgver - python setup.py build -} - -check() { - cd hacking-$pkgver - stestr run -} - -package_python-hacking() { - cd hacking-$pkgver - python setup.py install --root "$pkgdir" --optimize=1 -} Copied: python-hacking/repos/community-any/PKGBUILD (from rev 665100, python-hacking/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-07-23 20:29:36 UTC (rev 665101) @@ -0,0 +1,36 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-hacking +pkgver=3.2.0 +pkgrel=1 +arch=('any') +pkgdesc='OpenStack Hacking Guideline Enforcement' +url='https://docs.openstack.org/developer/hacking' +license=('Apache') +depends=('flake8') +makedepends=('python-pbr' 'python-setuptools') +checkdepends=('python-oslotest') +source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/hacking/archive/$pkgver.tar.gz") +sha512sums=('199a5320aa7362cc9aea8993d3816fe94710a5618e9052850ed990b03ca407417faf8ee5076acccf2f90ef7ad1232e3925dca9146b648d2bde5bfea5cb6e3d19') + +export PBR_VERSION=$pkgver + +prepare() { + cd hacking-$pkgver + sed -i 's/<.*//' requirements.txt +} + +build() { + cd "$srcdir"/hacking-$pkgver + python setup.py build +} + +check() { + cd hacking-$pkgver + stestr run +} + +package_python-hacking() { + cd hacking-$pkgver + python setup.py install --root "$pkgdir" --optimize=1 +}