[arch-commits] Commit in python-oslo-db/repos/community-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Wed May 22 07:41:06 UTC 2019


    Date: Wednesday, May 22, 2019 @ 07:41:05
  Author: felixonmars
Revision: 468304

archrelease: copy trunk to community-any

Added:
  python-oslo-db/repos/community-any/PKGBUILD
    (from rev 468303, python-oslo-db/trunk/PKGBUILD)
Deleted:
  python-oslo-db/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  132 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 66 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-05-22 07:40:54 UTC (rev 468303)
+++ PKGBUILD	2019-05-22 07:41:05 UTC (rev 468304)
@@ -1,66 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-oslo-db
-pkgname=(python-oslo-db python2-oslo-db)
-pkgver=4.46.0
-pkgrel=1
-pkgdesc="OpenStack Database Pattern Library"
-arch=('any')
-url="https://pypi.python.org/pypi/oslo.db/$pkgver"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-alembic'
-             'python2-alembic' 'python-debtcollector' 'python2-debtcollector' 'python-oslo-i18n'
-             'python2-oslo-i18n' 'python-oslo-config' 'python2-oslo-config' 'python-oslo-utils'
-             'python2-oslo-utils' 'python-sqlalchemy' 'python2-sqlalchemy'
-             'python-sqlalchemy-migrate' 'python2-sqlalchemy-migrate' 'python-stevedore'
-             'python2-stevedore')
-checkdepends=('python-mock' 'python2-mock' 'python-testresources' 'python2-testresources'
-              'python-oslotest' 'python2-oslotest' 'python-oslo-context' 'python2-oslo-context'
-              'python2-unittest2')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.db/archive/$pkgver.tar.gz")
-sha512sums=('775028df3bd9b4e54fda4fc3ebd9b123b4d8628e2429e1655b49cc95735c0dfa9c76bc9fb32b5a0157a22ea0fa90a057c96f742a280a4e5f4efcffb6203acd4a')
-
-prepare() {
-  cp -a oslo.db-$pkgver{,-py2}
-  sed -i 's/import unittest2/import unittest as unittest2/' oslo.db-$pkgver/oslo_db/tests/sqlalchemy/test_async_eventlet.py
-
-  export PBR_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/oslo.db-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/oslo.db-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/oslo.db-$pkgver
-  stestr run
-
-  cd "$srcdir"/oslo.db-$pkgver-py2
-  PYTHON=python2 stestr2 run
-}
-
-package_python-oslo-db() {
-  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')
-
-  cd "$srcdir"/oslo.db-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-oslo-db() {
-  depends=('python2-six' 'python2-pbr' 'python2-alembic' 'python2-debtcollector' 'python2-oslo-i18n'
-           'python2-oslo-config' 'python2-oslo-utils' 'python2-sqlalchemy'
-           'python2-sqlalchemy-migrate' 'python2-stevedore')
-
-  cd "$srcdir"/oslo.db-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-oslo-db/repos/community-any/PKGBUILD (from rev 468303, python-oslo-db/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-05-22 07:41:05 UTC (rev 468304)
@@ -0,0 +1,66 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-oslo-db
+pkgname=(python-oslo-db python2-oslo-db)
+pkgver=5.0.0
+pkgrel=1
+pkgdesc="OpenStack Database Pattern Library"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.db/$pkgver"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-alembic'
+             'python2-alembic' 'python-debtcollector' 'python2-debtcollector' 'python-oslo-i18n'
+             'python2-oslo-i18n' 'python-oslo-config' 'python2-oslo-config' 'python-oslo-utils'
+             'python2-oslo-utils' 'python-sqlalchemy' 'python2-sqlalchemy'
+             'python-sqlalchemy-migrate' 'python2-sqlalchemy-migrate' 'python-stevedore'
+             'python2-stevedore')
+checkdepends=('python-mock' 'python2-mock' 'python-testresources' 'python2-testresources'
+              'python-oslotest' 'python2-oslotest' 'python-oslo-context' 'python2-oslo-context'
+              'python2-unittest2')
+options=('!emptydirs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.db/archive/$pkgver.tar.gz")
+sha512sums=('ecbed35eefae1103cd3b0613eb7294d0739a3c144200b800ee89adb2891118b4ae2543b32ea9f8576e391c0b4b14d4fd9e2cc9a98181bb1d184d1196db585d38')
+
+prepare() {
+  cp -a oslo.db-$pkgver{,-py2}
+  sed -i 's/import unittest2/import unittest as unittest2/' oslo.db-$pkgver/oslo_db/tests/sqlalchemy/test_async_eventlet.py
+
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/oslo.db-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/oslo.db-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/oslo.db-$pkgver
+  stestr run
+
+  cd "$srcdir"/oslo.db-$pkgver-py2
+  PYTHON=python2 stestr2 run
+}
+
+package_python-oslo-db() {
+  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')
+
+  cd "$srcdir"/oslo.db-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-oslo-db() {
+  depends=('python2-six' 'python2-pbr' 'python2-alembic' 'python2-debtcollector' 'python2-oslo-i18n'
+           'python2-oslo-config' 'python2-oslo-utils' 'python2-sqlalchemy'
+           'python2-sqlalchemy-migrate' 'python2-stevedore')
+
+  cd "$srcdir"/oslo.db-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list