From 3d7def9e97d85086d9cbfeebc80a12f64bf3114fda1792bad183f79d5cfd6568 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Tue, 4 May 2021 10:35:12 +0000 Subject: [PATCH] osc copypac from project:devel:languages:haskell:ghc-8.10.x package:ghc-brick revision:24, using keep-link OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-brick?expand=0&rev=30 --- brick-0.61.tar.gz | 3 --- brick-0.62.tar.gz | 3 +++ ghc-brick.changes | 20 ++++++++++++++++++++ ghc-brick.spec | 2 +- 4 files changed, 24 insertions(+), 4 deletions(-) delete mode 100644 brick-0.61.tar.gz create mode 100644 brick-0.62.tar.gz diff --git a/brick-0.61.tar.gz b/brick-0.61.tar.gz deleted file mode 100644 index 17cae26..0000000 --- a/brick-0.61.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4dd04f0b3bca57abcaa98f735e206e51ca019a52c7b5cb8c10853f7a9bd59933 -size 703071 diff --git a/brick-0.62.tar.gz b/brick-0.62.tar.gz new file mode 100644 index 0000000..d8f758b --- /dev/null +++ b/brick-0.62.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:66c01767de1942cd4f11ce451b36e0e3bb17a1e0fc422883ee6363de7daae4b8 +size 703897 diff --git a/ghc-brick.changes b/ghc-brick.changes index f5ab0e6..b36707e 100644 --- a/ghc-brick.changes +++ b/ghc-brick.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Fri Apr 30 08:28:16 UTC 2021 - psimons@suse.com + +- Update brick to version 0.62. + 0.62 + ---- + + API changes: + * `Brick.Widgets.Core` got new functions + `crop{Left,Right,Bottom,Top}To`. Unlike the `crop...By` functions, + which crop on the specified side by a particular amount, these + `crop...To` functions crop on the specified side and take a desired + overall width of the final result and use that to determine how much + to crop. A widget `x` of width `w` could thus be cropped equivalently + with `cropLeftBy a x` and `cropLeftTo (w - a) x`. + + Other changes: + * Added `programs/CroppingDemo.hs` to demonstrate the new (and + preexisting) cropping functions. + ------------------------------------------------------------------- Fri Apr 9 08:54:26 UTC 2021 - psimons@suse.com diff --git a/ghc-brick.spec b/ghc-brick.spec index abfcc9c..5dc6fbd 100644 --- a/ghc-brick.spec +++ b/ghc-brick.spec @@ -19,7 +19,7 @@ %global pkg_name brick %bcond_with tests Name: ghc-%{pkg_name} -Version: 0.61 +Version: 0.62 Release: 0 Summary: A declarative terminal user interface library License: BSD-3-Clause