[arch-commits] Commit in pifpaf/repos/community-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Wed Dec 13 15:15:07 UTC 2017
Date: Wednesday, December 13, 2017 @ 15:15:06
Author: felixonmars
Revision: 274219
archrelease: copy trunk to community-any
Added:
pifpaf/repos/community-any/PKGBUILD
(from rev 274218, pifpaf/trunk/PKGBUILD)
Deleted:
pifpaf/repos/community-any/PKGBUILD
----------+
PKGBUILD | 146 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 73 insertions(+), 73 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-13 15:14:43 UTC (rev 274218)
+++ PKGBUILD 2017-12-13 15:15:06 UTC (rev 274219)
@@ -1,73 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=pifpaf
-pkgname=('pifpaf' 'python2-pifpaf')
-pkgver=1.11.3
-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-tenacity' 'python2-tenacity'
- '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=('caee4a187e47d8cfa8b10f30746a78bf641f434dbb3aba7a3c4ff79410d78dfc9504c847f58135737ebcf785a540f6883cad2bd2044ec0a7b8ff40ea6351ef99')
-
-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-pbr' 'python-cliff' 'python-six' 'python-fixtures' 'python-daiquiri'
- 'python-tenacity' 'python-jinja' '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-cliff' 'python2-six' 'python2-fixtures' 'python2-daiquiri'
- 'python2-tenacity' '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 274218, pifpaf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-13 15:15:06 UTC (rev 274219)
@@ -0,0 +1,73 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=pifpaf
+pkgname=('pifpaf' 'python2-pifpaf')
+pkgver=1.11.4
+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-tenacity' 'python2-tenacity'
+ '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=('e97ca5c1e8087b33787d4afeb925cdafa04b993361f81ff27980012c4ff5b91deb18a92ea8fa07e9bb78b8f55eb5805f79f792627fa424e63d86a1d8fc5f7ea3')
+
+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-pbr' 'python-cliff' 'python-six' 'python-fixtures' 'python-daiquiri'
+ 'python-tenacity' 'python-jinja' '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-cliff' 'python2-six' 'python2-fixtures' 'python2-daiquiri'
+ 'python2-tenacity' '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