Accepting request 857713 from devel:languages:haskell

update haskell stack in openSUSE

OBS-URL: https://build.opensuse.org/request/show/857713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-doctemplates?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2020-12-22 10:50:36 +00:00 committed by Git OBS Bridge
commit c6861e4369
4 changed files with 50 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f463b2309e19918a58b1e53740bee4b98ab274549e49e4455dce824b49adbe93
size 26780

3
doctemplates-0.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:da262ec09d0689c27a79589d2abecb03609ef3925a4dde3b70012682d4441011
size 27366

View File

@ -1,3 +1,48 @@
-------------------------------------------------------------------
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
- disable %{ix86} build
-------------------------------------------------------------------
Thu Dec 17 10:46:40 UTC 2020 - psimons@suse.com
- Update doctemplates to version 0.9.
## 0.9
* Add BoolVal constructor to Val. This gives a smoother
interface with JSON and YAML. [API change]
* Remove overlapping instances by generalizing
`ToContext String String` and `FromContext String String`
to `TemplateTarget [a] => ToContext [a] [a]` and
`TemplateTarget [a] => FromContext [a] [a]`.
Remove the instance `ToContext String (Doc String)`.
Remove redundant constraints. (#9, favonia) [API change]
-------------------------------------------------------------------
Tue Dec 1 08:09:40 UTC 2020 - psimons@suse.com
- Update doctemplates to version 0.8.3.
## 0.8.3
* Properly handle nested loops (#15). Previously "it" was
always used for the variable in a loop, and in a nested loop
there was no way to distinguish the value of the inner
iteration from the value of the outer one. Now we assign
the iterated value to both "it" and to the original variable
name (e.g. "foo.bar"). This probably has a small negative
performance impact. Note that this change also affects
the output of the template parser: original variable
names are now retained instead of being replaced by "it".
* Remove duplicate IsString constraint (#14, Mario Lang).
* Update haddocks from README (#10).
* Minor code clean-ups (#7, favonia).
* Add hsyaml >= 0.2 constraint (#6).
-------------------------------------------------------------------
Tue Aug 18 10:44:41 UTC 2020 - Peter Simons <psimons@suse.com>

View File

@ -19,7 +19,7 @@
%global pkg_name doctemplates
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.8.2
Version: 0.9
Release: 0
Summary: Pandoc-style document templates
License: BSD-3-Clause
@ -40,6 +40,7 @@ BuildRequires: ghc-text-conversions-devel
BuildRequires: ghc-text-devel
BuildRequires: ghc-unordered-containers-devel
BuildRequires: ghc-vector-devel
ExcludeArch: %{ix86}
%if %{with tests}
BuildRequires: ghc-Glob-devel
BuildRequires: ghc-bytestring-devel