[arch-commits] Commit in python-stestr/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 18:18:14 UTC 2020
Date: Monday, November 9, 2020 @ 18:18:14
Author: felixonmars
Revision: 747949
archrelease: copy trunk to community-staging-any
Added:
python-stestr/repos/community-staging-any/
python-stestr/repos/community-staging-any/PKGBUILD
(from rev 747948, python-stestr/trunk/PKGBUILD)
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
Copied: python-stestr/repos/community-staging-any/PKGBUILD (from rev 747948, python-stestr/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 18:18:14 UTC (rev 747949)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Sapin <simon dot sapin at exyr dot org>
+# Contributor: Kyle Keen <keenerd at gmail.com>
+
+pkgname=python-stestr
+pkgver=3.0.1
+pkgrel=2
+pkgdesc="A test runner runner similar to testrepository"
+url="https://stestr.readthedocs.io/en/latest/"
+license=('Apache')
+arch=('any')
+depends=('python-future' 'python-cliff' 'python-pbr' 'python-subunit' 'python-fixtures'
+ 'python-testtools' 'python-yaml' 'python-voluptuous')
+checkdepends=('python-hacking' 'python-sphinx' 'python-mock' 'python-subunit2sql' 'python-coverage'
+ 'python-ddt')
+source=("https://pypi.io/packages/source/s/stestr/stestr-$pkgver.tar.gz")
+sha512sums=('2bc3219652fa7d4c1e5852ad83561dd7282c300c530b05d67c1b3883164dcf0e258d904c9583ed627ff23b0cb783dd21e76bbc66934a6b3545fe9ebf5e418925')
+
+build() {
+ cd stestr-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd stestr-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ (
+ export PYTHONPATH="$PWD/tmp_install/usr/lib/python3.9/site-packages"
+ export PATH="$PWD/tmp_install/usr/bin:$PATH"
+ stestr run
+ )
+}
+
+package() {
+ cd stestr-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list