Accepting request 1218550 from devel:languages:haskell

version update

OBS-URL: https://build.opensuse.org/request/show/1218550
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-doclayout?expand=0&rev=11
This commit is contained in:
Ana Guerrero 2024-10-28 14:18:29 +00:00 committed by Git OBS Bridge
commit 0dd5990522
4 changed files with 41 additions and 6 deletions

View File

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

3
doclayout-0.5.tar.gz Normal file
View File

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

View File

@ -1,3 +1,38 @@
-------------------------------------------------------------------
Mon Sep 9 05:57:29 UTC 2024 - Peter Simons <psimons@suse.com>
- Update doclayout to version 0.5.
## 0.5
* Extract existing HasChars definition into a module
Text.DocLayout.HasChars (Evan Silberman).
* Add a `build` method to the signature of HasChars [API change]
(Evan Silberman). This has a default definition, and is only needed with
the ANSI renderer, so existing users should not need to add anything to
their HasChars instances.
* Introduce support for ANSI-styled output (Evan Silberman) [API change].
`renderPlain` and `renderANSI` are now exported; the old `render`
is a synonym of `renderPlain`. In addition, various functions are
exported to add ANSI formatting (including bold, italics,
underline, strikeout, links, and colors) to a Doc. The Attributed
type is also now exported.
* Change type of Block constructor, replacing `[a]` with `[Attributed a]`,
which carries a Font along with an inner string type [API change]
(Evan Silberman).
* Introduce FlatDocs and use them for rendering (Evan Silberman).
This is an internal concept, not part of the public API.
FlatDoc is an "intermediate representation" for the Doc "interpreter".
The general design is that any Doc can be turned into a list of FlatDocs
that carry equivalent information. The main point of doing this
is to replace the nested Styled and Linked Docs, which form a more
complicated tree structure than previously existed in DocLayout.
* Deprecate `unfoldD`.
-------------------------------------------------------------------
Thu Mar 30 17:06:38 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package ghc-doclayout
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,7 +20,7 @@
%global pkgver %{pkg_name}-%{version}
%bcond_with tests
Name: ghc-%{pkg_name}
Version: 0.4.0.1
Version: 0.5
Release: 0
Summary: A prettyprinting library for laying out text documents
License: BSD-3-Clause
@ -105,9 +105,9 @@ This package provides the Haskell %{pkg_name} profiling library.
%license LICENSE
%dir %{_datadir}/%{pkg_name}-%{version}
%{_datadir}/%{pkg_name}-%{version}/README.md
%{_datadir}/%{pkg_name}-%{version}/changelog.md
%files devel -f %{name}-devel.files
%doc changelog.md
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
%license LICENSE