[arch-commits] Commit in python-oslo-db/repos (3 files)

Jelle van der Waa jelle at gemini.archlinux.org
Fri Oct 15 07:09:18 UTC 2021


    Date: Friday, October 15, 2021 @ 07:09:18
  Author: jelle
Revision: 1030247

db-move: moved python-oslo-db from [community-staging] to [community-testing] (any)

Added:
  python-oslo-db/repos/community-testing-any/
  python-oslo-db/repos/community-testing-any/PKGBUILD
    (from rev 1030246, python-oslo-db/repos/community-staging-any/PKGBUILD)
Deleted:
  python-oslo-db/repos/community-staging-any/

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: python-oslo-db/repos/community-testing-any/PKGBUILD (from rev 1030246, python-oslo-db/repos/community-staging-any/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD	                        (rev 0)
+++ community-testing-any/PKGBUILD	2021-10-15 07:09:18 UTC (rev 1030247)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-oslo-db
+pkgver=11.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=('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:



More information about the arch-commits mailing list