From 8e27ef37c301f643d46782c93478e2c82bbe16162caf2dc2f8a2a1526bad3d5f Mon Sep 17 00:00:00 2001 From: Muhammad Akbar Yanuar Mantari Date: Tue, 10 Sep 2024 01:49:52 +0000 Subject: [PATCH 1/2] - Enable tests - Update to 0.10.0: Features * Added alpha property to set command * Add support for HSV * Added support for parsing LCh colors * Added hyprpicker as --color-picker * Implement Color::from_u32 for the rgba Bugfixes * pastel pick does not display all colors in some terminals * Fix lines in kitty terminal with text_fg_override_threshold set Changes * Use PASTEL_COLOR_MODE in ansi::Brush::from_environment * Unhide colorcheck command Other * Optimization for eliminating redundant memory operations * Add colour as an alias for the colour command * Suggest to use pastel pick --help instead of -h OBS-URL: https://build.opensuse.org/package/show/graphics/pastel?expand=0&rev=4 --- pastel-0.10.0.tar.gz | 3 +++ pastel.changes | 22 ++++++++++++++++++++++ pastel.spec | 10 +++++----- vendor.tar.zst | 4 ++-- 4 files changed, 32 insertions(+), 7 deletions(-) create mode 100644 pastel-0.10.0.tar.gz diff --git a/pastel-0.10.0.tar.gz b/pastel-0.10.0.tar.gz new file mode 100644 index 0000000..20dbbc8 --- /dev/null +++ b/pastel-0.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7848cd6d2ad8db6543b609dece7c9c28b4720c09fb13aeb204dd03d152159dd2 +size 3235468 diff --git a/pastel.changes b/pastel.changes index 7a671fb..4390743 100644 --- a/pastel.changes +++ b/pastel.changes @@ -1,3 +1,25 @@ +------------------------------------------------------------------- +Mon Sep 9 19:18:59 UTC 2024 - Joshua Smith + +- Enable tests +- Update to 0.10.0: + Features + * Added alpha property to set command + * Add support for HSV + * Added support for parsing LCh colors + * Added hyprpicker as --color-picker + * Implement Color::from_u32 for the rgba + Bugfixes + * pastel pick does not display all colors in some terminals + * Fix lines in kitty terminal with text_fg_override_threshold set + Changes + * Use PASTEL_COLOR_MODE in ansi::Brush::from_environment + * Unhide colorcheck command + Other + * Optimization for eliminating redundant memory operations + * Add colour as an alias for the colour command + * Suggest to use pastel pick --help instead of -h + ------------------------------------------------------------------- Wed Dec 13 20:14:12 UTC 2023 - Muhammad Akbar Yanuar Mantari diff --git a/pastel.spec b/pastel.spec index 4f00865..b092f53 100644 --- a/pastel.spec +++ b/pastel.spec @@ -17,10 +17,10 @@ Name: pastel -Version: 0.9.0 +Version: 0.10.0 Release: 0 Summary: CLI to generate, analyze, convert and manipulate colors -License: MIT AND Apache-2.0 +License: Apache-2.0 AND MIT Group: Productivity/Graphics/Other URL: https://github.com/sharkdp/pastel Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz @@ -48,11 +48,12 @@ This package provides the documentation for pastel. %build %{cargo_build} +%check +%{cargo_test} + %install install -Dm755 target/release/%{name} -t %{buildroot}%{_bindir} -%check - %files %license LICENSE-MIT LICENSE-APACHE %{_bindir}/%{name} @@ -61,4 +62,3 @@ install -Dm755 target/release/%{name} -t %{buildroot}%{_bindir} %doc README* doc %changelog - diff --git a/vendor.tar.zst b/vendor.tar.zst index 60d2c06..f9c2638 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:53ba0805934b72e5a21904cd1af8594e0bfa2a80157fed1d19bf9e79a22ab7f2 -size 19018689 +oid sha256:aa582c9d06f2cfb4d5b42a61c36af7ca22b1748a2147805fc6d32e4606aae1b3 +size 20360091 From 7ccdd96f3a7a39474512375f1ff5e79134d5348cc9f9990b772e1d3d478fc573 Mon Sep 17 00:00:00 2001 From: Muhammad Akbar Yanuar Mantari Date: Tue, 10 Sep 2024 01:54:15 +0000 Subject: [PATCH 2/2] fix changelog OBS-URL: https://build.opensuse.org/package/show/graphics/pastel?expand=0&rev=5 --- pastel.changes | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/pastel.changes b/pastel.changes index 4390743..4590a4c 100644 --- a/pastel.changes +++ b/pastel.changes @@ -2,23 +2,24 @@ Mon Sep 9 19:18:59 UTC 2024 - Joshua Smith - Enable tests -- Update to 0.10.0: - Features - * Added alpha property to set command - * Add support for HSV - * Added support for parsing LCh colors - * Added hyprpicker as --color-picker - * Implement Color::from_u32 for the rgba - Bugfixes - * pastel pick does not display all colors in some terminals - * Fix lines in kitty terminal with text_fg_override_threshold set - Changes - * Use PASTEL_COLOR_MODE in ansi::Brush::from_environment - * Unhide colorcheck command - Other - * Optimization for eliminating redundant memory operations - * Add colour as an alias for the colour command - * Suggest to use pastel pick --help instead of -h +- Update to version 0.10.0: + + Features + - Added alpha property to set command + - Add support for HSV + - Added support for parsing LCh colors + - Added hyprpicker as --color-picker + - Implement Color::from_u32 for the rgba + + Bugfixes + - pastel pick does not display all colors in some terminals + - Fix lines in kitty terminal with text_fg_override_threshold + set + + Changes + - Use PASTEL_COLOR_MODE in ansi::Brush::from_environment + - Unhide colorcheck command + + Other + - Optimization for eliminating redundant memory operations + - Add colour as an alias for the colour command + - Suggest to use pastel pick --help instead of -h ------------------------------------------------------------------- Wed Dec 13 20:14:12 UTC 2023 - Muhammad Akbar Yanuar Mantari