osc copypac from project:devel:languages:haskell:ghc-9.4.x package:ghc-pretty-simple revision:8, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-pretty-simple?expand=0&rev=13
This commit is contained in:
parent
27db55e10b
commit
8e2437baef
@ -1,3 +1,46 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 15 22:17:49 UTC 2022 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update pretty-simple to version 4.1.2.0.
|
||||
## 4.1.2.0
|
||||
|
||||
* Fix a problem with the `pHPrint` function incorrectly
|
||||
outputting a trailing newline to stdout, instead of the
|
||||
handle you pass it.
|
||||
[#118](https://github.com/cdepillabout/pretty-simple/pull/118)
|
||||
* Add a [web app](https://cdepillabout.github.io/pretty-simple/) where you
|
||||
can play around with `pretty-simple` in your browser.
|
||||
[#116](https://github.com/cdepillabout/pretty-simple/pull/116).
|
||||
This took a lot of hard work by [@georgefst](https://github.com/georgefst)!
|
||||
|
||||
## 4.1.1.0
|
||||
|
||||
* Make the pretty-printed output with `outputOptionsCompact` enabled a little
|
||||
more compact.
|
||||
[#110](https://github.com/cdepillabout/pretty-simple/pull/110).
|
||||
Thanks [@juhp](https://github.com/juhp)!
|
||||
* Add a `--compact` / `-C` flag to the `pretty-simple` executable that enables
|
||||
`outputOptionsCompact`.
|
||||
[#111](https://github.com/cdepillabout/pretty-simple/pull/111).
|
||||
Thanks again @juhp!
|
||||
* Add `pTraceWith` and `pTraceShowWith` to `Debug.Pretty.Simple`.
|
||||
[#104](https://github.com/cdepillabout/pretty-simple/pull/104).
|
||||
Thanks [@LeviButcher](https://github.com/LeviButcher)!
|
||||
|
||||
## 4.1.0.0
|
||||
|
||||
* Fix a regression which arose in 4.0, whereby excess spaces would be inserted for unusual strings like dates and IP addresses.
|
||||
[#105](https://github.com/cdepillabout/pretty-simple/pull/105)
|
||||
* Attach warnings to debugging functions, so that they're easy to find and remove.
|
||||
[#103](https://github.com/cdepillabout/pretty-simple/pull/103)
|
||||
* Some minor improvements to the CLI tool:
|
||||
* Add a `--version`/`-v` flag.
|
||||
[#83](https://github.com/cdepillabout/pretty-simple/pull/83)
|
||||
* Add a trailing newline.
|
||||
[#87](https://github.com/cdepillabout/pretty-simple/pull/87)
|
||||
* Install by default, without requiring a flag.
|
||||
[#94](https://github.com/cdepillabout/pretty-simple/pull/94)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 17 12:20:00 UTC 2020 - Ondřej Súkup <mimi.vx@gmail.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ghc-pretty-simple
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,29 +17,47 @@
|
||||
|
||||
|
||||
%global pkg_name pretty-simple
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
%bcond_with tests
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 4.0.0.0
|
||||
Version: 4.1.2.0
|
||||
Release: 0
|
||||
Summary: Pretty printer for data types with a 'Show' instance
|
||||
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
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-Cabal-prof
|
||||
BuildRequires: ghc-base-devel
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-cabal-doctest-devel
|
||||
BuildRequires: ghc-cabal-doctest-prof
|
||||
BuildRequires: ghc-containers-devel
|
||||
BuildRequires: ghc-containers-prof
|
||||
BuildRequires: ghc-mtl-devel
|
||||
BuildRequires: ghc-mtl-prof
|
||||
BuildRequires: ghc-optparse-applicative-devel
|
||||
BuildRequires: ghc-optparse-applicative-prof
|
||||
BuildRequires: ghc-prettyprinter-ansi-terminal-devel
|
||||
BuildRequires: ghc-prettyprinter-ansi-terminal-prof
|
||||
BuildRequires: ghc-prettyprinter-devel
|
||||
BuildRequires: ghc-prettyprinter-prof
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-text-devel
|
||||
BuildRequires: ghc-text-prof
|
||||
BuildRequires: ghc-transformers-devel
|
||||
BuildRequires: ghc-transformers-prof
|
||||
ExcludeArch: %{ix86}
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-Glob-devel
|
||||
BuildRequires: ghc-Glob-prof
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-QuickCheck-prof
|
||||
BuildRequires: ghc-doctest-devel
|
||||
BuildRequires: ghc-doctest-prof
|
||||
BuildRequires: ghc-template-haskell-devel
|
||||
BuildRequires: ghc-template-haskell-prof
|
||||
%endif
|
||||
|
||||
%description
|
||||
@ -55,6 +73,22 @@ Requires(postun): ghc-compiler = %{ghc_version}
|
||||
%description devel
|
||||
This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%package -n ghc-%{pkg_name}-doc
|
||||
Summary: Haskell %{pkg_name} library documentation
|
||||
Requires: ghc-filesystem
|
||||
BuildArch: noarch
|
||||
|
||||
%description -n ghc-%{pkg_name}-doc
|
||||
This package provides the Haskell %{pkg_name} library documentation.
|
||||
|
||||
%package -n ghc-%{pkg_name}-prof
|
||||
Summary: Haskell %{pkg_name} profiling library
|
||||
Requires: ghc-%{pkg_name}-devel = %{version}-%{release}
|
||||
Supplements: (ghc-%{pkg_name}-devel and ghc-prof)
|
||||
|
||||
%description -n ghc-%{pkg_name}-prof
|
||||
This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pkg_name}-%{version}
|
||||
|
||||
@ -63,6 +97,7 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%install
|
||||
%ghc_lib_install
|
||||
%ghc_fix_rpath %{pkg_name}-%{version}
|
||||
|
||||
%check
|
||||
%cabal_test
|
||||
@ -75,8 +110,14 @@ This package provides the Haskell %{pkg_name} library development files.
|
||||
|
||||
%files -f %{name}.files
|
||||
%license LICENSE
|
||||
%{_bindir}/%{pkg_name}
|
||||
|
||||
%files devel -f %{name}-devel.files
|
||||
%doc CHANGELOG.md README.md
|
||||
|
||||
%files -n ghc-%{pkg_name}-doc -f ghc-%{pkg_name}-doc.files
|
||||
%license LICENSE
|
||||
|
||||
%files -n ghc-%{pkg_name}-prof -f ghc-%{pkg_name}-prof.files
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dc5743f6e32d0e0570fe2ea303a6965ea3d945a84ee43ead734fd04a0aea3beb
|
||||
size 39887
|
3
pretty-simple-4.1.2.0.tar.gz
Normal file
3
pretty-simple-4.1.2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3cb47c3971599cb8c0330e1a2dbd63c67bfbe570bd879524ee802e81e7b02736
|
||||
size 40519
|
Loading…
Reference in New Issue
Block a user