[arch-commits] Commit in python-oslo-concurrency/repos/community-any (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Feb 13 13:27:15 UTC 2020
Date: Thursday, February 13, 2020 @ 13:27:14
Author: felixonmars
Revision: 570174
archrelease: copy trunk to community-any
Added:
python-oslo-concurrency/repos/community-any/PKGBUILD
(from rev 570172, python-oslo-concurrency/trunk/PKGBUILD)
Deleted:
python-oslo-concurrency/repos/community-any/PKGBUILD
----------+
PKGBUILD | 93 +++++++++++++++++++++++--------------------------------------
1 file changed, 36 insertions(+), 57 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-13 13:27:13 UTC (rev 570173)
+++ PKGBUILD 2020-02-13 13:27:14 UTC (rev 570174)
@@ -1,57 +0,0 @@
-# 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=4.0.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' 'python-oslotest' 'python-oslo-config' 'python-eventlet')
-options=('!emptydirs')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/openstack/oslo.concurrency/archive/$pkgver.tar.gz")
-sha512sums=('d75d84d4ce27b7418e358e5b5fdf0015511aa2caaddfed38f9eb4d1fdb4635c7df348c6cafbad26b3a0b9af8b41df898450f050e8899c4659c81b63ef8dfb45c')
-
-export PBR_VERSION=$pkgver
-
-prepare() {
- cp -a oslo.concurrency-$pkgver{,-py2}
-}
-
-build() {
- cd "$srcdir"/oslo.concurrency-$pkgver
- python setup.py build
-
- cd "$srcdir"/oslo.concurrency-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- cd oslo.concurrency-$pkgver
- stestr run || : # "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:
Copied: python-oslo-concurrency/repos/community-any/PKGBUILD (from rev 570172, python-oslo-concurrency/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-02-13 13:27:14 UTC (rev 570174)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-oslo-concurrency
+pkgver=4.0.0
+pkgrel=3
+pkgdesc="OpenStack library for all concurrency-related code"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.concurrency/$pkgver"
+license=('Apache')
+depends=('python-six' 'python-pbr' 'python-oslo-config' 'python-oslo-i18n' 'python-oslo-utils'
+ 'python-fasteners')
+makedepends=('python-setuptools')
+checkdepends=('python-mock' 'python-oslotest' 'python-oslo-config' 'python-eventlet')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/oslo.concurrency/archive/$pkgver.tar.gz")
+sha512sums=('d75d84d4ce27b7418e358e5b5fdf0015511aa2caaddfed38f9eb4d1fdb4635c7df348c6cafbad26b3a0b9af8b41df898450f050e8899c4659c81b63ef8dfb45c')
+
+export PBR_VERSION=$pkgver
+
+build() {
+ cd oslo.concurrency-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd oslo.concurrency-$pkgver
+ stestr run || : # "1 failure about raising rlimit"
+}
+
+package() {
+ cd oslo.concurrency-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list