[arch-commits] Commit in haskell-http-client/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Aug 23 22:33:19 UTC 2020
Date: Sunday, August 23, 2020 @ 22:33:19
Author: felixonmars
Revision: 687363
upgpkg: haskell-http-client 0.7.2.1-1: rebuild with http-client 0.7.2.1
Modified:
haskell-http-client/trunk/PKGBUILD
----------+
PKGBUILD | 15 ++++-----------
1 file changed, 4 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-23 22:12:00 UTC (rev 687362)
+++ PKGBUILD 2020-08-23 22:33:19 UTC (rev 687363)
@@ -3,8 +3,8 @@
_hkgname=http-client
pkgname=haskell-http-client
-pkgver=0.7.2
-pkgrel=3
+pkgver=0.7.2.1
+pkgrel=1
pkgdesc="An HTTP client engine"
url="https://github.com/snoyberg/http-client"
license=("MIT")
@@ -13,16 +13,9 @@
'haskell-http-types' 'haskell-memory' 'haskell-mime-types'
'haskell-network' 'haskell-network-uri' 'haskell-random' 'haskell-streaming-commons')
makedepends=('ghc' 'haskell-async' 'haskell-hspec' 'haskell-monad-control' 'haskell-zlib')
-checkdepends=('httpbin' 'pifpaf')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('dba1bb6d11c379c9ae1bba9256bddc13531d84be5335e3257dcca8860996265f59c63f4814f12ff872d45b844114e0bab7e46515aa3d3865fb5233cfd70aa9d3')
+sha512sums=('1d4f27a191ee3ae45db918a24c58d71e93b9ba92a78b5a0483d7ae8265b6c8181502ce79f26cc614092df5e68e84a979ca68850078329fda2d0bd98fb390c364')
-prepare() {
- cd $_hkgname-$pkgver
- # https://github.com/postmanlabs/httpbin/issues/617
- sed -i 's|http://httpbin.org/redirect-to|http://127.0.0.1:42162/redirect-to|' test/Network/HTTP/ClientSpec.hs
-}
-
build() {
cd $_hkgname-$pkgver
@@ -38,7 +31,7 @@
check() {
cd $_hkgname-$pkgver
- pifpaf run httpbin --port 42162 -- runhaskell Setup test
+ runhaskell Setup test
}
package() {
More information about the arch-commits
mailing list