Date: Monday, May 25, 2020 @ 18:14:14 Author: felixonmars Revision: 634717
archrelease: copy trunk to community-any Added: python-hacking/repos/community-any/PKGBUILD (from rev 634716, python-hacking/trunk/PKGBUILD) Deleted: python-hacking/repos/community-any/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-25 18:13:56 UTC (rev 634716) +++ PKGBUILD 2020-05-25 18:14:14 UTC (rev 634717) @@ -1,36 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -pkgname=python-hacking -pkgver=3.0.1 -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=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/hacking/archive/$pkgver.tar.gz") -sha512sums=('721b99f729536063d25a604fca6e3366e757f0499cb738b76134c6e82b86d90fc2feb4a78e09b06072cd35b4eaad5027cf1a7fac455b7b59f6620aba9f1c3c6d') - -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 634716, python-hacking/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-25 18:14:14 UTC (rev 634717) @@ -0,0 +1,36 @@ +# 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 +}