[arch-commits] Commit in python-os-service-types/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 16:48:15 UTC 2020
Date: Monday, November 9, 2020 @ 16:48:14
Author: felixonmars
Revision: 747542
archrelease: copy trunk to community-staging-any
Added:
python-os-service-types/repos/community-staging-any/
python-os-service-types/repos/community-staging-any/PKGBUILD
(from rev 747541, python-os-service-types/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: python-os-service-types/repos/community-staging-any/PKGBUILD (from rev 747541, python-os-service-types/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:48:14 UTC (rev 747542)
@@ -0,0 +1,38 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-os-service-types
+pkgver=1.7.0
+pkgrel=6
+pkgdesc="Python library for consuming OpenStack sevice-types-authority data"
+arch=('any')
+url="https://pypi.python.org/pypi/os-service-types/$pkgver"
+license=('Apache')
+depends=('python-pbr')
+checkdepends=('python-oslotest' 'python-requests-mock')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/os-service-types/archive/$pkgver.tar.gz")
+sha512sums=('df5848d648a9181dabd33fa734b556ea3799e8b06d0d4ba9f440c66bf7e942b5d65a5ffbd00fadfc61705a702fce3aa2b5d601a5ebde23a1da7259a712c4c0d5')
+
+export PBR_VERSION=$pkgver
+
+prepare() {
+ echo "global-include *.json" >> os-service-types-$pkgver/MANIFEST.in
+}
+
+build() {
+ cd os-service-types-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd os-service-types-$pkgver
+ stestr run
+}
+
+package() {
+ cd os-service-types-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list