Date: Wednesday, February 22, 2023 @ 12:39:17
Author: felixonmars
Revision: 1403596
upgpkg: python-oslo-config 9.1.1-1
Modified:
python-oslo-config/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-02-22 12:06:08 UTC (rev 1403595)
+++ PKGBUILD 2023-02-22 12:39:17 UTC (rev 1403596)
@@ -2,7 +2,8 @@
# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
pkgname=python-oslo-config
-pkgver=9.1.0
+pkgver=9.1.1
+_commit=515daab81acccbea4015afc5c3c3316d88903a10
pkgrel=1
pkgdesc="parsing command line arguments and .ini style configuration files"
arch=('any')
@@ -10,26 +11,24 @@
license=('Apache')
depends=('python-debtcollector' 'python-netaddr' 'python-stevedore'
'python-oslo-i18n' 'python-rfc3986' 'python-yaml' 'python-requests')
-makedepends=('python-pbr' 'python-setuptools')
+makedepends=('git' 'python-pbr' 'python-setuptools')
checkdepends=('python-oslotest' 'python-sphinx' 'python-requests-mock'
'python-oslo-log')
options=('!emptydirs')
-source=("https://github.com/openstack/oslo.config/archive/$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('0af00e88c0a0aa747de5a70847789fdcf3847309883a229d63e30a7c78ec0059bb455781ef1ca49bb794078d0048c4a832463f22c5ee95d4d10127d157d33e3a')
+source=("git+https://github.com/openstack/oslo.config.git#commit=$_commit")
+sha512sums=('SKIP')
-export PBR_VERSION=$pkgver
-
build() {
- cd oslo.config-$pkgver
+ cd oslo.config
python setup.py build
}
check() {
- cd oslo.config-$pkgver
+ cd oslo.config
stestr run
}
package() {
- cd oslo.config-$pkgver
+ cd oslo.config
python setup.py install --root="$pkgdir/" --optimize=1
}