forked from pool/ghc-doctemplates
Accepting request 1008457 from devel:languages:haskell
Automatic submission by obs-autosubmit OBS-URL: https://build.opensuse.org/request/show/1008457 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-doctemplates?expand=0&rev=15
This commit is contained in:
commit
45cef27b6d
89
doctemplates.cabal
Normal file
89
doctemplates.cabal
Normal file
@ -0,0 +1,89 @@
|
|||||||
|
name: doctemplates
|
||||||
|
version: 0.10.0.2
|
||||||
|
x-revision: 1
|
||||||
|
synopsis: Pandoc-style document templates
|
||||||
|
description: This is the text templating system used by pandoc.
|
||||||
|
It supports variable interpolation, iteration,
|
||||||
|
tests for non-blank values, pipes, and partials.
|
||||||
|
Templates are rendered to doclayout Docs,
|
||||||
|
and variable values may come from a variety of
|
||||||
|
different sources, including aeson Values.
|
||||||
|
homepage: https://github.com/jgm/doctemplates#readme
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
author: John MacFarlane
|
||||||
|
maintainer: jgm@berkeley.edu
|
||||||
|
copyright: 2016-19 John MacFarlane
|
||||||
|
category: Text
|
||||||
|
build-type: Simple
|
||||||
|
-- extra-source-files:
|
||||||
|
data-files: README.md
|
||||||
|
changelog.md
|
||||||
|
extra-source-files: test/*.test
|
||||||
|
test/*.txt
|
||||||
|
test/*.tex
|
||||||
|
cabal-version: >=1.10
|
||||||
|
|
||||||
|
library
|
||||||
|
hs-source-dirs: src
|
||||||
|
exposed-modules: Text.DocTemplates
|
||||||
|
Text.DocTemplates.Parser
|
||||||
|
Text.DocTemplates.Internal
|
||||||
|
build-depends: base >= 4.9 && < 5,
|
||||||
|
safe,
|
||||||
|
text-conversions,
|
||||||
|
aeson,
|
||||||
|
HsYAML >= 0.2 && < 0.3,
|
||||||
|
text,
|
||||||
|
doclayout >= 0.4 && < 0.5,
|
||||||
|
containers,
|
||||||
|
vector,
|
||||||
|
filepath,
|
||||||
|
parsec,
|
||||||
|
mtl,
|
||||||
|
scientific
|
||||||
|
if !impl(ghc >= 8.0)
|
||||||
|
build-depends: semigroups == 0.18.*
|
||||||
|
default-language: Haskell2010
|
||||||
|
ghc-options: -Wall -fno-warn-unused-do-bind
|
||||||
|
|
||||||
|
test-suite doctemplates-test
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
hs-source-dirs: test
|
||||||
|
main-is: test.hs
|
||||||
|
build-depends: base,
|
||||||
|
doctemplates,
|
||||||
|
doclayout >= 0.4 && < 0.5,
|
||||||
|
containers,
|
||||||
|
aeson,
|
||||||
|
Glob,
|
||||||
|
tasty,
|
||||||
|
tasty-golden,
|
||||||
|
tasty-hunit,
|
||||||
|
filepath,
|
||||||
|
temporary,
|
||||||
|
bytestring,
|
||||||
|
text
|
||||||
|
ghc-options: -threaded -rtsopts -with-rtsopts=-N
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
benchmark doctemplates-bench
|
||||||
|
Type: exitcode-stdio-1.0
|
||||||
|
Main-Is: bench.hs
|
||||||
|
Hs-Source-Dirs: bench
|
||||||
|
Build-Depends: doctemplates,
|
||||||
|
doclayout >= 0.4 && < 0.5,
|
||||||
|
base >= 4.8 && < 5,
|
||||||
|
criterion >= 1.0,
|
||||||
|
filepath,
|
||||||
|
aeson,
|
||||||
|
text,
|
||||||
|
containers,
|
||||||
|
mtl
|
||||||
|
Ghc-Options: -rtsopts -Wall -fno-warn-unused-do-bind
|
||||||
|
Default-Language: Haskell2010
|
||||||
|
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: https://github.com/jgm/doctemplates
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Aug 13 17:48:02 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update doctemplates to version 0.10.0.2 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 4 06:09:35 UTC 2022 - Peter Simons <psimons@suse.com>
|
Mon Apr 4 06:09:35 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
@ -25,6 +25,7 @@ Summary: Pandoc-style document templates
|
|||||||
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-HsYAML-devel
|
BuildRequires: ghc-HsYAML-devel
|
||||||
BuildRequires: ghc-aeson-devel
|
BuildRequires: ghc-aeson-devel
|
||||||
@ -67,6 +68,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
|||||||
|
|
||||||
%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…
x
Reference in New Issue
Block a user