forked from pool/ghc-mustache
Accepting request 953501 from devel:languages:haskell
version update OBS-URL: https://build.opensuse.org/request/show/953501 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-mustache?expand=0&rev=15
This commit is contained in:
commit
31c19a2c4a
@ -1,3 +1,15 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 30 19:32:49 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||||
|
|
||||||
|
- Update mustache to version 2.4.0.
|
||||||
|
## v2.4.0
|
||||||
|
|
||||||
|
- Support for aeson 2
|
||||||
|
|
||||||
|
## v2.3.2
|
||||||
|
|
||||||
|
- Added support for GHC 9.0.1
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 12 10:51:15 UTC 2021 - psimons@suse.com
|
Tue Oct 12 10:51:15 UTC 2021 - psimons@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package ghc-mustache
|
# spec file for package ghc-mustache
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 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
|
||||||
@ -19,13 +19,12 @@
|
|||||||
%global pkg_name mustache
|
%global pkg_name mustache
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
Name: ghc-%{pkg_name}
|
Name: ghc-%{pkg_name}
|
||||||
Version: 2.3.1
|
Version: 2.4.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A mustache template parser library
|
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
|
||||||
@ -33,7 +32,6 @@ BuildRequires: ghc-bytestring-devel
|
|||||||
BuildRequires: ghc-cmdargs-devel
|
BuildRequires: ghc-cmdargs-devel
|
||||||
BuildRequires: ghc-containers-devel
|
BuildRequires: ghc-containers-devel
|
||||||
BuildRequires: ghc-directory-devel
|
BuildRequires: ghc-directory-devel
|
||||||
BuildRequires: ghc-either-devel
|
|
||||||
BuildRequires: ghc-filepath-devel
|
BuildRequires: ghc-filepath-devel
|
||||||
BuildRequires: ghc-mtl-devel
|
BuildRequires: ghc-mtl-devel
|
||||||
BuildRequires: ghc-parsec-devel
|
BuildRequires: ghc-parsec-devel
|
||||||
@ -77,7 +75,6 @@ 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
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ac8bf93d36fc766f54a54b72ddf71d1ab90864ca86bdce3415d2e69823fdb348
|
|
||||||
size 20207
|
|
3
mustache-2.4.0.tar.gz
Normal file
3
mustache-2.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9634b6e405ade382d8f5664f5115b799cce68f818b8b40c5a4a9741f98e3eb3c
|
||||||
|
size 20434
|
138
mustache.cabal
138
mustache.cabal
@ -1,138 +0,0 @@
|
|||||||
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