[arch-commits] Commit in python-oslo-context/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Nov 9 18:18:07 UTC 2020


    Date: Monday, November 9, 2020 @ 18:18:07
  Author: foutrelis
Revision: 747947

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 747946, python-oslo-context/trunk/PKGBUILD)

----------+
 PKGBUILD |   35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

Copied: python-oslo-context/repos/community-staging-any/PKGBUILD (from rev 747946, python-oslo-context/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 18:18:07 UTC (rev 747947)
@@ -0,0 +1,35 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Daniel Wallace <danielwallace at gtmanfred dot com>
+
+pkgname=python-oslo-context
+pkgver=3.1.1
+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=('python-setuptools')
+checkdepends=('python-mock' 'python-oslotest')
+options=('!emptydirs')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/oslo.context/archive/$pkgver.tar.gz")
+sha512sums=('109fbfc26fb012616a6acbfb4c4b8e127658c1926c3152132fc7722bdcbe5e3ea5870c92deca4dc78d34e89186ab7f6de2250661373d4e513fc916c93c3802a6')
+
+export PBR_VERSION=$pkgver
+
+build() {
+  cd oslo.context-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd oslo.context-$pkgver
+  stestr run
+}
+
+package() {
+  cd oslo.context-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list