[arch-commits] Commit in python-testscenarios/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Mon Nov 9 16:56:45 UTC 2020
Date: Monday, November 9, 2020 @ 16:56:45
Author: felixonmars
Revision: 747726
archrelease: copy trunk to community-staging-any
Added:
python-testscenarios/repos/community-staging-any/
python-testscenarios/repos/community-staging-any/PKGBUILD
(from rev 747725, python-testscenarios/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-testscenarios/repos/community-staging-any/PKGBUILD (from rev 747725, python-testscenarios/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-09 16:56:45 UTC (rev 747726)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-testscenarios
+pkgver=0.5.0
+pkgrel=8
+pkgdesc="Testscenarios, a pyunit extension for dependency injection"
+arch=('any')
+license=('Apache')
+url="https://launchpad.net/testscenarios"
+depends=('python-testtools')
+makedepends=('python-setuptools' 'python-pbr')
+source=("https://pypi.python.org/packages/source/t/testscenarios/testscenarios-$pkgver.tar.gz")
+sha512sums=('f08b868babf504482369c5cb945d3e95bca1cc00f92d5013f6898c488051be0c26dc49aaabcef362aea45450a8d041d9826fb6b5c848beec013fb102d6935521')
+
+build() {
+ cd testscenarios-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd testscenarios-$pkgver
+ python -m testtools.run testscenarios.test_suite
+}
+
+package() {
+ cd testscenarios-$pkgver
+ python setup.py install --root="${pkgdir}" --optimize=1
+}
More information about the arch-commits
mailing list