Accepting request 1188622 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/1188622 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-blaze-html?expand=0&rev=26
This commit is contained in:
commit
21fba3dbeb
111
blaze-html.cabal
Normal file
111
blaze-html.cabal
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
Cabal-version: >= 1.10
|
||||||
|
Name: blaze-html
|
||||||
|
Version: 0.9.2.0
|
||||||
|
x-revision: 1
|
||||||
|
Homepage: http://jaspervdj.be/blaze
|
||||||
|
Bug-Reports: http://github.com/jaspervdj/blaze-html/issues
|
||||||
|
License: BSD3
|
||||||
|
License-file: LICENSE
|
||||||
|
Author: Jasper Van der Jeugt, Simon Meier
|
||||||
|
Maintainer: Jasper Van der Jeugt <m@jaspervdj.be>
|
||||||
|
Stability: Experimental
|
||||||
|
Category: Text
|
||||||
|
Synopsis: A blazingly fast HTML combinator library for Haskell
|
||||||
|
Description:
|
||||||
|
A blazingly fast HTML 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.10.1
|
||||||
|
GHC == 9.8.2
|
||||||
|
GHC == 9.6.6
|
||||||
|
GHC == 9.4.8
|
||||||
|
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
|
||||||
|
|
||||||
|
Extra-source-files:
|
||||||
|
CHANGELOG
|
||||||
|
src/Util/Sanitize.hs
|
||||||
|
src/Util/GenerateHtmlCombinators.hs
|
||||||
|
|
||||||
|
Library
|
||||||
|
Hs-source-dirs: src
|
||||||
|
Ghc-Options: -Wall
|
||||||
|
Default-language: Haskell98
|
||||||
|
|
||||||
|
Exposed-modules:
|
||||||
|
Text.Blaze.Html
|
||||||
|
Text.Blaze.Html.Renderer.Pretty
|
||||||
|
Text.Blaze.Html.Renderer.String
|
||||||
|
Text.Blaze.Html.Renderer.Text
|
||||||
|
Text.Blaze.Html.Renderer.Utf8
|
||||||
|
Text.Blaze.Html4.FrameSet
|
||||||
|
Text.Blaze.Html4.FrameSet.Attributes
|
||||||
|
Text.Blaze.Html4.Strict
|
||||||
|
Text.Blaze.Html4.Strict.Attributes
|
||||||
|
Text.Blaze.Html4.Transitional
|
||||||
|
Text.Blaze.Html4.Transitional.Attributes
|
||||||
|
Text.Blaze.Html5
|
||||||
|
Text.Blaze.Html5.Attributes
|
||||||
|
Text.Blaze.XHtml1.FrameSet
|
||||||
|
Text.Blaze.XHtml1.FrameSet.Attributes
|
||||||
|
Text.Blaze.XHtml1.Strict
|
||||||
|
Text.Blaze.XHtml1.Strict.Attributes
|
||||||
|
Text.Blaze.XHtml1.Transitional
|
||||||
|
Text.Blaze.XHtml1.Transitional.Attributes
|
||||||
|
Text.Blaze.XHtml5
|
||||||
|
Text.Blaze.XHtml5.Attributes
|
||||||
|
|
||||||
|
Build-depends:
|
||||||
|
base >= 4 && < 5,
|
||||||
|
blaze-builder >= 0.3 && < 0.5,
|
||||||
|
blaze-markup >= 0.8 && < 0.9,
|
||||||
|
bytestring >= 0.9 && < 0.13,
|
||||||
|
text >= 0.10 && < 2.2
|
||||||
|
|
||||||
|
Test-suite blaze-html-tests
|
||||||
|
Type: exitcode-stdio-1.0
|
||||||
|
Hs-source-dirs: src tests
|
||||||
|
Main-is: TestSuite.hs
|
||||||
|
Ghc-options: -Wall
|
||||||
|
Default-language: Haskell98
|
||||||
|
|
||||||
|
Other-modules:
|
||||||
|
Text.Blaze.Html
|
||||||
|
Text.Blaze.Html.Renderer.String
|
||||||
|
Text.Blaze.Html.Renderer.Text
|
||||||
|
Text.Blaze.Html.Renderer.Utf8
|
||||||
|
Text.Blaze.Html.Tests
|
||||||
|
Text.Blaze.Html.Tests.Util
|
||||||
|
Text.Blaze.Html5
|
||||||
|
Text.Blaze.Html5.Attributes
|
||||||
|
Util.Sanitize
|
||||||
|
Util.Tests
|
||||||
|
|
||||||
|
Build-depends:
|
||||||
|
HUnit >= 1.2 && < 1.7,
|
||||||
|
QuickCheck >= 2.4 && < 3,
|
||||||
|
containers >= 0.3 && < 0.8,
|
||||||
|
test-framework >= 0.4 && < 0.9,
|
||||||
|
test-framework-hunit >= 0.3 && < 0.4,
|
||||||
|
test-framework-quickcheck2 >= 0.3 && < 0.4,
|
||||||
|
-- Copied from regular dependencies...
|
||||||
|
base >= 4 && < 5,
|
||||||
|
blaze-builder >= 0.3 && < 0.5,
|
||||||
|
blaze-markup >= 0.8 && < 0.9,
|
||||||
|
bytestring >= 0.9 && < 0.13,
|
||||||
|
text >= 0.10 && < 2.2
|
||||||
|
|
||||||
|
Source-repository head
|
||||||
|
Type: git
|
||||||
|
Location: http://github.com/jaspervdj/blaze-html.git
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 4 12:14:36 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update blaze-html to version 0.9.2.0 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 6 08:07:25 UTC 2024 - Peter Simons <psimons@suse.com>
|
Wed Mar 6 08:07:25 UTC 2024 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ Summary: A blazingly fast HTML combinator library for Haskell
|
|||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
URL: https://hackage.haskell.org/package/%{pkg_name}
|
URL: https://hackage.haskell.org/package/%{pkg_name}
|
||||||
Source0: https://hackage.haskell.org/package/%{pkg_name}-%{version}/%{pkg_name}-%{version}.tar.gz
|
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-Cabal-devel
|
||||||
BuildRequires: ghc-base-devel
|
BuildRequires: ghc-base-devel
|
||||||
BuildRequires: ghc-base-prof
|
BuildRequires: ghc-base-prof
|
||||||
@ -87,6 +88,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{pkg_name}-%{version}
|
%autosetup -n %{pkg_name}-%{version}
|
||||||
|
cp -p %{SOURCE1} %{pkg_name}.cabal
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%ghc_lib_build
|
%ghc_lib_build
|
||||||
|
Loading…
Reference in New Issue
Block a user