[arch-commits] Commit in git-annex/trunk (PKGBUILD quickcheck-2.8.2.patch)

Felix Yan fyan at archlinux.org
Thu Jan 21 07:36:30 UTC 2016


    Date: Thursday, January 21, 2016 @ 08:36:29
  Author: fyan
Revision: 158399

upgpkg: git-annex 6.20160114-8

rebuild with http2-1.4.4, file-embed-0.0.9.1, QuickCheck-2.8.2

Added:
  git-annex/trunk/quickcheck-2.8.2.patch
Modified:
  git-annex/trunk/PKGBUILD

------------------------+
 PKGBUILD               |   14 +++++++++++---
 quickcheck-2.8.2.patch |   15 +++++++++++++++
 2 files changed, 26 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-01-21 07:20:57 UTC (rev 158398)
+++ PKGBUILD	2016-01-21 07:36:29 UTC (rev 158399)
@@ -4,7 +4,7 @@
 
 pkgname=git-annex
 pkgver=6.20160114
-pkgrel=7
+pkgrel=8
 pkgdesc="Manage files with git, without checking their contents into git"
 url="http://git-annex.branchable.com/"
 license=("AGPL3")
@@ -32,9 +32,17 @@
              "haskell-yesod-form" "haskell-yesod-static")
 depends=('git' 'rsync' 'libxml2' 'gsasl')
 options=('staticlibs')
-source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('671d165f9ea583b9a86060b60741c6aa54dbfde0673a2b278d82d761b7500181')
+source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz"
+        quickcheck-2.8.2.patch)
+sha256sums=('671d165f9ea583b9a86060b60741c6aa54dbfde0673a2b278d82d761b7500181'
+            'f1814b955c282addd7adc6941444122e1d0ca28115a851e00c6702dfba72623e')
 
+prepare() {
+    cd "${srcdir}/${pkgname}-${pkgver}"
+    # https://github.com/fpco/stackage/issues/1168
+    patch -p0 -i ../quickcheck-2.8.2.patch
+}
+
 build() {
     cd "${srcdir}/${pkgname}-${pkgver}"
     

Added: quickcheck-2.8.2.patch
===================================================================
--- quickcheck-2.8.2.patch	                        (rev 0)
+++ quickcheck-2.8.2.patch	2016-01-21 07:36:29 UTC (rev 158399)
@@ -0,0 +1,15 @@
+--- Utility/QuickCheck.hs.orig	2016-01-21 14:13:28.661285249 +0800
++++ Utility/QuickCheck.hs	2016-01-21 14:13:34.534674457 +0800
+@@ -21,12 +21,6 @@
+ import Control.Applicative
+ import Prelude
+ 
+-instance (Arbitrary k, Arbitrary v, Eq k, Ord k) => Arbitrary (M.Map k v) where
+-	arbitrary = M.fromList <$> arbitrary
+-
+-instance (Arbitrary v, Eq v, Ord v) => Arbitrary (S.Set v) where
+-	arbitrary = S.fromList <$> arbitrary
+-
+ {- Times before the epoch are excluded. -}
+ instance Arbitrary POSIXTime where
+ 	arbitrary = fromInteger <$> nonNegative arbitrarySizedIntegral



More information about the arch-commits mailing list