[arch-commits] Commit in python-oslotest/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Tue Nov 10 05:06:56 UTC 2020
Date: Tuesday, November 10, 2020 @ 05:06:56
Author: felixonmars
Revision: 749301
archrelease: copy trunk to community-staging-any
Added:
python-oslotest/repos/community-staging-any/
python-oslotest/repos/community-staging-any/PKGBUILD
(from rev 749299, python-oslotest/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-oslotest/repos/community-staging-any/PKGBUILD (from rev 749299, python-oslotest/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-10 05:06:56 UTC (rev 749301)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-oslotest
+pkgver=4.4.1
+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-mock' '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=('7b1ad2f673a52719f6f977abf52c315de1b6299083d73db23706b6c947e72f3d104e7eb254b1031d1baf03cd60fc9c5328352eb19eabdaeef3eca34e53b5f4d3')
+
+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