Accepting request 607738 from devel:languages:haskell

Update ghc-ansi-terminal to the latest version.

OBS-URL: https://build.opensuse.org/request/show/607738
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ghc-ansi-terminal?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2018-05-30 09:59:11 +00:00 committed by Git OBS Bridge
commit 8998bf37ae
4 changed files with 34 additions and 9 deletions

View File

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

View File

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

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
- Update ansi-terminal to version 0.8.0.4.
* On Windows, `hSupportsANSI` now recognises if the handle is connected to a
'mintty' terminal.
* On Windows, try to enable ANSI on ConHost terminals even if a TERM environment
variable exits (such as with the Hyper 2 terminal)
* Minor improvements to Haddock documentation
* Improve README and Haddock documentation
* On Windows, fix compatability with earlier GHC versions
* Drop support for GHC versions before 6.12.1 (released December 2009)
* On Windows, if the standard output channel is valid but not a ConHost
terminal, assume it is ANSI-enabled rather than failing
* On Windows, output the improved error message to the standard error channel
rather than the standard output channel
* Make the fields of `SGR` strict
* Make compatible with GHC 8.2.2
* Improve the error message on Windows when not ANSI-capable or ConHost
* Recognise Appveyor build environment as ANSI-enabled
`getReportedCursorPosition`: don't let the cursor reporting code be echo'd
* Allow saving, restoring, and querying the current cursor position
* Fix a couple of issues with the Reset emulation on Windows
* Add 24-bit RGB color support
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package ghc-ansi-terminal # spec file for package ghc-ansi-terminal
# #
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# 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
@ -18,7 +18,7 @@
%global pkg_name ansi-terminal %global pkg_name ansi-terminal
Name: ghc-%{pkg_name} Name: ghc-%{pkg_name}
Version: 0.6.3.1 Version: 0.8.0.4
Release: 0 Release: 0
Summary: Simple ANSI terminal support, with Windows compatibility Summary: Simple ANSI terminal support, with Windows compatibility
License: BSD-3-Clause License: BSD-3-Clause
@ -26,13 +26,13 @@ Group: Development/Libraries/Haskell
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
BuildRequires: ghc-Cabal-devel BuildRequires: ghc-Cabal-devel
BuildRequires: ghc-colour-devel
BuildRequires: ghc-rpm-macros BuildRequires: ghc-rpm-macros
%description %description
ANSI terminal support for Haskell: allows cursor movement, screen clearing, ANSI terminal support for Haskell: allows cursor movement, screen clearing,
color output showing or hiding the cursor, and changing the title. color output, showing or hiding the cursor, and changing the title.
Compatible with Windows and those Unixes with ANSI terminals, but only GHC is Works on UNIX and Windows.
supported as a compiler.
%package devel %package devel
Summary: Haskell %{pkg_name} library development files Summary: Haskell %{pkg_name} library development files
@ -61,7 +61,7 @@ This package provides the Haskell %{pkg_name} library development files.
%ghc_pkg_recache %ghc_pkg_recache
%files -f %{name}.files %files -f %{name}.files
%doc LICENSE %license LICENSE
%files devel -f %{name}-devel.files %files devel -f %{name}-devel.files
%doc CHANGELOG.md README.md %doc CHANGELOG.md README.md