Date: Wednesday, April 5, 2023 @ 18:21:19
Author: felixonmars
Revision: 1437880
archrelease: copy trunk to community-staging-any
Added:
python-oslotest/repos/community-staging-any/
python-oslotest/repos/community-staging-any/PKGBUILD
(from rev 1437879, python-oslotest/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-oslotest/repos/community-staging-any/PKGBUILD (from rev 1437879,
python-oslotest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-05 18:21:19 UTC (rev 1437880)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-oslotest
+pkgver=4.5.0
+pkgrel=4
+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: