forked from pool/ghc-mustache
osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-mustache revision:12, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-mustache?expand=0&rev=49
This commit is contained in:
parent
dab28220bb
commit
e5cf807320
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 12 10:51:15 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
- Update mustache to version 2.3.1 revision 1.
|
||||||
|
Upstream has revised the Cabal build instructions on Hackage.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-mustache
|
# spec file for package ghc-mustache
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -25,6 +25,7 @@ Summary: A mustache template parser library
|
|||||||
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: chrpath
|
BuildRequires: chrpath
|
||||||
BuildRequires: ghc-Cabal-devel
|
BuildRequires: ghc-Cabal-devel
|
||||||
BuildRequires: ghc-aeson-devel
|
BuildRequires: ghc-aeson-devel
|
||||||
@ -76,6 +77,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
|
||||||
|
138
mustache.cabal
Normal file
138
mustache.cabal
Normal file
@ -0,0 +1,138 @@
|
|||||||
|
cabal-version: 1.12
|
||||||
|
|
||||||
|
-- This file has been generated from package.yaml by hpack version 0.31.2.
|
||||||
|
--
|
||||||
|
-- see: https://github.com/sol/hpack
|
||||||
|
--
|
||||||
|
-- hash: 8ffde004ee64f5b057ed66f76bbc72cbb71cdc81dcebe9e822563fdb11a8b338
|
||||||
|
|
||||||
|
name: mustache
|
||||||
|
version: 2.3.1
|
||||||
|
x-revision: 1
|
||||||
|
synopsis: A mustache template parser library.
|
||||||
|
description: Allows parsing and rendering template files with mustache markup. See the
|
||||||
|
mustache <http://mustache.github.io/mustache.5.html language reference>.
|
||||||
|
.
|
||||||
|
Implements the mustache spec version 1.1.3.
|
||||||
|
.
|
||||||
|
/Note/: Versions including and beyond 0.4 are compatible with ghc 7.8 again.
|
||||||
|
category: Development
|
||||||
|
homepage: https://github.com/JustusAdam/mustache
|
||||||
|
bug-reports: https://github.com/JustusAdam/mustache/issues
|
||||||
|
author: Justus Adam
|
||||||
|
maintainer: dev@justus.science
|
||||||
|
copyright: (c) 2015 - 2019 Justus Adam
|
||||||
|
license: BSD3
|
||||||
|
license-file: LICENSE
|
||||||
|
tested-with: GHC>=7.8 && <=7.10.2
|
||||||
|
build-type: Simple
|
||||||
|
extra-source-files:
|
||||||
|
README.md
|
||||||
|
CHANGELOG.md
|
||||||
|
test/unit/examples/test-template-partials.txt.mustache
|
||||||
|
test/unit/examples/test-template.txt.mustache
|
||||||
|
test/unit/examples/partials/test-partial.txt.mustache
|
||||||
|
|
||||||
|
source-repository head
|
||||||
|
type: git
|
||||||
|
location: git://github.com/JustusAdam/mustache.git
|
||||||
|
|
||||||
|
library
|
||||||
|
build-depends: aeson <1.6
|
||||||
|
|
||||||
|
hs-source-dirs:
|
||||||
|
src
|
||||||
|
default-extensions: LambdaCase TupleSections
|
||||||
|
other-extensions: NamedFieldPuns OverloadedStrings LambdaCase TupleSections TemplateHaskell QuasiQuotes
|
||||||
|
ghc-options: -Wall
|
||||||
|
build-depends:
|
||||||
|
aeson
|
||||||
|
, base >=4.7 && <5
|
||||||
|
, bytestring
|
||||||
|
, containers
|
||||||
|
, directory
|
||||||
|
, either
|
||||||
|
, filepath
|
||||||
|
, mtl >=2.2.1
|
||||||
|
, parsec
|
||||||
|
, scientific
|
||||||
|
, template-haskell
|
||||||
|
, text
|
||||||
|
, th-lift
|
||||||
|
, unordered-containers
|
||||||
|
, vector
|
||||||
|
exposed-modules:
|
||||||
|
Text.Mustache
|
||||||
|
Text.Mustache.Types
|
||||||
|
Text.Mustache.Parser
|
||||||
|
Text.Mustache.Compile
|
||||||
|
Text.Mustache.Render
|
||||||
|
other-modules:
|
||||||
|
Text.Mustache.Internal
|
||||||
|
Text.Mustache.Internal.Types
|
||||||
|
Paths_mustache
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
executable haskell-mustache
|
||||||
|
main-is: Main.hs
|
||||||
|
other-modules:
|
||||||
|
Paths_mustache
|
||||||
|
hs-source-dirs:
|
||||||
|
app
|
||||||
|
ghc-options: -threaded -Wall
|
||||||
|
build-depends:
|
||||||
|
aeson
|
||||||
|
, base >=4.7 && <5
|
||||||
|
, bytestring
|
||||||
|
, cmdargs
|
||||||
|
, filepath
|
||||||
|
, mustache
|
||||||
|
, text
|
||||||
|
, yaml
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
test-suite language-specifications
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Language.hs
|
||||||
|
other-modules:
|
||||||
|
Paths_mustache
|
||||||
|
hs-source-dirs:
|
||||||
|
test/integration
|
||||||
|
build-depends:
|
||||||
|
aeson
|
||||||
|
, base >=4.7 && <5
|
||||||
|
, base-unicode-symbols
|
||||||
|
, bytestring
|
||||||
|
, filepath
|
||||||
|
, hspec
|
||||||
|
, lens
|
||||||
|
, mustache
|
||||||
|
, tar
|
||||||
|
, text
|
||||||
|
, unordered-containers
|
||||||
|
, wreq
|
||||||
|
, yaml
|
||||||
|
, zlib
|
||||||
|
default-language: Haskell2010
|
||||||
|
|
||||||
|
test-suite unit-tests
|
||||||
|
type: exitcode-stdio-1.0
|
||||||
|
main-is: Spec.hs
|
||||||
|
other-modules:
|
||||||
|
Paths_mustache
|
||||||
|
hs-source-dirs:
|
||||||
|
test/unit
|
||||||
|
build-depends:
|
||||||
|
aeson
|
||||||
|
, base >=4.7 && <5
|
||||||
|
, bytestring
|
||||||
|
, directory
|
||||||
|
, filepath
|
||||||
|
, hspec
|
||||||
|
, mustache
|
||||||
|
, process
|
||||||
|
, temporary
|
||||||
|
, text
|
||||||
|
, unordered-containers
|
||||||
|
, yaml
|
||||||
|
default-language: Haskell2010
|
Loading…
Reference in New Issue
Block a user