[arch-commits] Commit in python-fixtures/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 9 12:06:24 UTC 2020


    Date: Monday, November 9, 2020 @ 12:06:24
  Author: felixonmars
Revision: 746854

archrelease: copy trunk to community-staging-any

Added:
  python-fixtures/repos/community-staging-any/
  python-fixtures/repos/community-staging-any/PKGBUILD
    (from rev 746853, python-fixtures/trunk/PKGBUILD)

----------+
 PKGBUILD |   28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

Copied: python-fixtures/repos/community-staging-any/PKGBUILD (from rev 746853, python-fixtures/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-09 12:06:24 UTC (rev 746854)
@@ -0,0 +1,28 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-fixtures
+pkgver=3.0.0
+pkgrel=9
+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=('e52ba864c42d15a8baa60583761006b2dd78e3cd5f3f043f5702346aef428b933d62e8fa5889b7cb4196e4072acc5df3b7ffa39702a1b782887bdc109299b695')
+
+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