[arch-commits] Commit in python-heatclient/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Nov 14 13:41:21 UTC 2020
Date: Saturday, November 14, 2020 @ 13:41:21
Author: felixonmars
Revision: 754115
archrelease: copy trunk to community-staging-any
Added:
python-heatclient/repos/community-staging-any/
python-heatclient/repos/community-staging-any/PKGBUILD
(from rev 754114, python-heatclient/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: python-heatclient/repos/community-staging-any/PKGBUILD (from rev 754114, python-heatclient/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-14 13:41:21 UTC (rev 754115)
@@ -0,0 +1,39 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-heatclient
+pkgver=2.2.1
+pkgrel=2
+pkgdesc="OpenStack Orchestration API Client Library"
+arch=('any')
+url="https://docs.openstack.org/python-heatclient/latest/"
+license=('Apache')
+depends=('python-babel' 'python-pbr' 'python-cliff' 'python-iso8601' 'python-osc-lib'
+ 'python-prettytable' 'python-oslo-i18n' 'python-oslo-serialization' 'python-oslo-utils'
+ 'python-keystoneauth1' 'python-swiftclient' 'python-yaml' 'python-requests' 'python-six')
+checkdepends=('python-stestr' 'python-testscenarios' 'python-requests-mock')
+source=("https://github.com/openstack/python-heatclient/archive/$pkgver/$pkgname-$pkgver.tar.gz"
+ $pkgname-python3.9.patch::https://github.com/openstack/python-heatclient/commit/2b6f6ac284e4e749a8f6cf627cdc00c54a05f422.patch)
+sha512sums=('3f9bfb8d5358d3934af26fb1de6c7ea066e0b57f6028bae06e67341f8adcb979e0a826659030960c617f92758533f3a106b8543f0fa55936f5a8e4c5ef6a8e32'
+ '2e0628ec2deab33f0489978021e4997c4395b889dfaa500f924424a99b490fa077b5ff70e5efbe9c4846c644a2d52841d528755e138b3049c9dd1c8c8bfecddf')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+ patch -d python-heatclient-$pkgver -p1 < $pkgname-python3.9.patch || :
+}
+
+build() {
+ cd python-heatclient-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd python-heatclient-$pkgver
+ stestr run
+}
+
+package() {
+ cd python-heatclient-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list