[arch-commits] Commit in haskell-yesod-core/trunk (PKGBUILD date-cache.patch)
Felix Yan
fyan at archlinux.org
Mon May 2 08:35:53 UTC 2016
Date: Monday, May 2, 2016 @ 10:35:52
Author: fyan
Revision: 173320
upgpkg: haskell-yesod-core 1.4.20.2-2
rebuild with aeson-0.11.2.0, aeson-compat-0.3.3.0
Modified:
haskell-yesod-core/trunk/PKGBUILD
Deleted:
haskell-yesod-core/trunk/date-cache.patch
------------------+
PKGBUILD | 29 ++++++++++-------------------
date-cache.patch | 25 -------------------------
2 files changed, 10 insertions(+), 44 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-05-02 08:29:38 UTC (rev 173319)
+++ PKGBUILD 2016-05-02 08:35:52 UTC (rev 173320)
@@ -5,7 +5,7 @@
_hkgname=yesod-core
pkgname=haskell-yesod-core
pkgver=1.4.20.2
-pkgrel=1
+pkgrel=2
pkgdesc="Creation of type-safe, RESTful web applications."
url="http://www.yesodweb.com/"
license=("MIT")
@@ -14,29 +14,20 @@
"haskell-blaze-html" "haskell-blaze-markup" "haskell-byteable"
"haskell-case-insensitive" "haskell-cereal" "haskell-clientsession"
"haskell-conduit" "haskell-conduit-extra" "haskell-cookie"
- "haskell-data-default" "haskell-date-cache" "haskell-exceptions"
- "haskell-fast-logger" "haskell-http-types" "haskell-lifted-base"
- "haskell-monad-control" "haskell-monad-logger" "haskell-mtl"
- "haskell-mwc-random" "haskell-old-locale" "haskell-parsec"
- "haskell-path-pieces" "haskell-primitive" "haskell-random"
- "haskell-resourcet" "haskell-safe" "haskell-semigroups" "haskell-shakespeare"
- "haskell-text" "haskell-transformers-base" "haskell-unix-compat"
+ "haskell-data-default" "haskell-exceptions" "haskell-fast-logger"
+ "haskell-http-types" "haskell-lifted-base" "haskell-monad-control"
+ "haskell-monad-logger" "haskell-mtl" "haskell-mwc-random"
+ "haskell-old-locale" "haskell-parsec" "haskell-path-pieces"
+ "haskell-primitive" "haskell-random" "haskell-resourcet" "haskell-safe"
+ "haskell-semigroups" "haskell-shakespeare" "haskell-text"
+ "haskell-transformers-base" "haskell-unix-compat"
"haskell-unordered-containers" "haskell-vector" "haskell-wai"
"haskell-wai-extra" "haskell-wai-logger" "haskell-warp" "haskell-word8")
options=('staticlibs')
-source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz"
- date-cache.patch)
+source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
install="${pkgname}.install"
-sha256sums=('cfa62e47de410bff1fd37571a3c7fda92b0a5cd28e1df8d466c7a65b5a2e6f28'
- '4eb8e78836f118e16de0d7a94c1d72421b83c6001825766300b961bf398c985e')
+sha256sums=('cfa62e47de410bff1fd37571a3c7fda92b0a5cd28e1df8d466c7a65b5a2e6f28')
-prepare() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
-
- # https://github.com/yesodweb/yesod/issues/1214
- patch -p2 -i ../date-cache.patch
-}
-
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
Deleted: date-cache.patch
===================================================================
--- date-cache.patch 2016-05-02 08:29:38 UTC (rev 173319)
+++ date-cache.patch 2016-05-02 08:35:52 UTC (rev 173320)
@@ -1,25 +0,0 @@
-diff --git a/yesod-core/Yesod/Core/Types.hs b/yesod-core/Yesod/Core/Types.hs
-index d8a2b2e..6b24154 100644
---- a/yesod-core/Yesod/Core/Types.hs
-+++ b/yesod-core/Yesod/Core/Types.hs
-@@ -49,7 +49,7 @@ import qualified Network.Wai as W
- import qualified Network.Wai.Parse as NWP
- import System.Log.FastLogger (LogStr, LoggerSet, toLogStr, pushLogStr)
- import qualified System.Random.MWC as MWC
--import Network.Wai.Logger (DateCacheGetter)
-+import System.Date.Cache (DateCacheGetter)
- import Text.Blaze.Html (Html, toHtml)
- import Text.Hamlet (HtmlUrl)
- import Text.Julius (JavascriptUrl)
-diff --git a/yesod-core/yesod-core.cabal b/yesod-core/yesod-core.cabal
-index 1ed8b27..cfa34bb 100644
---- a/yesod-core/yesod-core.cabal
-+++ b/yesod-core/yesod-core.cabal
-@@ -51,6 +51,7 @@ library
- , aeson >= 0.5
- , fast-logger >= 2.2
- , wai-logger >= 0.2
-+ , date-cache
- , monad-logger >= 0.3.1 && < 0.4
- , conduit >= 1.2
- , resourcet >= 0.4.9 && < 1.2
More information about the arch-commits
mailing list