[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Sunday, March 15, 2020 @ 10:59:07 Author: felixonmars Revision: 597766 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 597765, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 597765, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 597765, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2020-03-15 10:59:07 UTC (rev 597766) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 597765, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-03-15 10:59:07 UTC (rev 597766) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=28 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE"
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Sunday, March 1, 2020 @ 11:03:07 Author: felixonmars Revision: 587450 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 587449, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 587449, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 587449, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2020-03-01 11:03:07 UTC (rev 587450) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 587449, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-03-01 11:03:07 UTC (rev 587450) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=25 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE"
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Thursday, February 27, 2020 @ 10:17:53 Author: felixonmars Revision: 583792 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 583791, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 583791, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 583791, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2020-02-27 10:17:53 UTC (rev 583792) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 583791, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-27 10:17:53 UTC (rev 583792) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=21 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LIC
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Tuesday, February 25, 2020 @ 11:52:31 Author: felixonmars Revision: 581152 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 581151, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 581151, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 581151, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2020-02-25 11:52:31 UTC (rev 581152) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 581151, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-25 11:52:31 UTC (rev 581152) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=20 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICE
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Saturday, February 15, 2020 @ 21:34:23 Author: felixonmars Revision: 571869 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 571868, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 571868, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 571868, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2020-02-15 21:34:23 UTC (rev 571869) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 571868, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-15 21:34:23 UTC (rev 571869) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=19 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LIC
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Monday, February 10, 2020 @ 20:13:19 Author: felixonmars Revision: 566228 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 566227, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 566227, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 566227, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2020-02-10 20:13:19 UTC (rev 566228) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 566227, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-10 20:13:19 UTC (rev 566228) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=18 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICEN
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Tuesday, February 4, 2020 @ 16:59:28 Author: felixonmars Revision: 562086 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 562085, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 562085, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 562085, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2020-02-04 16:59:28 UTC (rev 562086) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 562085, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-02-04 16:59:28 UTC (rev 562086) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=16 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICEN
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Wednesday, January 29, 2020 @ 09:29:25 Author: felixonmars Revision: 558499 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 558498, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 558498, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 558498, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2020-01-29 09:29:25 UTC (rev 558499) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 558498, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-29 09:29:25 UTC (rev 558499) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=15 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LIC
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Monday, January 27, 2020 @ 22:33:37 Author: felixonmars Revision: 556577 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 556576, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 556576, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 556576, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2020-01-27 22:33:37 UTC (rev 556577) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 556576, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-27 22:33:37 UTC (rev 556577) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=14 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENS
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Thursday, January 9, 2020 @ 11:07:47 Author: felixonmars Revision: 550990 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 550989, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 550989, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 550989, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2020-01-09 11:07:47 UTC (rev 550990) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 550989, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-09 11:07:47 UTC (rev 550990) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=13 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICEN
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Saturday, January 4, 2020 @ 09:22:47 Author: felixonmars Revision: 547852 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 547851, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 547851, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 547851, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2020-01-04 09:22:47 UTC (rev 547852) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 547851, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-04 09:22:47 UTC (rev 547852) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=12 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICEN
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Wednesday, January 1, 2020 @ 09:22:35 Author: felixonmars Revision: 545818 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 545817, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 545817, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 545817, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2020-01-01 09:22:35 UTC (rev 545818) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 545817, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-01 09:22:35 UTC (rev 545818) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=11 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICE
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Sunday, December 29, 2019 @ 22:35:55 Author: felixonmars Revision: 544051 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 544050, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 544050, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 544050, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-12-29 22:35:55 UTC (rev 544051) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 544050, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-12-29 22:35:55 UTC (rev 544051) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=9 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENS
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Wednesday, December 25, 2019 @ 08:53:05 Author: felixonmars Revision: 540631 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 540630, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 540630, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 540630, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-12-25 08:53:05 UTC (rev 540631) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 540630, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-12-25 08:53:05 UTC (rev 540631) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=8 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LIC
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Monday, December 23, 2019 @ 11:46:05 Author: felixonmars Revision: 539077 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 539076, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 539076, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 539076, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-12-23 11:46:05 UTC (rev 539077) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 539076, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-12-23 11:46:05 UTC (rev 539077) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=7 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENS
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Monday, September 2, 2019 @ 03:36:50 Author: felixonmars Revision: 506433 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 506432, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 506432, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 506432, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-09-02 03:36:50 UTC (rev 506433) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 506432, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-09-02 03:36:50 UTC (rev 506433) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=6 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENS
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Monday, August 26, 2019 @ 07:51:47 Author: felixonmars Revision: 501896 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 501895, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 501895, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 501895, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-08-26 07:51:47 UTC (rev 501896) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 501895, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-08-26 07:51:47 UTC (rev 501896) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=5 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE"
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Wednesday, July 31, 2019 @ 16:47:47 Author: felixonmars Revision: 495658 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 495657, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 495657, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 495657, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-07-31 16:47:47 UTC (rev 495658) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 495657, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-07-31 16:47:47 UTC (rev 495658) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=4 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Friday, July 26, 2019 @ 17:26:31 Author: felixonmars Revision: 492905 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 492904, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 492904, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 492904, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-07-26 17:26:31 UTC (rev 492905) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 492904, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-07-26 17:26:31 UTC (rev 492905) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=2 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Wednesday, July 17, 2019 @ 12:47:34 Author: felixonmars Revision: 490209 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 490208, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 490208, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 490208, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-07-17 12:47:34 UTC (rev 490209) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 490208, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-07-17 12:47:34 UTC (rev 490209) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.2 +pkgrel=1 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('d2c92caec8bdf9089483b1f256f17f3d50e066f57eddb630f1831a232c4e33a0d4f55a0f927aa433cd3379283fa2615fd2937941e6847b234ea00b0fbeb46b98') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Sunday, June 30, 2019 @ 09:48:19 Author: felixonmars Revision: 486175 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 486174, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 486174, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 486174, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-06-30 09:48:19 UTC (rev 486175) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 486174, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-06-30 09:48:19 UTC (rev 486175) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.1 +pkgrel=6 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('f7cfdcba317181deb8c1e05e36f98ffcb7bc903cf0216a3c15d93298de64e12a2066ba6640ac66ec450aad495172b1ada56ddc97555c9939a03d5e575da9bad0') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Saturday, June 8, 2019 @ 17:59:57 Author: felixonmars Revision: 478345 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 478344, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 478344, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 478344, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-06-08 17:59:57 UTC (rev 478345) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 478344, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-06-08 17:59:57 UTC (rev 478345) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.1 +pkgrel=5 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('f7cfdcba317181deb8c1e05e36f98ffcb7bc903cf0216a3c15d93298de64e12a2066ba6640ac66ec450aad495172b1ada56ddc97555c9939a03d5e575da9bad0') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE"
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Thursday, May 30, 2019 @ 07:48:50 Author: felixonmars Revision: 474490 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 474489, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 474489, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 474489, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-05-30 07:48:50 UTC (rev 474490) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 474489, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-05-30 07:48:50 UTC (rev 474490) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.1 +pkgrel=4 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('f7cfdcba317181deb8c1e05e36f98ffcb7bc903cf0216a3c15d93298de64e12a2066ba6640ac66ec450aad495172b1ada56ddc97555c9939a03d5e575da9bad0') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE"
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Tuesday, May 28, 2019 @ 20:48:04 Author: felixonmars Revision: 473072 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 473071, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 473071, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 473071, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-05-28 20:48:04 UTC (rev 473072) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 473071, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-05-28 20:48:04 UTC (rev 473072) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.1 +pkgrel=3 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('f7cfdcba317181deb8c1e05e36f98ffcb7bc903cf0216a3c15d93298de64e12a2066ba6640ac66ec450aad495172b1ada56ddc97555c9939a03d5e575da9bad0') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Monday, May 27, 2019 @ 06:34:43 Author: felixonmars Revision: 470988 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 470987, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 470987, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 50 ++ 2 files changed, 100 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 470987, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-05-27 06:34:43 UTC (rev 470988) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 470987, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-05-27 06:34:43 UTC (rev 470988) @@ -0,0 +1,50 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.13.1 +pkgrel=1 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-splitmix') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('f7cfdcba317181deb8c1e05e36f98ffcb7bc903cf0216a3c15d93298de64e12a2066ba6640ac66ec450aad495172b1ada56ddc97555c9939a03d5e575da9bad0') + +build() { + cd $_hkgname-$pkgver + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" --enable-tests \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +check() { + cd $_hkgname-$pkgver + runhaskell Setup test +} + +package() { + cd $_hkgname-$pkgver + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "$
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Thursday, April 25, 2019 @ 16:25:02 Author: felixonmars Revision: 453966 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 453965, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 453965, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 45 + 2 files changed, 95 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 453965, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-04-25 16:25:02 UTC (rev 453966) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 453965, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-04-25 16:25:02 UTC (rev 453966) @@ -0,0 +1,45 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.12.6.1 +pkgrel=3 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-tf-random') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('bbd11ea7f22af02ad1ab4d59aecc0dc57d3b9d63e42c1a73beff94f645778858fe22d8d8234669c96ce901508b85d3b42b2f7647b81510bcdd9eaada937016c1') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd "$srcdir/$_hkgname-$pkgver" + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Saturday, March 9, 2019 @ 23:38:34 Author: felixonmars Revision: 438743 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 438742, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 438742, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 45 + 2 files changed, 95 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 438742, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-03-09 23:38:34 UTC (rev 438743) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 438742, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-03-09 23:38:34 UTC (rev 438743) @@ -0,0 +1,45 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.12.6.1 +pkgrel=2 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-tf-random') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('bbd11ea7f22af02ad1ab4d59aecc0dc57d3b9d63e42c1a73beff94f645778858fe22d8d8234669c96ce901508b85d3b42b2f7647b81510bcdd9eaada937016c1') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd "$srcdir/$_hkgname-$pkgver" + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$p
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Sunday, January 20, 2019 @ 16:36:15 Author: felixonmars Revision: 425344 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 425343, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 425343, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 45 + 2 files changed, 95 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 425343, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2019-01-20 16:36:15 UTC (rev 425344) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 425343, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-01-20 16:36:15 UTC (rev 425344) @@ -0,0 +1,45 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.12.6.1 +pkgrel=1 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-erf' 'haskell-random' 'haskell-tf-random') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('bbd11ea7f22af02ad1ab4d59aecc0dc57d3b9d63e42c1a73beff94f645778858fe22d8d8234669c96ce901508b85d3b42b2f7647b81510bcdd9eaada937016c1') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd "$srcdir/$_hkgname-$pkgver" + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Sunday, December 9, 2018 @ 23:24:37 Author: felixonmars Revision: 413488 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 413487, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 413487, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 45 + 2 files changed, 95 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 413487, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2018-12-09 23:24:37 UTC (rev 413488) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 413487, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-12-09 23:24:37 UTC (rev 413488) @@ -0,0 +1,45 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.11.3 +pkgrel=7 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('BSD') +arch=('x86_64') +depends=('ghc-libs' 'haskell-random' 'haskell-tf-random') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('17b3c5803cbca980375a1837b4ba931f346be8a720fcc0e37ad2c46abc8ba2073c49635bc89739d34653376c3f7fe1bd39560092c005b8dbce0a7effac25d73d') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd "$srcdir/$_hkgname-$pkgver" + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$pkgdir/usr/share
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Tuesday, November 6, 2018 @ 21:06:25 Author: felixonmars Revision: 402187 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 402186, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 402186, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 45 + 2 files changed, 95 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 402186, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2018-11-06 21:06:25 UTC (rev 402187) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 402186, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-11-06 21:06:25 UTC (rev 402187) @@ -0,0 +1,45 @@ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.11.3 +pkgrel=6 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64') +depends=('ghc-libs' 'haskell-random' 'haskell-tf-random') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('17b3c5803cbca980375a1837b4ba931f346be8a720fcc0e37ad2c46abc8ba2073c49635bc89739d34653376c3f7fe1bd39560092c005b8dbce0a7effac25d73d') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd "$srcdir/$_hkgname-$pkgver" + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$pkgdir/
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Saturday, June 2, 2018 @ 04:47:43 Author: felixonmars Revision: 337071 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 337070, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 337070, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 46 + 2 files changed, 96 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 337070, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2018-06-02 04:47:43 UTC (rev 337071) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 337070, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-06-02 04:47:43 UTC (rev 337071) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.11.3 +pkgrel=3 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64') +depends=('ghc-libs' 'haskell-random' 'haskell-tf-random') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('17b3c5803cbca980375a1837b4ba931f346be8a720fcc0e37ad2c46abc8ba2073c49635bc89739d34653376c3f7fe1bd39560092c005b8dbce0a7effac25d73d') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd "$srcdir/$_hkgname-$pkgver" + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$pk
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Thursday, May 31, 2018 @ 16:06:07 Author: felixonmars Revision: 334906 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 334905, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 334905, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 46 + 2 files changed, 96 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 334905, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2018-05-31 16:06:07 UTC (rev 334906) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 334905, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-31 16:06:07 UTC (rev 334906) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.11.3 +pkgrel=2 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64') +depends=('ghc-libs' 'haskell-random' 'haskell-tf-random') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('17b3c5803cbca980375a1837b4ba931f346be8a720fcc0e37ad2c46abc8ba2073c49635bc89739d34653376c3f7fe1bd39560092c005b8dbce0a7effac25d73d') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd "$srcdir/$_hkgname-$pkgver" + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$pk
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Wednesday, May 16, 2018 @ 15:25:33 Author: felixonmars Revision: 322876 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 322875, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 322875, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 46 + 2 files changed, 96 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 322875, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2018-05-16 15:25:33 UTC (rev 322876) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 322875, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-05-16 15:25:33 UTC (rev 322876) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.10.1 +pkgrel=4 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64') +depends=('ghc-libs' 'haskell-random' 'haskell-tf-random') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('f7399ff66549e4909cca8ef70797f77af6ca6df53604bec4b08780569b9e6f7340a241f797b44fe1b9af4e5e78b5569072779db0f88b366b49acf1e37656d7c1') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd "$srcdir/$_hkgname-$pkgver" + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$p
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Monday, January 22, 2018 @ 20:31:58 Author: felixonmars Revision: 285232 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 285231, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 285231, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 46 + 2 files changed, 96 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 285231, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2018-01-22 20:31:58 UTC (rev 285232) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 285231, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-01-22 20:31:58 UTC (rev 285232) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.10.1 +pkgrel=3 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64') +depends=('ghc-libs' 'haskell-random' 'haskell-tf-random') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('f7399ff66549e4909cca8ef70797f77af6ca6df53604bec4b08780569b9e6f7340a241f797b44fe1b9af4e5e78b5569072779db0f88b366b49acf1e37656d7c1') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd "$srcdir/$_hkgname-$pkgver" + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$
[arch-commits] Commit in haskell-quickcheck/repos (3 files)
Date: Sunday, November 26, 2017 @ 09:18:57 Author: felixonmars Revision: 268860 archrelease: copy trunk to community-staging-x86_64 Added: haskell-quickcheck/repos/community-staging-x86_64/ haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 268859, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 268859, haskell-quickcheck/trunk/PKGBUILD) -+ 0001-update-code-to-support-extensible-exceptions-no-long.patch | 50 ++ PKGBUILD| 46 + 2 files changed, 96 insertions(+) Copied: haskell-quickcheck/repos/community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (from rev 268859, haskell-quickcheck/trunk/0001-update-code-to-support-extensible-exceptions-no-long.patch) === --- community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch (rev 0) +++ community-staging-x86_64/0001-update-code-to-support-extensible-exceptions-no-long.patch 2017-11-26 09:18:57 UTC (rev 268860) @@ -0,0 +1,50 @@ +From 554b8dc1439b4dbb5bc9a853fc27efe7b1e111de Mon Sep 17 00:00:00 2001 +From: Thomas Dziedzic +Date: Tue, 11 Sep 2012 03:59:50 -0700 +Subject: [PATCH] update code to support extensible exceptions no longer being + a part of ghc >= 7.6.1 + +--- + QuickCheck.cabal | 6 +- + Test/QuickCheck/Exception.hs | 6 ++ + 2 files changed, 11 insertions(+), 1 deletion(-) + +diff --git a/QuickCheck.cabal b/QuickCheck.cabal +index 1a9126e..5afd6fb 100644 +--- a/QuickCheck.cabal b/QuickCheck.cabal +@@ -60,9 +60,13 @@ library + Build-depends: ghc + + -- We want to use extensible-exceptions even if linking against base-3. +- if impl(ghc >= 6.9) ++ if impl(ghc >= 6.9) && impl(ghc < 7.6) + Build-depends: extensible-exceptions + ++ -- GHC >= 7.6.1 no longer provides extensible exceptions ++ if impl(ghc >= 7.6) ++cpp-options: -DNEW_EXCEPTIONS ++ + -- Modules that are always built. + Exposed-Modules: + Test.QuickCheck, +diff --git a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +index f895351..d463195 100644 +--- a/Test/QuickCheck/Exception.hs b/Test/QuickCheck/Exception.hs +@@ -18,6 +18,12 @@ module Test.QuickCheck.Exception where + + #if defined(OLD_EXCEPTIONS) + import Control.Exception(evaluate, try, Exception(..), throw) ++#elif defined(NEW_EXCEPTIONS) ++import Control.Exception(evaluate, try, SomeException(SomeException), ErrorCall(..), throw ++#if defined(GHC_INTERRUPT) ++ , AsyncException(UserInterrupt) ++#endif ++ ) + #else + import Control.Exception.Extensible(evaluate, try, SomeException(SomeException), ErrorCall(..), throw + #if defined(GHC_INTERRUPT) +-- +1.7.12 + Copied: haskell-quickcheck/repos/community-staging-x86_64/PKGBUILD (from rev 268859, haskell-quickcheck/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-11-26 09:18:57 UTC (rev 268860) @@ -0,0 +1,46 @@ +# $Id$ +# Maintainer: Alexander F Rødseth +# Contributor: Vesa Kaihlavirta +# Contributor: Arch Haskell Team + +_hkgname=QuickCheck +pkgname=haskell-quickcheck +pkgver=2.10.1 +pkgrel=2 +pkgdesc='Automatic testing of Haskell programs' +url='https://hackage.haskell.org/package/QuickCheck' +license=('custom:BSD3') +arch=('x86_64') +depends=('ghc-libs' 'haskell-random' 'haskell-tf-random') +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz";) +sha512sums=('f7399ff66549e4909cca8ef70797f77af6ca6df53604bec4b08780569b9e6f7340a241f797b44fe1b9af4e5e78b5569072779db0f88b366b49acf1e37656d7c1') + +build() { + cd "$srcdir/$_hkgname-$pkgver" + + runhaskell Setup configure \ +-O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ +--prefix=/usr --docdir="/usr/share/doc/$pkgname" \ +--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ +-ftemplateHaskell + + runhaskell Setup build + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + + sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package() { + cd "$srcdir/$_hkgname-$pkgver" + + install -D -m744 register.sh "$pkgdir/usr/share/haskell/register/$pkgname.sh" + install -D -m744 unregister.sh "$pkgdir/usr/share/haskell/unregister/${pkgname}.sh" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "