From 85a91cca9ca6e04477803375f074981701a2d2d596259d21b1c29a48ba7c5857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 9 Nov 2021 08:31:50 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-blaze-markup revision:18, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-blaze-markup?expand=0&rev=66 --- blaze-markup.cabal | 80 ++++++++++++++++++++++++++++++++++++++++ ghc-blaze-markup.changes | 6 +++ ghc-blaze-markup.spec | 2 + 3 files changed, 88 insertions(+) create mode 100644 blaze-markup.cabal diff --git a/blaze-markup.cabal b/blaze-markup.cabal new file mode 100644 index 0000000..82507d1 --- /dev/null +++ b/blaze-markup.cabal @@ -0,0 +1,80 @@ +Name: blaze-markup +Version: 0.8.2.8 +x-revision: 1 +Homepage: http://jaspervdj.be/blaze +Bug-Reports: http://github.com/jaspervdj/blaze-markup/issues +License: BSD3 +License-file: LICENSE +Author: Jasper Van der Jeugt, Simon Meier, Deepak Jois +Maintainer: Jasper Van der Jeugt +Stability: Experimental +Category: Text +Synopsis: A blazingly fast markup combinator library for Haskell +Description: + Core modules of a blazingly fast markup combinator library for the Haskell + programming language. The Text.Blaze module is a good + starting point, as well as this tutorial: + . + +Build-type: Simple +Cabal-version: >= 1.10 +Tested-with: GHC == 7.8.4, GHC == 7.10.3, + GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4, + GHC == 8.6.5, GHC == 8.8.4, GHC == 8.10.4, + GHC == 9.0.1, GHC == 9.2.1 + +Extra-source-files: + CHANGELOG + +Library + Hs-source-dirs: src + Ghc-Options: -Wall + Default-language: Haskell2010 + + Exposed-modules: + Text.Blaze + Text.Blaze.Internal + Text.Blaze.Renderer.Pretty + Text.Blaze.Renderer.String + Text.Blaze.Renderer.Text + Text.Blaze.Renderer.Utf8 + + Build-depends: + base >= 4 && < 4.17, + blaze-builder >= 0.3 && < 0.5, + text >= 0.10 && < 1.3, + bytestring >= 0.9 && < 0.12 + +Test-suite blaze-markup-tests + Type: exitcode-stdio-1.0 + Hs-source-dirs: src tests + Main-is: TestSuite.hs + Ghc-options: -Wall + Default-language: Haskell2010 + + Other-modules: + Text.Blaze + Text.Blaze.Internal + Text.Blaze.Renderer.Pretty + Text.Blaze.Renderer.String + Text.Blaze.Renderer.Text + Text.Blaze.Renderer.Utf8 + Text.Blaze.Tests + Text.Blaze.Tests.Util + + Build-depends: + HUnit >= 1.2 && < 1.7, + QuickCheck >= 2.7 && < 2.15, + containers >= 0.3 && < 0.7, + tasty >= 1.0 && < 1.5, + tasty-hunit >= 0.10 && < 0.11, + tasty-quickcheck >= 0.10 && < 0.11, + -- Copied from regular dependencies... + base >= 4 && < 4.17, + blaze-builder >= 0.3 && < 0.5, + text >= 0.10 && < 1.3, + bytestring >= 0.9 && < 0.12 + +Source-repository head + Type: git + Location: http://github.com/jaspervdj/blaze-markup diff --git a/ghc-blaze-markup.changes b/ghc-blaze-markup.changes index 975b004..71a0c8d 100644 --- a/ghc-blaze-markup.changes +++ b/ghc-blaze-markup.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 1 08:31:25 UTC 2021 - psimons@suse.com + +- Update blaze-markup to version 0.8.2.8 revision 1. + Upstream has revised the Cabal build instructions on Hackage. + ------------------------------------------------------------------- Thu Mar 4 18:18:59 UTC 2021 - psimons@suse.com diff --git a/ghc-blaze-markup.spec b/ghc-blaze-markup.spec index 997e6a3..86272b3 100644 --- a/ghc-blaze-markup.spec +++ b/ghc-blaze-markup.spec @@ -25,6 +25,7 @@ Summary: A blazingly fast markup combinator library for Haskell License: BSD-3-Clause 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-blaze-builder-devel BuildRequires: ghc-bytestring-devel @@ -57,6 +58,7 @@ This package provides the Haskell %{pkg_name} library development files. %prep %autosetup -n %{pkg_name}-%{version} +cp -p %{SOURCE1} %{pkg_name}.cabal %build %ghc_lib_build