forked from pool/perl-Graphics-Toolkit-Color
Accepting request 1103507 from devel:languages:perl:autoupdate
- updated to 1.53 see /usr/share/doc/packages/perl-Graphics-Toolkit-Color/Changes 1.53 2023-08-11 lichtkind ------- * = maintenance * ? more doc fixes to new API * ! fix rounding error under -Duselongdouble 1.52 2023-08-11 lichtkind ------- * = maintenance + third phase toward 2.0 * + added gradient method with new API * ? more doc fixes to new API * & more tests 1.51 2023-08-10 lichtkind ------- * = a few documentation fixes 1.50 2023-08-09 lichtkind ------- * = first + second phase of of 2.0 rewrite * + add CMY, CMYK and HSV support * + new universal getter method: values * + new modifier method: set, blend * ~ enhanced and strictened modifier method: add * \ deprecate all other numeric getter: rgb, red, green, blue, rgb_hex, rgb_hash, hsl, hue, saturation, lightnss, hsl_hash * \ till 2.0 will be also deprecated: rgb_gradient_to, hsl_gradient_to, gradient_to, distance_to, blend_with * & new getter API * & keep complex names like 'SVG:green' to be returned by getter: ->name * ? rewritten large part of documentation OBS-URL: https://build.opensuse.org/request/show/1103507 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Graphics-Toolkit-Color?expand=0&rev=9
This commit is contained in:
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a28c41b12daa76483435053c33729414fb1f3f5b11e21f88299f0703f98d285e
|
|
||||||
size 50618
|
|
3
Graphics-Toolkit-Color-1.53.tar.gz
Normal file
3
Graphics-Toolkit-Color-1.53.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b8562612c1acd0bc0ad1a8b0e01cddb8ecb510e279477addc39b5c2d77646b89
|
||||||
|
size 62106
|
@@ -1,3 +1,38 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 11 03:06:58 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
- updated to 1.53
|
||||||
|
see /usr/share/doc/packages/perl-Graphics-Toolkit-Color/Changes
|
||||||
|
|
||||||
|
1.53 2023-08-11 lichtkind
|
||||||
|
-------
|
||||||
|
* = maintenance
|
||||||
|
* ? more doc fixes to new API
|
||||||
|
* ! fix rounding error under -Duselongdouble
|
||||||
|
1.52 2023-08-11 lichtkind
|
||||||
|
-------
|
||||||
|
* = maintenance + third phase toward 2.0
|
||||||
|
* + added gradient method with new API
|
||||||
|
* ? more doc fixes to new API
|
||||||
|
* & more tests
|
||||||
|
1.51 2023-08-10 lichtkind
|
||||||
|
-------
|
||||||
|
* = a few documentation fixes
|
||||||
|
1.50 2023-08-09 lichtkind
|
||||||
|
-------
|
||||||
|
* = first + second phase of of 2.0 rewrite
|
||||||
|
* + add CMY, CMYK and HSV support
|
||||||
|
* + new universal getter method: values
|
||||||
|
* + new modifier method: set, blend
|
||||||
|
* ~ enhanced and strictened modifier method: add
|
||||||
|
* \ deprecate all other numeric getter: rgb, red, green, blue, rgb_hex,
|
||||||
|
rgb_hash, hsl, hue, saturation, lightnss, hsl_hash
|
||||||
|
* \ till 2.0 will be also deprecated: rgb_gradient_to, hsl_gradient_to,
|
||||||
|
gradient_to, distance_to, blend_with
|
||||||
|
* & new getter API
|
||||||
|
* & keep complex names like 'SVG:green' to be returned by getter: ->name
|
||||||
|
* ? rewritten large part of documentation
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 17 03:08:26 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
Mon Jul 17 03:08:26 UTC 2023 - Tina Müller <timueller+perl@suse.de>
|
||||||
|
|
||||||
|
@@ -18,10 +18,9 @@
|
|||||||
|
|
||||||
%define cpan_name Graphics-Toolkit-Color
|
%define cpan_name Graphics-Toolkit-Color
|
||||||
Name: perl-Graphics-Toolkit-Color
|
Name: perl-Graphics-Toolkit-Color
|
||||||
Version: 1.90.0
|
Version: 1.530.0
|
||||||
Release: 0
|
Release: 0
|
||||||
%define cpan_version 1.09
|
%define cpan_version 1.53
|
||||||
Provides: perl(Graphics::Toolkit::Color) = 1.90.0
|
|
||||||
License: Artistic-1.0 OR GPL-1.0-or-later
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
||||||
Summary: Color palette creation helper
|
Summary: Color palette creation helper
|
||||||
URL: https://metacpan.org/release/%{cpan_name}
|
URL: https://metacpan.org/release/%{cpan_name}
|
||||||
@@ -34,25 +33,40 @@ BuildRequires: perl(Carp) >= 1.35
|
|||||||
BuildRequires: perl(Test::More) >= 1.3
|
BuildRequires: perl(Test::More) >= 1.3
|
||||||
BuildRequires: perl(Test::Warn) >= 0.30
|
BuildRequires: perl(Test::Warn) >= 0.30
|
||||||
Requires: perl(Carp) >= 1.35
|
Requires: perl(Carp) >= 1.35
|
||||||
Provides: perl(Graphics::Toolkit::Color::Constant) = 1.90.0
|
Provides: perl(Graphics::Toolkit::Color) = 1.530.0
|
||||||
Provides: perl(Graphics::Toolkit::Color::Value) = 1.90.0
|
Provides: perl(Graphics::Toolkit::Color::Constant) = 1.530.0
|
||||||
Provides: perl(Graphics::Toolkit::Color::Value::HSL) = 1.90.0
|
Provides: perl(Graphics::Toolkit::Color::Space) = 1.530.0
|
||||||
Provides: perl(Graphics::Toolkit::Color::Value::RGB) = 1.90.0
|
Provides: perl(Graphics::Toolkit::Color::SpaceBasis) = 1.530.0
|
||||||
Provides: perl(Graphics::Toolkit::Color::Value::Util) = 1.90.0
|
Provides: perl(Graphics::Toolkit::Color::Util) = 1.530.0
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Value) = 1.530.0
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Value::CMY) = 1.530.0
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Value::CMYK) = 1.530.0
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Value::HSL) = 1.530.0
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Value::HSV) = 1.530.0
|
||||||
|
Provides: perl(Graphics::Toolkit::Color::Value::RGB) = 1.530.0
|
||||||
%define __perllib_provides /bin/true
|
%define __perllib_provides /bin/true
|
||||||
%{perl_requires}
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Read only color holding objects with no additional dependencies. Create
|
ATTENTION: deprecated methods of the old API will be removed on version
|
||||||
them in many different ways (see section _CONSTRUCTOR_). Access its values
|
2.0.
|
||||||
via methods from section _GETTER_ or measure differences and create related
|
|
||||||
color objects via methods listed under _METHODS_.
|
Graphics::Toolkit::Color, for short GTC, is the top level API of this
|
||||||
|
module. It is designed to get a fast access to a set of related colors,
|
||||||
|
that serve your need. While it can understand and output many color
|
||||||
|
formats, its primary (internal) format is RGB, because this it is about
|
||||||
|
colors that can be shown on the screen.
|
||||||
|
|
||||||
Humans access colors on hardware level (eye) in RGB, on cognition level in
|
Humans access colors on hardware level (eye) in RGB, on cognition level in
|
||||||
HSL (brain) and on cultural level (language) with names. Having easy access
|
HSL (brain) and on cultural level (language) with names. Having easy access
|
||||||
to all three and some color math should enable you to get the color palette
|
to all three and some color math should enable you to get the color palette
|
||||||
you desire quickly.
|
you desire quickly.
|
||||||
|
|
||||||
|
GTC are read only color holding objects with no additional dependencies.
|
||||||
|
Create them in many different ways (see section _CONSTRUCTOR_). Access its
|
||||||
|
values via methods from section _GETTER_ or measure differences and create
|
||||||
|
related color objects via methods listed under _METHODS_.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{cpan_name}-%{cpan_version}
|
%autosetup -n %{cpan_name}-%{cpan_version}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user