[arch-commits] Commit in pifpaf/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Aug 7 06:21:50 UTC 2020


    Date: Friday, August 7, 2020 @ 06:21:50
  Author: felixonmars
Revision: 671273

upgpkg: pifpaf 2.5.0-2: add a httpbin driver for haskell tests (submitted upstream)

Modified:
  pifpaf/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++++++----
 1 file changed, 11 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-08-07 03:21:38 UTC (rev 671272)
+++ PKGBUILD	2020-08-07 06:21:50 UTC (rev 671273)
@@ -2,7 +2,7 @@
 
 pkgname=pifpaf
 pkgver=2.5.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Suite of tools and fixtures to manage daemons for testing'
 arch=('any')
 license=('Apache')
@@ -15,14 +15,21 @@
 makedepends=('python-setuptools')
 checkdepends=('python-testrepository' 'python-requests' 'python-testtools' 'python-oslotest'
               'memcached' 'percona-server' 'percona-server-clients' 'postgresql' 'redis'
-              'ceph' 'consul' 'couchdb')
+              'ceph' 'consul' 'couchdb' 'httpbin')
 # 'elasticsearch': test fails
 # 'rabbitmq': test hangs
-source=("$pkgname-$pkgver.tar.gz::https://github.com/jd/pifpaf/archive/$pkgver.tar.gz")
-sha512sums=('fbbe891180cbbf592b90f76a9ab7604187f3c7c5d3fcd3a5848bf740646ae15bb08a704b5bd2ec58a3501ad5ed35c2d027eba026151d702283db67980a20a56d')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/jd/pifpaf/archive/$pkgver.tar.gz"
+        pifpaf-httpbin.patch::https://github.com/jd/pifpaf/pull/131.patch)
+sha512sums=('fbbe891180cbbf592b90f76a9ab7604187f3c7c5d3fcd3a5848bf740646ae15bb08a704b5bd2ec58a3501ad5ed35c2d027eba026151d702283db67980a20a56d'
+            '2b64f9c943d103980eb541b65dd46890ae39da8a80fd89e895963d10efebb1284a386a55d1c7018ec5f42ed3dda30f922ef271a5172189c44949d08b0d32c33c')
 
 export PBR_VERSION=$pkgver
 
+prepare() {
+  cd pifpaf-$pkgver
+  patch -p1 -i ../pifpaf-httpbin.patch
+}
+
 build() {
   cd pifpaf-$pkgver
   python setup.py build



More information about the arch-commits mailing list