Date: Wednesday, September 26, 2018 @ 08:09:35 Author: felixonmars Revision: 385149
archrelease: copy trunk to community-any Added: python-oslo-concurrency/repos/community-any/PKGBUILD (from rev 385148, python-oslo-concurrency/trunk/PKGBUILD) Deleted: python-oslo-concurrency/repos/community-any/PKGBUILD ----------+ PKGBUILD | 124 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 61 insertions(+), 63 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-09-26 08:09:15 UTC (rev 385148) +++ PKGBUILD 2018-09-26 08:09:35 UTC (rev 385149) @@ -1,63 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgbase=python-oslo-concurrency -pkgname=(python-oslo-concurrency python2-oslo-concurrency) -pkgver=3.28.0 -pkgrel=1 -pkgdesc="OpenStack library for all concurrency-related code" -arch=('any') -url="https://pypi.python.org/pypi/oslo.concurrency/$pkgver" -license=('Apache') -makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-oslo-config' - 'python2-oslo-config' 'python-oslo-i18n' 'python2-oslo-i18n' 'python-oslo-utils' - 'python2-oslo-utils' 'python-fasteners' 'python2-fasteners' 'python2-enum34') -checkdepends=('python-mock' 'python2-mock' 'python-oslotest' 'python2-oslotest' 'python-oslo-config' - 'python2-oslo-config' 'python-eventlet' 'python2-eventlet' 'python-dnspython' - 'python2-dnspython') -# dnspython were added for FS#60185 -options=('!emptydirs') -source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.concurrency/archive/$pkgver.tar.gz") -sha512sums=('a893078694ea2860a06fe2e7a92fbec81e0081c92ecf57bfabe381346673c4c3cd7c3788ec9a2ae4912662a2b2236ebb11c799e15f733030cbd06f01fffe0afd') - -prepare() { - cp -a oslo.concurrency-$pkgver{,-py2} - - export PBR_VERSION=$pkgver -} - -build() { - cd "$srcdir"/oslo.concurrency-$pkgver - python setup.py build - - cd "$srcdir"/oslo.concurrency-$pkgver-py2 - python2 setup.py build -} - -check() { - cd "$srcdir"/oslo.concurrency-$pkgver - stestr run || warning "1 failure about raising rlimit" - - cd "$srcdir"/oslo.concurrency-$pkgver-py2 - PYTHON=python2 stestr2 run || warning "1 failure about raising rlimit" -} - -package_python-oslo-concurrency() { - depends=('python-six' 'python-pbr' 'python-oslo-config' 'python-oslo-i18n' 'python-oslo-utils' - 'python-fasteners') - - cd "$srcdir"/oslo.concurrency-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -package_python2-oslo-concurrency() { - depends=('python2-six' 'python2-pbr' 'python2-oslo-config' 'python2-oslo-i18n' - 'python2-oslo-utils' 'python2-fasteners' 'python2-enum34') - - cd "$srcdir"/oslo.concurrency-$pkgver-py2 - python2 setup.py install --root="$pkgdir" --optimize=1 - - mv "$pkgdir"/usr/bin/lockutils-wrapper{,2} -} - -# vim:set ts=2 sw=2 et: Copied: python-oslo-concurrency/repos/community-any/PKGBUILD (from rev 385148, python-oslo-concurrency/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-09-26 08:09:35 UTC (rev 385149) @@ -0,0 +1,61 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgbase=python-oslo-concurrency +pkgname=(python-oslo-concurrency python2-oslo-concurrency) +pkgver=3.28.1 +pkgrel=1 +pkgdesc="OpenStack library for all concurrency-related code" +arch=('any') +url="https://pypi.python.org/pypi/oslo.concurrency/$pkgver" +license=('Apache') +makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-oslo-config' + 'python2-oslo-config' 'python-oslo-i18n' 'python2-oslo-i18n' 'python-oslo-utils' + 'python2-oslo-utils' 'python-fasteners' 'python2-fasteners' 'python2-enum34') +checkdepends=('python-mock' 'python2-mock' 'python-oslotest' 'python2-oslotest' 'python-oslo-config' + 'python2-oslo-config' 'python-eventlet' 'python2-eventlet') +options=('!emptydirs') +source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.concurrency/archive/$pkgver.tar.gz") +sha512sums=('8d7bde1173ad4e760ef19f34c4965ca4a4a4357253adc2ce85eef8e82b5388381ce5352259c47a0d3e7e291de74910454d046125db3b4d0d1881f6288c552a91') + +prepare() { + cp -a oslo.concurrency-$pkgver{,-py2} + + export PBR_VERSION=$pkgver +} + +build() { + cd "$srcdir"/oslo.concurrency-$pkgver + python setup.py build + + cd "$srcdir"/oslo.concurrency-$pkgver-py2 + python2 setup.py build +} + +check() { + cd "$srcdir"/oslo.concurrency-$pkgver + stestr run || warning "1 failure about raising rlimit" + + cd "$srcdir"/oslo.concurrency-$pkgver-py2 + PYTHON=python2 stestr2 run || warning "1 failure about raising rlimit" +} + +package_python-oslo-concurrency() { + depends=('python-six' 'python-pbr' 'python-oslo-config' 'python-oslo-i18n' 'python-oslo-utils' + 'python-fasteners') + + cd "$srcdir"/oslo.concurrency-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +package_python2-oslo-concurrency() { + depends=('python2-six' 'python2-pbr' 'python2-oslo-config' 'python2-oslo-i18n' + 'python2-oslo-utils' 'python2-fasteners' 'python2-enum34') + + cd "$srcdir"/oslo.concurrency-$pkgver-py2 + python2 setup.py install --root="$pkgdir" --optimize=1 + + mv "$pkgdir"/usr/bin/lockutils-wrapper{,2} +} + +# vim:set ts=2 sw=2 et: