Date: Sunday, April 9, 2023 @ 14:26:51
Author: felixonmars
Revision: 1443260
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 1443259, python-oslo-utils/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: python-oslo-utils/repos/community-staging-any/PKGBUILD (from rev
1443259, python-oslo-utils/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-09 14:26:51 UTC (rev 1443260)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-oslo-utils
+pkgver=6.1.0
+pkgrel=2
+pkgdesc="Oslo Utility library"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.utils/$pkgver"
+license=('Apache')
+depends=('python-iso8601' 'python-oslo-i18n' 'python-pytz' 'python-netaddr'
+ 'python-netifaces' 'python-debtcollector' 'python-pyparsing'
'python-packaging')
+makedepends=('python-setuptools')
+checkdepends=('python-oslotest' 'python-ddt' 'python-eventlet')
+source=("https://github.com/openstack/oslo.utils/archive/$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('ce6b436bb1e633d585d34c8dbda7815250f369d2d0c89fb87f1613ff5197d7d24d01b7605e2e514288209e0ebaad5d661d9668259793fb0e1d8180bef6cdadf7')
+
+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: