[arch-commits] Commit in python-oslo-concurrency/repos/community-any (2 files)

Felix Yan felixonmars at archlinux.org
Tue Sep 25 00:31:14 UTC 2018


    Date: Tuesday, September 25, 2018 @ 00:31:13
  Author: felixonmars
Revision: 384702

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |  126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-09-25 00:30:51 UTC (rev 384701)
+++ PKGBUILD	2018-09-25 00:31:13 UTC (rev 384702)
@@ -1,63 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
-
-pkgbase=python-oslo-concurrency
-pkgname=(python-oslo-concurrency python2-oslo-concurrency)
-pkgver=3.27.0
-pkgrel=2
-pkgdesc="OpenStack library for all concurrency-related code"
-arch=('any')
-url="https://pypi.python.org/pypi/oslo.concurrency/$pkgver"
-license=('Apache')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-oslo-config'
-             'python2-oslo-config' 'python-oslo-i18n' 'python2-oslo-i18n' 'python-oslo-utils'
-             'python2-oslo-utils' 'python-fasteners' 'python2-fasteners' 'python2-enum34')
-checkdepends=('python-mock' 'python2-mock' 'python-oslotest' 'python2-oslotest' 'python-oslo-config'
-              'python2-oslo-config' 'python-eventlet' 'python2-eventlet' 'python-testrepository'
-              'python2-testrepository')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.concurrency/archive/$pkgver.tar.gz")
-sha512sums=('9b17243e18e3550c8251de02d37e650feea390dcd70573b2fe0a74af66ccaea199e3cc4b53f2b8e3d774d825118ef6f67cd23842b2f683f51ef1d6d4d39fe175')
-
-prepare() {
-  cp -a oslo.concurrency-$pkgver{,-py2}
-
-  export PBR_VERSION=$pkgver
-}
-
-build() {
-  cd "$srcdir"/oslo.concurrency-$pkgver
-  python setup.py build
-
-  cd "$srcdir"/oslo.concurrency-$pkgver-py2
-  python2 setup.py build
-}
-
-check() {
-  cd "$srcdir"/oslo.concurrency-$pkgver
-  python setup.py testr || warning "Tests failed"
-
-  cd "$srcdir"/oslo.concurrency-$pkgver-py2
-  PYTHON=python2 python2 setup.py testr || warning "Tests failed"
-}
-
-package_python-oslo-concurrency() {
-  depends=('python-six' 'python-pbr' 'python-oslo-config' 'python-oslo-i18n' 'python-oslo-utils'
-           'python-fasteners')
-
-  cd "$srcdir"/oslo.concurrency-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-oslo-concurrency() {
-  depends=('python2-six' 'python2-pbr' 'python2-oslo-config' 'python2-oslo-i18n'
-           'python2-oslo-utils' 'python2-fasteners' 'python2-enum34')
-
-  cd "$srcdir"/oslo.concurrency-$pkgver-py2
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  mv "$pkgdir"/usr/bin/lockutils-wrapper{,2}
-}
-
-# vim:set ts=2 sw=2 et:

Copied: python-oslo-concurrency/repos/community-any/PKGBUILD (from rev 384701, python-oslo-concurrency/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-09-25 00:31:13 UTC (rev 384702)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgbase=python-oslo-concurrency
+pkgname=(python-oslo-concurrency python2-oslo-concurrency)
+pkgver=3.28.0
+pkgrel=1
+pkgdesc="OpenStack library for all concurrency-related code"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.concurrency/$pkgver"
+license=('Apache')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-oslo-config'
+             'python2-oslo-config' 'python-oslo-i18n' 'python2-oslo-i18n' 'python-oslo-utils'
+             'python2-oslo-utils' 'python-fasteners' 'python2-fasteners' 'python2-enum34')
+checkdepends=('python-mock' 'python2-mock' 'python-oslotest' 'python2-oslotest' 'python-oslo-config'
+              'python2-oslo-config' 'python-eventlet' 'python2-eventlet' 'python-dnspython'
+              'python2-dnspython')
+# dnspython were added for FS#60185
+options=('!emptydirs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.concurrency/archive/$pkgver.tar.gz")
+sha512sums=('a893078694ea2860a06fe2e7a92fbec81e0081c92ecf57bfabe381346673c4c3cd7c3788ec9a2ae4912662a2b2236ebb11c799e15f733030cbd06f01fffe0afd')
+
+prepare() {
+  cp -a oslo.concurrency-$pkgver{,-py2}
+
+  export PBR_VERSION=$pkgver
+}
+
+build() {
+  cd "$srcdir"/oslo.concurrency-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/oslo.concurrency-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/oslo.concurrency-$pkgver
+  stestr run || warning "1 failure about raising rlimit"
+
+  cd "$srcdir"/oslo.concurrency-$pkgver-py2
+  PYTHON=python2 stestr2 run || warning "1 failure about raising rlimit"
+}
+
+package_python-oslo-concurrency() {
+  depends=('python-six' 'python-pbr' 'python-oslo-config' 'python-oslo-i18n' 'python-oslo-utils'
+           'python-fasteners')
+
+  cd "$srcdir"/oslo.concurrency-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-oslo-concurrency() {
+  depends=('python2-six' 'python2-pbr' 'python2-oslo-config' 'python2-oslo-i18n'
+           'python2-oslo-utils' 'python2-fasteners' 'python2-enum34')
+
+  cd "$srcdir"/oslo.concurrency-$pkgver-py2
+  python2 setup.py install --root="$pkgdir" --optimize=1
+
+  mv "$pkgdir"/usr/bin/lockutils-wrapper{,2}
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list