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

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 14:56:21 UTC 2021


    Date: Wednesday, December 1, 2021 @ 14:56:21
  Author: foutrelis
Revision: 1059562

archrelease: copy trunk to community-staging-any

Added:
  python-oslotest/repos/community-staging-any/
  python-oslotest/repos/community-staging-any/PKGBUILD
    (from rev 1059561, python-oslotest/trunk/PKGBUILD)

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

Copied: python-oslotest/repos/community-staging-any/PKGBUILD (from rev 1059561, python-oslotest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-01 14:56:21 UTC (rev 1059562)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-oslotest
+pkgver=4.5.0
+pkgrel=2
+pkgdesc="Oslo test framework"
+arch=('any')
+url="https://github.com/openstack/oslotest"
+license=('Apache')
+depends=('python-fixtures' 'python-subunit' 'python-stestr' 'python-testscenarios'
+         'python-testtools' 'python-mox3' 'python-os-client-config'
+         'python-debtcollector')
+makedepends=('python-pbr')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/openstack/oslotest/archive/$pkgver.tar.gz")
+sha512sums=('f00c6a99368f20f9e70b1156cbcd5206c63db13286f3939e15816aae2dce80bb81dd8047e57fb0e41124f7590bc514644ec87457337b2992d77aa67ed3f3efb4')
+
+export PBR_VERSION=$pkgver
+
+build() {
+  cd oslotest-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd oslotest-$pkgver
+  stestr run
+}
+
+package() {
+  cd "$srcdir"/oslotest-$pkgver
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list