[arch-commits] Commit in haskell-chell/trunk (PKGBUILD patience-0.2.patch)

Felix Yan felixonmars at archlinux.org
Tue Dec 4 08:25:29 UTC 2018


    Date: Tuesday, December 4, 2018 @ 08:25:28
  Author: felixonmars
Revision: 411093

upgpkg: haskell-chell 0.4.0.2-12

rebuild with patience 0.2.0.0

Added:
  haskell-chell/trunk/patience-0.2.patch
Modified:
  haskell-chell/trunk/PKGBUILD

--------------------+
 PKGBUILD           |    9 ++++++---
 patience-0.2.patch |   40 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-12-04 08:21:18 UTC (rev 411092)
+++ PKGBUILD	2018-12-04 08:25:28 UTC (rev 411093)
@@ -3,7 +3,7 @@
 _hkgname=chell
 pkgname=haskell-chell
 pkgver=0.4.0.2
-pkgrel=11
+pkgrel=12
 pkgdesc="A simple and intuitive library for automated testing"
 url="https://john-millikin.com/software/chell/"
 license=('MIT')
@@ -11,11 +11,14 @@
 depends=('ghc-libs' 'haskell-ansi-terminal' 'haskell-options' 'haskell-patience' 'haskell-random'
         )
 makedepends=('ghc')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('050c5818ad2cd954ef79b230de2f03fdfb19e99c8624a24bb7845bb20e3b5d5d427a9623491ffc706c5635f545eb99466bde7a851c4344d11df1a70bfb2bbe22')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz
+	patience-0.2.patch)
+sha512sums=('050c5818ad2cd954ef79b230de2f03fdfb19e99c8624a24bb7845bb20e3b5d5d427a9623491ffc706c5635f545eb99466bde7a851c4344d11df1a70bfb2bbe22'
+            '96f7e20516c0ce90f0a0cb4c35c9315607cf6c4ba2a7dae4a8619d8532a7a8e9856967799566e133f0400588876dc0d9246d7bcec4e5fa08f2bf9f4074111ed0')
 
 prepare() {
     cd $_hkgname-$pkgver
+    patch -p2 -i ../patience-0.2.patch
     sed -i 's/<.*0.8/<1/' $_hkgname.cabal
 }
 

Added: patience-0.2.patch
===================================================================
--- patience-0.2.patch	                        (rev 0)
+++ patience-0.2.patch	2018-12-04 08:25:28 UTC (rev 411093)
@@ -0,0 +1,40 @@
+commit d86effe073d75a73e544a58b16371664b8fcaf73
+Author: Felix Yan <felixonmars at archlinux.org>
+Date:   Tue Dec 4 16:21:48 2018 +0800
+
+    Migrade to patience 0.2 (#1)
+
+diff --git a/chell/Test/Chell.hs b/chell/Test/Chell.hs
+index 5a28259..d02e24a 100644
+--- a/chell/Test/Chell.hs
++++ b/chell/Test/Chell.hs
+@@ -123,7 +123,6 @@ import qualified Control.Exception
+ import           Control.Exception (Exception)
+ import           Control.Monad (ap, liftM)
+ import           Control.Monad.IO.Class (MonadIO, liftIO)
+-import qualified Data.Algorithm.Patience as Patience
+ import qualified Data.ByteString.Char8
+ import qualified Data.ByteString.Lazy.Char8
+ import           Data.Foldable (Foldable, foldMap)
+@@ -136,6 +135,8 @@ import qualified Data.Text.Lazy
+ 
+ import qualified Language.Haskell.TH as TH
+ 
++import qualified Patience
++
+ import           Test.Chell.Main (defaultMain)
+ import           Test.Chell.Types
+ 
+diff --git a/chell/chell.cabal b/chell/chell.cabal
+index b2df441..126975c 100644
+--- a/chell/chell.cabal
++++ b/chell/chell.cabal
+@@ -69,7 +69,7 @@ library
+       base >= 4.1 && < 5.0
+     , bytestring >= 0.9
+     , options >= 1.0 && < 2.0
+-    , patience >= 0.1 && < 0.2
++    , patience >= 0.2 && < 0.3
+     , random >= 1.0
+     , template-haskell >= 2.3
+     , text



More information about the arch-commits mailing list