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

Felix Yan felixonmars at archlinux.org
Sat Oct 26 20:25:37 UTC 2019


    Date: Saturday, October 26, 2019 @ 20:25:36
  Author: felixonmars
Revision: 520520

archrelease: copy trunk to community-staging-any

Added:
  pifpaf/repos/community-staging-any/
  pifpaf/repos/community-staging-any/PKGBUILD
    (from rev 520519, pifpaf/trunk/PKGBUILD)

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

Copied: pifpaf/repos/community-staging-any/PKGBUILD (from rev 520519, pifpaf/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 20:25:36 UTC (rev 520520)
@@ -0,0 +1,42 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=pifpaf
+pkgver=2.2.2
+pkgrel=3
+pkgdesc='Suite of tools and fixtures to manage daemons for testing'
+arch=('any')
+license=('Apache')
+url='https://github.com/jd/pifpaf'
+depends=('python-daiquiri' 'python-click' 'python-pbr' 'python-jinja' 'python-six'
+         'python-fixtures' 'python-psutil' 'python-xattr')
+provides=("python-pifpaf=$pkgver")
+conflicts=('python-pifpaf')
+replaces=('python-pifpaf')
+makedepends=('python-setuptools')
+checkdepends=('python-testrepository' 'python-requests' 'python-testtools' 'python-oslotest'
+              'memcached' 'percona-server' 'percona-server-clients' 'postgresql' 'redis'
+              'ceph' 'consul' 'couchdb')
+# 'elasticsearch': test fails
+# 'rabbitmq': test hangs
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jd/pifpaf/archive/$pkgver.tar.gz")
+sha512sums=('ca06da6b641eca723e6818c9bd81bd68fb0e1f8687e7ca32e4c7c36439b769f52d23a0e1a14e74b7731c69210d7de2b9ce2f68daf992424d54f4a3c7f0e6877f')
+
+export PBR_VERSION=$pkgver
+
+build() {
+  cd pifpaf-$pkgver
+  python setup.py build
+}
+
+check() {
+  # Hack entry points by installing it
+
+  cd pifpaf-$pkgver
+  python setup.py install --root="$PWD/tmp_install" --optimize=1
+  PYTHONPATH="$PWD/tmp_install/usr/lib/python3.8/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" python setup.py testr
+}
+
+package() {
+  cd pifpaf-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list