Date: Saturday, December 11, 2021 @ 22:13:53 Author: felixonmars Revision: 1068360
archrelease: copy trunk to community-testing-any Added: python-oslo-db/repos/community-testing-any/PKGBUILD (from rev 1068359, python-oslo-db/trunk/PKGBUILD) Deleted: python-oslo-db/repos/community-testing-any/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-12-11 22:13:44 UTC (rev 1068359) +++ PKGBUILD 2021-12-11 22:13:53 UTC (rev 1068360) @@ -1,41 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> - -pkgname=python-oslo-db -pkgver=11.0.0 -pkgrel=2 -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=('4a6c31b4f804f9a8f6e6d4748491acd52dbe2647c08140b4b2cb0412df5dc933f775ecdb56bd4ed25c05a581d34f0b101cf110196ec82a28342b844ea1a42481') - -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-testing-any/PKGBUILD (from rev 1068359, python-oslo-db/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-12-11 22:13:53 UTC (rev 1068360) @@ -0,0 +1,41 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com> + +pkgname=python-oslo-db +pkgver=11.1.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=('d01b53767166d3ef4a3e0da493cef9028034b8fe4bae5cf4c4aa34e4fbbb5f80b5dee46e8d6daa9c9dc45408251b43fe8a5a5389cfad712199ff6a00ef591931') + +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: