[arch-commits] Commit in python-oslo-utils/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 18:19:24 UTC 2020
Date: Monday, November 9, 2020 @ 18:19:23
Author: foutrelis
Revision: 747973
archrelease: copy trunk to community-staging-any
Added:
python-oslo-utils/repos/community-staging-any/
python-oslo-utils/repos/community-staging-any/PKGBUILD
(from rev 747971, python-oslo-utils/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-oslo-utils/repos/community-staging-any/PKGBUILD (from rev 747971, python-oslo-utils/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 18:19:23 UTC (rev 747973)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-oslo-utils
+pkgver=4.7.0
+pkgrel=2
+pkgdesc="Oslo Utility library"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.utils/$pkgver"
+license=('Apache')
+depends=('python-six' 'python-pbr' 'python-iso8601' 'python-oslo-i18n' 'python-pytz'
+ 'python-netaddr' 'python-netifaces' 'python-debtcollector')
+makedepends=('python-setuptools')
+checkdepends=('python-oslotest' 'python-ddt' 'python-eventlet')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/oslo.utils/archive/$pkgver.tar.gz")
+sha512sums=('95eec2602b54ea88f6b629443e7a9c5a07c4cecb6f241ef7da05b2f461ce40c86c1caa31953d83ea6e4a98b28bfca608da8a2341ba7c02ea9b68c0d74bc8e23a')
+
+export PBR_VERSION=$pkgver
+
+build() {
+ cd oslo.utils-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd oslo.utils-$pkgver
+ stestr run
+}
+
+package() {
+ cd oslo.utils-$pkgver
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list