[arch-commits] Commit in python-pifpaf/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Jun 28 15:00:56 UTC 2017
Date: Wednesday, June 28, 2017 @ 15:00:55
Author: felixonmars
Revision: 241355
archrelease: copy trunk to community-any
Added:
python-pifpaf/repos/community-any/PKGBUILD
(from rev 241354, python-pifpaf/trunk/PKGBUILD)
Deleted:
python-pifpaf/repos/community-any/PKGBUILD
----------+
PKGBUILD | 140 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 70 insertions(+), 70 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-28 15:00:40 UTC (rev 241354)
+++ PKGBUILD 2017-06-28 15:00:55 UTC (rev 241355)
@@ -1,70 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pifpaf
-pkgname=('python-pifpaf' 'python2-pifpaf')
-pkgver=1.4.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-cliff'
- 'python2-cliff' 'python-six' 'python2-six' 'python-daiquiri' 'python2-daiquiri'
- 'python-fixtures' 'python2-fixtures' 'python-xattr' 'python2-xattr' 'python-jinja'
- 'python2-jinja')
-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=('b70aabb7a9096d43955af4c64192990e152046a8f261ca53c7ad4a6f74a1fbb31aafa7aa850310d749d758d04110f2dd8ed02f0d6034898263f637d18f78f067')
-
-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_python-pifpaf() {
- depends=('python-pbr' 'python-cliff' 'python-six' 'python-fixtures' 'python-daiquiri'
- 'python-xattr' 'python-jinja')
-
- cd pifpaf-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
-
-package_python2-pifpaf() {
- depends=('python2-pbr' 'python2-cliff' 'python2-six' 'python2-fixtures' 'python2-daiquiri'
- 'python2-xattr' 'python2-jinja')
-
- 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: python-pifpaf/repos/community-any/PKGBUILD (from rev 241354, python-pifpaf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-06-28 15:00:55 UTC (rev 241355)
@@ -0,0 +1,70 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pifpaf
+pkgname=('python-pifpaf' 'python2-pifpaf')
+pkgver=1.4.9
+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-cliff'
+ 'python2-cliff' 'python-six' 'python2-six' 'python-daiquiri' 'python2-daiquiri'
+ 'python-fixtures' 'python2-fixtures' 'python-xattr' 'python2-xattr' 'python-jinja'
+ 'python2-jinja')
+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=('061b44ef1387a2da9b0842d462406fd88b157c5782898794b03a3379eee4e4b57f4aa8196bd01fc6a216aa329e86f6e45a0e4146b81ceb30fdd032d20465fcc8')
+
+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_python-pifpaf() {
+ depends=('python-pbr' 'python-cliff' 'python-six' 'python-fixtures' 'python-daiquiri'
+ 'python-xattr' 'python-jinja')
+
+ cd pifpaf-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-pifpaf() {
+ depends=('python2-pbr' 'python2-cliff' 'python2-six' 'python2-fixtures' 'python2-daiquiri'
+ 'python2-xattr' 'python2-jinja')
+
+ 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