From 259c20503447fb36118e9c4db710ecac6c7b95a50a16da005f49b7361b7a0244 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 5 Sep 2018 01:01:15 +0000 Subject: [PATCH 1/3] osc copypac from project:devel:languages:haskell:ghc-8.4.x package:ghc-either revision:9, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-either?expand=0&rev=35 --- either.cabal | 67 +++++++++++++++++++++++++++++++++++++++++++++++++ ghc-either.spec | 2 ++ 2 files changed, 69 insertions(+) create mode 100644 either.cabal diff --git a/either.cabal b/either.cabal new file mode 100644 index 0000000..84d70b3 --- /dev/null +++ b/either.cabal @@ -0,0 +1,67 @@ +name: either +category: Control, Monads +version: 5.0.1 +x-revision: 1 +license: BSD3 +cabal-version: >= 1.10 +license-file: LICENSE +author: Edward A. Kmett +maintainer: Edward A. Kmett +stability: provisional +homepage: http://github.com/ekmett/either/ +bug-reports: http://github.com/ekmett/either/issues +copyright: Copyright (C) 2008-2017 Edward A. Kmett +synopsis: Combinators for working with sums +description: Combinators for working with sums. +build-type: Simple +tested-with: GHC == 7.0.4 + , GHC == 7.2.2 + , GHC == 7.4.2 + , GHC == 7.6.3 + , GHC == 7.8.4 + , GHC == 7.10.3 + , GHC == 8.0.2 + , GHC == 8.2.2 + , GHC == 8.4.3 + , GHC == 8.6.1 +extra-source-files: + .gitignore + .ghci + .vim.custom + .travis.yml + CHANGELOG.markdown + README.markdown + +source-repository head + type: git + location: git://github.com/ekmett/either.git + +library + build-depends: + base >= 4 && < 5, + bifunctors >= 4 && < 6, + mtl >= 2.0 && < 2.3, + profunctors >= 4 && < 6, + semigroups >= 0.8.3.1 && < 1, + semigroupoids >= 4 && < 6 + + other-extensions: CPP Rank2Types + ghc-options: -Wall + hs-source-dirs: src + default-language: Haskell2010 + exposed-modules: + Data.Either.Combinators + Data.Either.Validation + +test-suite tests + ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N + type: exitcode-stdio-1.0 + main-is: Main.hs + hs-source-dirs: tests + build-depends: + base, + either, + test-framework >= 0.8.1.1 && < 0.9, + test-framework-quickcheck2 >= 0.3.0.3 && < 0.4, + QuickCheck >= 2.9 && < 2.13 + default-language: Haskell2010 diff --git a/ghc-either.spec b/ghc-either.spec index e28bebf..d893931 100644 --- a/ghc-either.spec +++ b/ghc-either.spec @@ -26,6 +26,7 @@ License: BSD-3-Clause Group: Development/Libraries/Haskell URL: https://hackage.haskell.org/package/%{pkg_name} Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz +Source1: https://hackage.haskell.org/package/%{pkg_name}-%{version}/revision/1.cabal#/%{pkg_name}.cabal BuildRequires: ghc-Cabal-devel BuildRequires: ghc-bifunctors-devel BuildRequires: ghc-mtl-devel @@ -55,6 +56,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %setup -q -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build From f2f3c899aff9a7d0c0ea606bce2554533224179345ee21f331ebda1e955526f4 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 18 Oct 2018 09:48:49 +0000 Subject: [PATCH 2/3] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-either revision:2, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-either?expand=0&rev=36 --- ghc-either.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc-either.spec b/ghc-either.spec index d893931..53f2878 100644 --- a/ghc-either.spec +++ b/ghc-either.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # From 4543b7e96ca064a105f508888f16155234b50f6242097fd44f2371c4c2e175d0 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 20 Oct 2018 11:35:19 +0000 Subject: [PATCH 3/3] osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-either revision:3, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-either?expand=0&rev=37 --- ghc-either.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ghc-either.changes b/ghc-either.changes index 8fbecec..056d2a8 100644 --- a/ghc-either.changes +++ b/ghc-either.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Sat Oct 20 11:24:50 UTC 2018 - Peter Simons + +- Update Cabal build instructions to support ghc-8.6.1. + ------------------------------------------------------------------- Wed Jul 18 14:26:23 UTC 2018 - psimons@suse.com