[arch-commits] Commit in pifpaf/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Tue Feb 27 09:34:39 UTC 2018
Date: Tuesday, February 27, 2018 @ 09:34:38
Author: felixonmars
Revision: 299101
archrelease: copy trunk to community-any
Added:
pifpaf/repos/community-any/PKGBUILD
(from rev 299100, pifpaf/trunk/PKGBUILD)
Deleted:
pifpaf/repos/community-any/PKGBUILD
----------+
PKGBUILD | 146 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 73 insertions(+), 73 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-27 09:34:19 UTC (rev 299100)
+++ PKGBUILD 2018-02-27 09:34:38 UTC (rev 299101)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=pifpaf
-pkgname=('pifpaf' 'python2-pifpaf')
-pkgver=2.0.5
-pkgrel=1
-pkgdesc='Suite of tools and fixtures to manage daemons for testing'
-arch=('any')
-license=('Apache')
-url='https://github.com/jd/pifpaf'
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-click'
- 'python2-click' 'python-six' 'python2-six' 'python-daiquiri' 'python2-daiquiri'
- 'python-fixtures' 'python2-fixtures' 'python-psutil' 'python2-psutil'
- 'python-jinja' 'python2-jinja' 'python-xattr' 'python2-xattr')
-checkdepends=('python-testrepository' 'python2-testrepository' 'python-requests' 'python2-requests'
- 'python-testtools' 'python2-testtools' 'python-oslotest' 'python2-oslotest'
- 'memcached' 'mongodb' 'percona-server' 'percona-server-clients' 'postgresql' 'redis'
- 'ceph' 'consul' 'couchdb')
-# 'elasticsearch': test fails
-# 'rabbitmq': test hangs
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/jd/pifpaf/archive/$pkgver.tar.gz")
-sha512sums=('84a9c6df2dad7a0522ec61907f8c219d6b6c5bc5b8aad09013a40c538bea3685440aa236172c0a28668d309600ecd4ef012a180424cfcf4593b06af7cb2cd85e')
-
-prepare() {
- cp -a pifpaf-$pkgver{,-py2}
-
- export LC_CTYPE=en_US.UTF-8
- export PBR_VERSION=$pkgver
-}
-
-build() {
- cd "$srcdir"/pifpaf-$pkgver
- python setup.py build
-
- cd "$srcdir"/pifpaf-$pkgver-py2
- python2 setup.py build
-}
-
-check() {
- # Hack entry points by installing it
-
- cd "$srcdir"/pifpaf-$pkgver
- python setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" python setup.py testr
-
- cd "$srcdir"/pifpaf-$pkgver-py2
- python2 setup.py install --root="$PWD/tmp_install" --optimize=1
- PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHON=python2 python2 setup.py testr
-}
-
-package_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')
-
- cd pifpaf-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-pifpaf() {
- depends=('python2-pbr' 'python2-click' 'python2-six' 'python2-fixtures' 'python2-daiquiri'
- 'python2-psutil' 'python2-jinja' 'python2-xattr')
-
- cd pifpaf-$pkgver-py2
- python2 setup.py install --root="$pkgdir" --optimize=1
-
- mv "$pkgdir"/usr/bin/pifpaf{,2}
-}
-
-# vim:set ts=2 sw=2 et:
Copied: pifpaf/repos/community-any/PKGBUILD (from rev 299100, pifpaf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-27 09:34:38 UTC (rev 299101)
@@ -0,0 +1,73 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=pifpaf
+pkgname=('pifpaf' 'python2-pifpaf')
+pkgver=2.0.6
+pkgrel=1
+pkgdesc='Suite of tools and fixtures to manage daemons for testing'
+arch=('any')
+license=('Apache')
+url='https://github.com/jd/pifpaf'
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pbr' 'python2-pbr' 'python-click'
+ 'python2-click' 'python-six' 'python2-six' 'python-daiquiri' 'python2-daiquiri'
+ 'python-fixtures' 'python2-fixtures' 'python-psutil' 'python2-psutil'
+ 'python-jinja' 'python2-jinja' 'python-xattr' 'python2-xattr')
+checkdepends=('python-testrepository' 'python2-testrepository' 'python-requests' 'python2-requests'
+ 'python-testtools' 'python2-testtools' 'python-oslotest' 'python2-oslotest'
+ 'memcached' 'mongodb' 'percona-server' 'percona-server-clients' 'postgresql' 'redis'
+ 'ceph' 'consul' 'couchdb')
+# 'elasticsearch': test fails
+# 'rabbitmq': test hangs
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/jd/pifpaf/archive/$pkgver.tar.gz")
+sha512sums=('14a9c5140f7faf0a18115bd960350a2368f481b151089648c9631188c0e1ec1e71932765693abd3da1341a59d86430dd8d7560d08c5e57fd0f364a05e38f70f9')
+
+prepare() {
+ cp -a pifpaf-$pkgver{,-py2}
+
+ export LC_CTYPE=en_US.UTF-8
+ export PBR_VERSION=$pkgver
+}
+
+build() {
+ cd "$srcdir"/pifpaf-$pkgver
+ python setup.py build
+
+ cd "$srcdir"/pifpaf-$pkgver-py2
+ python2 setup.py build
+}
+
+check() {
+ # Hack entry points by installing it
+
+ cd "$srcdir"/pifpaf-$pkgver
+ python setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python3.6/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" python setup.py testr
+
+ cd "$srcdir"/pifpaf-$pkgver-py2
+ python2 setup.py install --root="$PWD/tmp_install" --optimize=1
+ PYTHONPATH="$PWD/tmp_install/usr/lib/python2.7/site-packages" PATH="$PWD/tmp_install/usr/bin:$PATH" PYTHON=python2 python2 setup.py testr
+}
+
+package_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')
+
+ cd pifpaf-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-pifpaf() {
+ depends=('python2-pbr' 'python2-click' 'python2-six' 'python2-fixtures' 'python2-daiquiri'
+ 'python2-psutil' 'python2-jinja' 'python2-xattr')
+
+ cd pifpaf-$pkgver-py2
+ python2 setup.py install --root="$pkgdir" --optimize=1
+
+ mv "$pkgdir"/usr/bin/pifpaf{,2}
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list