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

Felix Yan felixonmars at archlinux.org
Thu May 3 01:47:40 UTC 2018


    Date: Thursday, May 3, 2018 @ 01:47:39
  Author: felixonmars
Revision: 318750

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  134 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 67 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-03 01:47:15 UTC (rev 318749)
+++ PKGBUILD	2018-05-03 01:47:39 UTC (rev 318750)
@@ -1,67 +0,0 @@
-# $Id$
-# 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.37.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-testrepository' 'python2-testrepository'
-              '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=('3b84e2e7b1a1c6f5c9d3e7a69d08f0f4808315e7937a5d6649468ddea6a5a46594325a651aa107aec9850c279e30daa58de165ec09742e032eca61cb57faffe9')
-
-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
-  python setup.py testr
-
-  cd "$srcdir"/oslo.db-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr
-}
-
-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 318749, python-oslo-db/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-03 01:47:39 UTC (rev 318750)
@@ -0,0 +1,67 @@
+# $Id$
+# 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.38.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-testrepository' 'python2-testrepository'
+              '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=('305d3f7a61d6a387da38480fa0c5953ed46c54a383844ea22ec460c08687250d48c638fcb724d9bbfa26130498d3169b0e60de4ac252b12aaa0778b330c097e2')
+
+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
+  python setup.py testr
+
+  cd "$srcdir"/oslo.db-$pkgver-py2
+  PYTHON=python2 python2 setup.py testr
+}
+
+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