[arch-commits] Commit in python-oslo-concurrency/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Wed Dec 13 00:13:55 UTC 2017
Date: Wednesday, December 13, 2017 @ 00:13:54
Author: felixonmars
Revision: 274027
archrelease: copy trunk to community-any
Added:
python-oslo-concurrency/repos/community-any/PKGBUILD
(from rev 274026, python-oslo-concurrency/trunk/PKGBUILD)
Deleted:
python-oslo-concurrency/repos/community-any/PKGBUILD
----------+
PKGBUILD | 124 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 62 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-13 00:12:39 UTC (rev 274026)
+++ PKGBUILD 2017-12-13 00:13:54 UTC (rev 274027)
@@ -1,62 +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.23.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')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.concurrency/archive/$pkgver.tar.gz")
-sha512sums=('449c6bcbb0c2f9e088ef3b0cbd600b1dd41dfcf1effa9bd097bf6dd4d53254980b047c6cec52c7aabd922f485ac1966d890462de57953569a4bfa315cfcbc8c0')
-
-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 274026, python-oslo-concurrency/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-13 00:13:54 UTC (rev 274027)
@@ -0,0 +1,62 @@
+# $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.24.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')
+options=('!emptydirs')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.concurrency/archive/$pkgver.tar.gz")
+sha512sums=('4f16c2a04b2b1495eb722a3ad0698226d144e8ef2f93f6b9668f682fbedb0ae073805bdd419e33cb9e1f6b5e79611e3da092c0ff0f92cf01c16579f45a12afe6')
+
+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:
More information about the arch-commits
mailing list