Date: Monday, June 29, 2020 @ 18:35:18 Author: felixonmars Revision: 656416
archrelease: copy trunk to community-any Added: python-oslo-db/repos/community-any/PKGBUILD (from rev 656415, 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-06-29 18:35:08 UTC (rev 656415) +++ PKGBUILD 2020-06-29 18:35:18 UTC (rev 656416) @@ -1,41 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgname=python-oslo-db -pkgver=8.2.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=('14ce33fa59912f55e7e2b72cae1034dfe3081c6563c87126be6fab224f930050e03ff8f08f18e0fe389a358774f8ca7fea6cc270ca0aeef27335fd391c1d3b9a') - -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 656415, python-oslo-db/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-06-29 18:35:18 UTC (rev 656416) @@ -0,0 +1,41 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgname=python-oslo-db +pkgver=8.2.1 +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=('cb27b7f2ed4a4ff20c811c753e11ce039bcfa5dd04317a234bd28b7d2ce707114cb0f6ed1dd2ffca74e8dccdd2fb686fb7c7d457591cab355d98f25d7bc39ac3') + +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: