osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-text-ansi revision:4, using keep-link

OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-text-ansi?expand=0&rev=6
This commit is contained in:
Peter Simons 2023-10-13 21:01:01 +00:00 committed by Git OBS Bridge
parent 957a11bc39
commit 6752c02321
5 changed files with 14 additions and 67 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu Oct 12 16:00:38 UTC 2023 - Peter Simons <psimons@suse.com>
- Update text-ansi to version 0.3.0.1.
Upstream has edited the change log file since the last release in
a non-trivial way, i.e. they did more than just add a new entry
at the top. You can review the file at:
http://hackage.haskell.org/package/text-ansi-0.3.0.1/src/CHANGELOG.md
-------------------------------------------------------------------
Wed Oct 11 01:14:52 UTC 2023 - Peter Simons <psimons@suse.com>

View File

@ -19,13 +19,12 @@
%global pkg_name text-ansi
%global pkgver %{pkg_name}-%{version}
Name: ghc-%{pkg_name}
Version: 0.3.0
Version: 0.3.0.1
Release: 0
Summary: Text styling for ANSI terminals
License: BSD-3-Clause
URL: https://hackage.haskell.org/package/%{pkg_name}
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: ghc-Cabal-devel
BuildRequires: ghc-base-devel
BuildRequires: ghc-base-prof
@ -38,7 +37,7 @@ ExcludeArch: %{ix86}
%description
Text styling for ANSI terminals using SGR codes, as defined by the
<https://www.ecma-international.org/publications/files/ECMA-ST/Ecma-048.pdf
<https://www.ecma-international.org/publications-and-standards/standards/ecma-48
ECMA-48> standard.
Supports foreground/background color, bold/faint intensity, italic,
@ -76,7 +75,6 @@ This package provides the Haskell %{pkg_name} profiling library.
%prep
%autosetup -n %{pkg_name}-%{version}
cp -p %{SOURCE1} %{pkg_name}.cabal
%build
%ghc_lib_build

3
text-ansi-0.3.0.1.tar.gz Normal file
View File

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

View File

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

View File

@ -1,60 +0,0 @@
cabal-version: 2.2
name: text-ansi
version: 0.3.0
x-revision: 1
category: Data
synopsis: Text styling for ANSI terminals.
description:
Text styling for ANSI terminals using SGR codes, as defined by the
<https://www.ecma-international.org/publications/files/ECMA-ST/Ecma-048.pdf ECMA-48>
standard.
.
Supports foreground\/background color, bold\/faint intensity, italic,
single\/double underline, strikethrough, frame, encircle, and overline escape
sequences. Some styles may not work on your terminal.
.
Also features terminal detection, so redirecting styled output to a file will
automatically strip the ANSI escape sequences.
author: Mitchell Rosen, Travis Staton
maintainer: Mitchell Rosen <mitchellwrosen@gmail.com>, Travis Staton <hello@travisstaton.com>
homepage: https://github.com/awkward-squad/text-ansi
bug-reports: https://github.com/awkward-squad/text-ansi/issues
copyright: (c) 2018-2023 Mitchell Rosen, Travis Staton
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
tested-with: GHC == 9.4.7, GHC == 9.6.3, GHC == 9.8.1
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: git://github.com/awkward-squad/text-ansi.git
library
build-depends:
base ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19,
text >= 1.0 && < 2.2,
text-builder-linear ^>= 0.1.1,
default-language:
Haskell2010
exposed-modules:
String.ANSI
Text.ANSI
Text.Builder.ANSI
Text.Lazy.Builder.ANSI
ghc-options:
-Weverything
-Wno-implicit-prelude
-Wno-missing-import-lists
-Wno-missing-local-signatures
-Wno-unsafe
if impl(ghc >= 8.10)
ghc-options:
-Wno-missing-safe-haskell-mode
-Wno-prepositive-qualified-module
hs-source-dirs:
src