osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-blaze-markup revision:10, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-blaze-markup?expand=0&rev=78
This commit is contained in:
Peter Simons 2023-09-30 21:00:50 +00:00 committed by Git OBS Bridge
parent a4c2064068
commit 343dbce8bd
3 changed files with 99 additions and 0 deletions

91
blaze-markup.cabal Normal file
View File

@ -0,0 +1,91 @@
Cabal-version: >= 1.10
Name: blaze-markup
Version: 0.8.3.0
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 <m@jaspervdj.be>
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:
<http://jaspervdj.be/blaze/tutorial.html>.
Build-type: Simple
Tested-with:
GHC == 9.8.0
GHC == 9.6.3
GHC == 9.4.7
GHC == 9.2.8
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
GHC == 7.10.3
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 && < 5
, blaze-builder >= 0.3 && < 0.5
, text >= 0.10 && < 2.2
, bytestring >= 0.9 && < 0.13
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:
-- Copied from regular dependencies...
base
, blaze-builder
, text
, bytestring
-- Extra dependencies
, HUnit >= 1.2 && < 1.7
, QuickCheck >= 2.7 && < 2.15
, containers >= 0.3 && < 0.8
, tasty >= 1.0 && < 1.6
, tasty-hunit >= 0.10 && < 0.11
, tasty-quickcheck >= 0.10 && < 0.11
Source-repository head
Type: git
Location: http://github.com/jaspervdj/blaze-markup

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 29 13:25:54 UTC 2023 - Peter Simons <psimons@suse.com>
- Update blaze-markup to version 0.8.3.0 revision 1.
Upstream has revised the Cabal build instructions on Hackage.
-------------------------------------------------------------------
Mon Sep 25 11:44:33 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -26,6 +26,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-base-devel
BuildRequires: ghc-base-prof
@ -85,6 +86,7 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build