Date: Tuesday, March 3, 2020 @ 20:22:15 Author: felixonmars Revision: 589834
archrelease: copy trunk to community-any Added: python-oslo-db/repos/community-any/PKGBUILD (from rev 589833, python-oslo-db/trunk/PKGBUILD) Deleted: python-oslo-db/repos/community-any/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-03 20:22:04 UTC (rev 589833) +++ PKGBUILD 2020-03-03 20:22:15 UTC (rev 589834) @@ -1,41 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgname=python-oslo-db -pkgver=7.0.0 -pkgrel=3 -pkgdesc="OpenStack Database Pattern Library" -arch=('any') -url="https://pypi.python.org/pypi/oslo.db/$pkgver" -license=('Apache') -depends=('python-six' 'python-pbr' 'python-alembic' 'python-debtcollector' 'python-oslo-i18n' - 'python-oslo-config' 'python-oslo-utils' 'python-sqlalchemy' 'python-sqlalchemy-migrate' - 'python-stevedore') -makedepends=('python-setuptools') -checkdepends=('python-mock' 'python-testresources' 'python-oslotest' 'python-oslo-context') -options=('!emptydirs') -source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/oslo.db/archive/$pkgver.tar.gz") -sha512sums=('4153179c93be845d984bf1612aff82c35873b6b2b85a16a97c9f192adbced1d9064d0e12bae416b543fe033c49fcbf27e02a4085b21ee76485fd37cd06f22d7c') - -export PBR_VERSION=$pkgver - -prepare() { - sed -i 's/import unittest2/import unittest as unittest2/' oslo.db-$pkgver/oslo_db/tests/sqlalchemy/test_async_eventlet.py -} - -build() { - cd oslo.db-$pkgver - python setup.py build -} - -check() { - cd oslo.db-$pkgver - stestr run -} - -package() { - cd oslo.db-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 -} - -# vim:set ts=2 sw=2 et: Copied: python-oslo-db/repos/community-any/PKGBUILD (from rev 589833, python-oslo-db/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-03 20:22:15 UTC (rev 589834) @@ -0,0 +1,41 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgname=python-oslo-db +pkgver=8.0.0 +pkgrel=1 +pkgdesc="OpenStack Database Pattern Library" +arch=('any') +url="https://pypi.python.org/pypi/oslo.db/$pkgver" +license=('Apache') +depends=('python-six' 'python-pbr' 'python-alembic' 'python-debtcollector' 'python-oslo-i18n' + 'python-oslo-config' 'python-oslo-utils' 'python-sqlalchemy' 'python-sqlalchemy-migrate' + 'python-stevedore') +makedepends=('python-setuptools') +checkdepends=('python-mock' 'python-testresources' 'python-oslotest' 'python-oslo-context') +options=('!emptydirs') +source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/oslo.db/archive/$pkgver.tar.gz") +sha512sums=('6e21f1e7e4c886cb72899fb9af6b8b1e387ab250e3de72f9cc8d15d85d27e4e6a8764d7a4df89f18399c55bfd13d8781665dc55f530ebcca3762f00c78512627') + +export PBR_VERSION=$pkgver + +prepare() { + sed -i 's/import unittest2/import unittest as unittest2/' oslo.db-$pkgver/oslo_db/tests/sqlalchemy/test_async_eventlet.py +} + +build() { + cd oslo.db-$pkgver + python setup.py build +} + +check() { + cd oslo.db-$pkgver + stestr run +} + +package() { + cd oslo.db-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +} + +# vim:set ts=2 sw=2 et: