[arch-commits] Commit in haskell-mono-traversable/trunk (PKGBUILD ghc9.patch)
Felix Yan
felixonmars at gemini.archlinux.org
Thu Sep 16 20:49:45 UTC 2021
Date: Thursday, September 16, 2021 @ 20:49:44
Author: felixonmars
Revision: 1016542
upgpkg: haskell-mono-traversable 1.0.15.2-1: rebuild with mono-traversable 1.0.15.2
Modified:
haskell-mono-traversable/trunk/PKGBUILD
Deleted:
haskell-mono-traversable/trunk/ghc9.patch
------------+
PKGBUILD | 21 +++++----------------
ghc9.patch | 31 -------------------------------
2 files changed, 5 insertions(+), 47 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-16 20:49:05 UTC (rev 1016541)
+++ PKGBUILD 2021-09-16 20:49:44 UTC (rev 1016542)
@@ -3,8 +3,8 @@
_hkgname=mono-traversable
pkgname=haskell-mono-traversable
-pkgver=1.0.15.1
-pkgrel=155
+pkgver=1.0.15.2
+pkgrel=1
pkgdesc="Type classes for mapping, folding, and traversing monomorphic containers"
url="https://github.com/snoyberg/mono-traversable"
license=("MIT")
@@ -11,21 +11,10 @@
arch=('x86_64')
depends=('ghc-libs' 'haskell-hashable' 'haskell-split' 'haskell-unordered-containers'
'haskell-vector' 'haskell-vector-algorithms')
-makedepends=('ghc' 'uusi' 'haskell-hunit' 'haskell-quickcheck' 'haskell-foldl' 'haskell-hspec')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz"
- ghc9.patch)
-sha512sums=('adf1af35b93af0605667d8b033415f318c6dab225499fdd1d9eab349fb1eedca2623c98f9dce83f94ed27db75b6f0aa88027daa748c7b3db05f47f68b505b0c8'
- '5fcbb4021f14a22198f352b3d223a14e3bd420e6b991d17e76db99aea1a89070ad915fe55f80928181588457013e0e542621c9cf6aa875ef382ac6bb861bcbb2')
+makedepends=('ghc' 'haskell-hunit' 'haskell-quickcheck' 'haskell-foldl' 'haskell-hspec')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('28f27b8d625159f99e23c7f693ff20aa7e4eb5ca70f4704593ccc885d5d14e89fbde76973b603a113fe8a416b415905113314b838c12126c1233d97924702701')
-prepare() {
- cd $_hkgname-$pkgver
- # https://github.com/snoyberg/mono-traversable/issues/192
- patch -p2 -i ../ghc9.patch
- sed -i 's/main.hs/Main.hs/;/Spec/d' $_hkgname.cabal
-
- uusi -d semigroups $_hkgname.cabal
-}
-
build() {
cd $_hkgname-$pkgver
Deleted: ghc9.patch
===================================================================
--- ghc9.patch 2021-09-16 20:49:05 UTC (rev 1016541)
+++ ghc9.patch 2021-09-16 20:49:44 UTC (rev 1016542)
@@ -1,31 +0,0 @@
-commit 00c4ed6ed6231d30f211cd83062507448b7ffca4
-Author: Felix Yan <felixonmars at archlinux.org>
-Date: Mon Jun 21 06:01:10 2021 +0800
-
- Fix tests in GHC 9.0
-
- Implements #192
-
-diff --git a/mono-traversable/test/Spec.hs b/mono-traversable/test/Main.hs
-similarity index 99%
-rename from mono-traversable/test/Spec.hs
-rename to mono-traversable/test/Main.hs
-index e8d2357..befda4c 100644
---- a/mono-traversable/test/Spec.hs
-+++ b/mono-traversable/test/Main.hs
-@@ -6,7 +6,7 @@
- {-# LANGUAGE ScopedTypeVariables #-}
- {-# LANGUAGE PatternSynonyms #-}
-
--module Spec where
-+module Main where
-
- import Data.MonoTraversable
- import Data.Containers
-diff --git a/mono-traversable/test/main.hs b/mono-traversable/test/main.hs
-deleted file mode 100644
-index a4754a0..0000000
---- a/mono-traversable/test/main.hs
-+++ /dev/null
-@@ -1 +0,0 @@
--import Spec (main)
More information about the arch-commits
mailing list