Date: Saturday, April 8, 2023 @ 12:32:23
Author: felixonmars
Revision: 1442327
archrelease: copy trunk to community-staging-any
Added:
python-oslo-context/repos/community-staging-any/
python-oslo-context/repos/community-staging-any/PKGBUILD
(from rev 1442326, python-oslo-context/trunk/PKGBUILD)
----------+
PKGBUILD | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
Copied: python-oslo-context/repos/community-staging-any/PKGBUILD (from rev
1442326, python-oslo-context/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-08 12:32:23 UTC (rev 1442327)
@@ -0,0 +1,33 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-oslo-context
+pkgver=5.1.1
+_commit=7696282cb5bead6d7c6320ff287fb635500bd9a6
+pkgrel=2
+pkgdesc="OpenStack Context library"
+arch=('any')
+url="https://pypi.python.org/pypi/oslo.context/$pkgver"
+license=('Apache')
+depends=('python-pbr' 'python-debtcollector')
+makedepends=('git' 'python-setuptools')
+checkdepends=('python-oslotest')
+source=("git+https://github.com/openstack/oslo.context.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd oslo.context
+ python setup.py build
+}
+
+check() {
+ cd oslo.context
+ stestr run
+}
+
+package() {
+ cd oslo.context
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: