[arch-commits] Commit in python-fixtures/repos (2 files)
Antonio Rojas
arojas at gemini.archlinux.org
Sun Jul 31 17:37:46 UTC 2022
Date: Sunday, July 31, 2022 @ 17:37:45
Author: arojas
Revision: 1259354
archrelease: copy trunk to community-testing-any
Added:
python-fixtures/repos/community-testing-any/
python-fixtures/repos/community-testing-any/PKGBUILD
(from rev 1259353, python-fixtures/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-fixtures/repos/community-testing-any/PKGBUILD (from rev 1259353, python-fixtures/trunk/PKGBUILD)
===================================================================
--- community-testing-any/PKGBUILD (rev 0)
+++ community-testing-any/PKGBUILD 2022-07-31 17:37:45 UTC (rev 1259354)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-fixtures
+pkgver=4.0.1
+pkgrel=1
+pkgdesc="Fixtures, reusable state for writing clean tests and more"
+arch=('any')
+license=('Apache')
+url="https://launchpad.net/python-fixtures"
+depends=('python-pbr' 'python-six' 'python-testtools')
+checkdepends=('python-subunit' 'python-mock')
+source=("https://pypi.io/packages/source/f/fixtures/fixtures-$pkgver.tar.gz")
+sha512sums=('722436f146768e4db1e3312a0db1edab2a7daa86107825fb2436654eaf74e00f569357531316df506ef3f80cef89ac7185aee1adf0b00a6ee85cbc9811ca8100')
+
+build() {
+ cd fixtures-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd fixtures-$pkgver
+ python -m testtools.run fixtures.test_suite
+}
+
+package() {
+ cd fixtures-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list