[arch-commits] Commit in python-pifpaf/repos/community-testing-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sun Jul 2 14:45:18 UTC 2017


    Date: Sunday, July 2, 2017 @ 14:45:17
  Author: felixonmars
Revision: 242069

archrelease: copy trunk to community-testing-any

Added:
  python-pifpaf/repos/community-testing-any/PKGBUILD
    (from rev 242068, python-pifpaf/trunk/PKGBUILD)
Deleted:
  python-pifpaf/repos/community-testing-any/PKGBUILD

----------+
 PKGBUILD |  144 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 72 insertions(+), 72 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-07-02 14:44:43 UTC (rev 242068)
+++ PKGBUILD	2017-07-02 14:45:17 UTC (rev 242069)
@@ -1,72 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgbase=python-pifpaf
-pkgname=('python-pifpaf' 'python2-pifpaf')
-pkgver=1.5.0
-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')
-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' 'python-xattr' 'python2-xattr')
-# 'elasticsearch': test fails
-# 'rabbitmq': test hangs
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/jd/pifpaf/archive/$pkgver.tar.gz")
-sha512sums=('3974c5973d5654088e0dbe24a7a7c095dcebd753039edbef7f66ba1c2030e5eba407e5ba830e2446c2ccc465c697cbe496d4ea1c3561fd34761167834bab239b')
-
-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 || warning "Tests failed"
-
-  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 || warning "Tests failed"
-}
-
-package_python-pifpaf() {
-  depends=('python-pbr' 'python-cliff' 'python-six' 'python-fixtures' 'python-daiquiri'
-           'python-tenacity' 'python-jinja')
-  optdepends=('python-xattr: for ceph support')
-
-  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')
-  optdepends=('python2-xattr: for ceph support')
-
-  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-testing-any/PKGBUILD (from rev 242068, python-pifpaf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-07-02 14:45:17 UTC (rev 242069)
@@ -0,0 +1,72 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-pifpaf
+pkgname=('python-pifpaf' 'python2-pifpaf')
+pkgver=1.5.2
+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')
+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' 'python-xattr' 'python2-xattr')
+# 'elasticsearch': test fails
+# 'rabbitmq': test hangs
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/jd/pifpaf/archive/$pkgver.tar.gz")
+sha512sums=('6d33abf72f0d60f36ed4f9cbdb87c9476a9c6da933ab7ffbfd3e2fb31a0a59d6a81b30d799ece86680739779a63c3f8bb3624a1b80a3218d917b162c51e3b950')
+
+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 || warning "Tests failed"
+
+  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 || warning "Tests failed"
+}
+
+package_python-pifpaf() {
+  depends=('python-pbr' 'python-cliff' 'python-six' 'python-fixtures' 'python-daiquiri'
+           'python-tenacity' 'python-jinja')
+  optdepends=('python-xattr: for ceph support')
+
+  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')
+  optdepends=('python2-xattr: for ceph support')
+
+  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