1
0
Files
perl-Type-Tiny/perl-Type-Tiny.spec

70 lines
2.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Type-Tiny
#
Accepting request 1234005 from devel:languages:perl:autoupdate - updated to 2.006000 see /usr/share/doc/packages/perl-Type-Tiny/Changes 2.006000 2024-09-24 [ Documentation ] - Update NEWS. [ Packaging ] - Repackage as stable. (See also the changelog for 2.005_001 and 2.005_002.) 2.005_002 2024-09-08 [ Bug Fixes ] - Fix uninitialized warning messages from Error::TypeTiny when processing very shallow stack traces. Diab Jerius++ [ Documentation ] - Fix minor typo in documentation for named parameters in `Type::Params`. - Update copyright notices in files to 2024. [ Other ] - Improved initialization of variables when they are tied to a type constraint; initialization to explicit values will work even when not tied via the `ttie` wrapper function; if no explicit values are provided, tied scalars will be initialized to the type's `type_default`. So for example, `tie( my $title, Str )` will initialize `$title` to the empty string instead of undef, and `tie( my $title, Str, 'Foo' )` will initialize the variable to 'Foo' as was already implied by documentation. Daniel Mita++ XSven++ - Inlining `Int` now calls the XS implementation when available. (The speed improvement is negligible, but it also may result in small memory savings.) Zaki Mughal++ <https://github.com/tobyink/p5-type-tiny/pull/145> - Removed: Support for the ${^TYPE_PARAMS_MULTISIG} global variable has been dropped. Using this global variable was deprecated in trial version 1.999_010 and stable version 2.000000, both of which are nearly two years old. Use ${^_TYPE_PARAMS_MULTISIG} instead. 2.005_001 2024-09-07 [ Documentation ] - Fixes for various typos. Yoshikazu Sawa++ <https://github.com/tobyink/p5-type-tiny/pull/155> - Improve documentation for the initialization of the `coercion` attribute for `Type::Tiny`. Diab Jerius++ [ Other ] - Updated: Smartmatch discontinued beginning perl-5.41.3; Type::Tiny will no longer attempt to support smartmatch if the Perl version is too high. James E Keenan++ <https://github.com/tobyink/p5-type-tiny/pull/161> OBS-URL: https://build.opensuse.org/request/show/1234005 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Type-Tiny?expand=0&rev=70
2025-01-06 16:49:06 +00:00
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define cpan_name Type-Tiny
Name: perl-Type-Tiny
Accepting request 1234005 from devel:languages:perl:autoupdate - updated to 2.006000 see /usr/share/doc/packages/perl-Type-Tiny/Changes 2.006000 2024-09-24 [ Documentation ] - Update NEWS. [ Packaging ] - Repackage as stable. (See also the changelog for 2.005_001 and 2.005_002.) 2.005_002 2024-09-08 [ Bug Fixes ] - Fix uninitialized warning messages from Error::TypeTiny when processing very shallow stack traces. Diab Jerius++ [ Documentation ] - Fix minor typo in documentation for named parameters in `Type::Params`. - Update copyright notices in files to 2024. [ Other ] - Improved initialization of variables when they are tied to a type constraint; initialization to explicit values will work even when not tied via the `ttie` wrapper function; if no explicit values are provided, tied scalars will be initialized to the type's `type_default`. So for example, `tie( my $title, Str )` will initialize `$title` to the empty string instead of undef, and `tie( my $title, Str, 'Foo' )` will initialize the variable to 'Foo' as was already implied by documentation. Daniel Mita++ XSven++ - Inlining `Int` now calls the XS implementation when available. (The speed improvement is negligible, but it also may result in small memory savings.) Zaki Mughal++ <https://github.com/tobyink/p5-type-tiny/pull/145> - Removed: Support for the ${^TYPE_PARAMS_MULTISIG} global variable has been dropped. Using this global variable was deprecated in trial version 1.999_010 and stable version 2.000000, both of which are nearly two years old. Use ${^_TYPE_PARAMS_MULTISIG} instead. 2.005_001 2024-09-07 [ Documentation ] - Fixes for various typos. Yoshikazu Sawa++ <https://github.com/tobyink/p5-type-tiny/pull/155> - Improve documentation for the initialization of the `coercion` attribute for `Type::Tiny`. Diab Jerius++ [ Other ] - Updated: Smartmatch discontinued beginning perl-5.41.3; Type::Tiny will no longer attempt to support smartmatch if the Perl version is too high. James E Keenan++ <https://github.com/tobyink/p5-type-tiny/pull/161> OBS-URL: https://build.opensuse.org/request/show/1234005 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Type-Tiny?expand=0&rev=70
2025-01-06 16:49:06 +00:00
Version: 2.006000
Release: 0
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Tiny, yet Moo(se)-compatible type constraint
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/T/TO/TOBYINK/%{cpan_name}-%{version}.tar.gz
Source1: cpanspec.yml
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
Accepting request 1046495 from devel:languages:perl:autoupdate - updated to 2.002000 see /usr/share/doc/packages/perl-Type-Tiny/Changes 2.002000 2023-01-01 Happy Fibonacci Day! 1/1/23 [ Bug Fixes ] - When Foo is a parameterized StrMatch type, ensure is_Foo always returns a single boolean value, even in list context. Diab Jerius++ [ Documentation ] - Update NEWS. - Update copyright dates to 2023. [ Packaging ] - Repackage as stable. 2.001_002 2022-12-03 [ Test Suite ] - Test `t/20-modules/Type-Tiny-Enum/exporter_lexical.t` will now run on older versions of Perl, provided Lexical::Sub is installed. [ Packaging ] - Depend on Exporter::Tiny 1.006000 which offers lexical export support for older versions of Perl, provided Lexical::Sub is installed. [ Other ] - If Type::Params signatures receive multiple unrecognized named arguments, the error message now lists them using Type::Utils::english_list() instead of just joining them with commas. This means that the error message will include 'and' before the last unrecognized named argument. If Type::Tiny::AvoidCallbacks is set to true while the signature is compiled, the old behaviour will be retained. - Type::Params no longer attempts to figure out the maximum number of expected arguments to functions which take key-value pairs. This allows `yourfunc(y=>1,y=>2)` to behave more intuitively, with the function just seeing the second value for `y`, instead of it throwing an exception complaining about too many arguments. 2.001_001 2022-10-19 [ Documentation ] - Typo fix in Type::Tiny::Manual::UsingWithMoo. [ Other ] - Type::Library will better detect if two types result in functions with the same name. - Type::Tiny::XS will now provide XS implementations of some parameterized ArrayLike/HashLike types. - When importing `use Type::Library -util`, Type::Library will now pass some relevant import options to Type::Utils. 2.001_000 2022-09-29 [ Bug Fixes ] - Avoid uninitialized warnings when creating a union between an Enum type and a non-Enum type. Diab Jerius++ [ Documentation ] - Clearer documentation of Types::TypeTiny::to_TypeTiny. [ Test Suite ] - No longer report Type::Tie version at start of test suite, as Type::Tie is now bundled. [ Other ] - Added: Type::Library now has an undocumented, but tested and hopefully stable `_remove_type` method. - Added: Type::Tiny now has a `definition_context` attribute/method indicating the file and line number where a type constraint was first defined. - The list of packages Type::Tiny considers to be 'internal' has been moved from Error::TypeTiny to Type::Tiny. - Type::Tiny will now mark particular parts of its guts as readonly. Currently this is mainly used to prevent people pushing to and popping from type constraints which overload `@{}`. OBS-URL: https://build.opensuse.org/request/show/1046495 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Type-Tiny?expand=0&rev=64
2023-01-04 15:33:29 +00:00
BuildRequires: perl(Exporter::Tiny) >= 1.006000
BuildRequires: perl(Test::More) >= 0.96
Accepting request 1046495 from devel:languages:perl:autoupdate - updated to 2.002000 see /usr/share/doc/packages/perl-Type-Tiny/Changes 2.002000 2023-01-01 Happy Fibonacci Day! 1/1/23 [ Bug Fixes ] - When Foo is a parameterized StrMatch type, ensure is_Foo always returns a single boolean value, even in list context. Diab Jerius++ [ Documentation ] - Update NEWS. - Update copyright dates to 2023. [ Packaging ] - Repackage as stable. 2.001_002 2022-12-03 [ Test Suite ] - Test `t/20-modules/Type-Tiny-Enum/exporter_lexical.t` will now run on older versions of Perl, provided Lexical::Sub is installed. [ Packaging ] - Depend on Exporter::Tiny 1.006000 which offers lexical export support for older versions of Perl, provided Lexical::Sub is installed. [ Other ] - If Type::Params signatures receive multiple unrecognized named arguments, the error message now lists them using Type::Utils::english_list() instead of just joining them with commas. This means that the error message will include 'and' before the last unrecognized named argument. If Type::Tiny::AvoidCallbacks is set to true while the signature is compiled, the old behaviour will be retained. - Type::Params no longer attempts to figure out the maximum number of expected arguments to functions which take key-value pairs. This allows `yourfunc(y=>1,y=>2)` to behave more intuitively, with the function just seeing the second value for `y`, instead of it throwing an exception complaining about too many arguments. 2.001_001 2022-10-19 [ Documentation ] - Typo fix in Type::Tiny::Manual::UsingWithMoo. [ Other ] - Type::Library will better detect if two types result in functions with the same name. - Type::Tiny::XS will now provide XS implementations of some parameterized ArrayLike/HashLike types. - When importing `use Type::Library -util`, Type::Library will now pass some relevant import options to Type::Utils. 2.001_000 2022-09-29 [ Bug Fixes ] - Avoid uninitialized warnings when creating a union between an Enum type and a non-Enum type. Diab Jerius++ [ Documentation ] - Clearer documentation of Types::TypeTiny::to_TypeTiny. [ Test Suite ] - No longer report Type::Tie version at start of test suite, as Type::Tie is now bundled. [ Other ] - Added: Type::Library now has an undocumented, but tested and hopefully stable `_remove_type` method. - Added: Type::Tiny now has a `definition_context` attribute/method indicating the file and line number where a type constraint was first defined. - The list of packages Type::Tiny considers to be 'internal' has been moved from Error::TypeTiny to Type::Tiny. - Type::Tiny will now mark particular parts of its guts as readonly. Currently this is mainly used to prevent people pushing to and popping from type constraints which overload `@{}`. OBS-URL: https://build.opensuse.org/request/show/1046495 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Type-Tiny?expand=0&rev=64
2023-01-04 15:33:29 +00:00
Requires: perl(Exporter::Tiny) >= 1.006000
Accepting request 1007856 from devel:languages:perl:autoupdate - updated to 2.000001 see /usr/share/doc/packages/perl-Type-Tiny/Changes 2.000001 2022-09-29 [ Bug Fixes ] - Avoid uninitialized warnings when creating a union between an Enum type and a non-Enum type. Diab Jerius++ [ Documentation ] - Clearer documentation of Types::TypeTiny::to_TypeTiny. [ Test Suite ] - No longer report Type::Tie version at start of test suite, as Type::Tie is now bundled. 2.000000 2022-09-23 [ Test Suite ] - Minor fix for Class::Plain-related tests. [ Packaging ] - Repackage Type-Tiny 1.999_013 as a stable release. 1.999_013 2022-09-23 Type::Tiny 2.0 Preview N [ Documentation ] - Document usage with Class::Plain. - Fix pod typo in manual. Florian Schlichting++ - Improvements to Type::Params documentation. [ Test Suite ] - Test usage with Class::Plain. [ Other ] - Type::Params signature_for will respect inheritance when looking for methods to wrap, when the `method` option is true. 1.999_012 2022-09-21 Type::Tiny 2.0 Preview M [ Documentation ] - Document in Type::Tie that Type::Tie is implicitly loaded when you tie a variable to a Type::Tiny type constraint. (It was already documented in the manual.) - Document the Type::Tie::BASE `type` method. - Removed stub pod from a bunch of internal modules. They're internal, so nobody should be expecting pod. [ Test Suite ] - Bundle a (renamed) copy of Type::Nano in the test suite for some tests combining Type::Nano and Type::Tiny type constraints, and converting Type::Nano to Type::Tiny. - Improved test cases for Type::Tie with an aim at 100% coverage. [ Packaging ] - Add Class::XSAccessor to Type::Tiny's recommendations. [ Other ] - Adding a type constraint to a type library will now also add it to the library's type registry. (Even though this registry is unlikely to be used.) - Rewrite much of Type::Tie to no longer use inside-out objects and avoid a dependency on Hash::Util::FieldHash or alternative implementations of fieldhashes. - Type::Parser's internal packages now have version numbers. - Type::Tie now supports variables being cloned with Clone::clone(). It already supported Storable::dclone(). - Type::Tie will now try to load Class::XSAccessor::Array for a speed-up. - Using Type::Utils to declare a named type will now automatically add the type to the caller's type registry. 1.999_011 2022-09-20 Type::Tiny 2.0 Preview L - Added: Bundle Type::Tie which was previously in a separate distribution on the CPAN. 1.999_010 2022-09-18 Type::Tiny 2.0 Preview K [ Test Suite ] - More tests. [ Other ] - Eval::TypeTiny::CodeAccumulator now supports $coderef->compile(alias => 1). - If the `ws parameter is set to true in parameterized DelimitedStr type constraints, leading and trailing whitespace will now be permitted. - Non-parameterized DelimitedStr now has a coercion from ArrayRef[Str]. - The ${^TYPE_PARAMS_MULTISIG} magic global variable is now called ${^_TYPE_PARAMS_MULTISIG}. The old name will still be supported for at least six months after the next stable release. 1.999_009 2022-09-16 Type::Tiny 2.0 Preview J [ Test Suite ] - Another test for `-base`. [ Other ] - Added: Types::Common::String now has a DelimitedStr type. - Improve cache key generation for parameterized types. - Minor improvements to the default name generator, used to generate the display_name for parameterized type constraints. 1.999_008 2022-09-14 Type::Tiny 2.0 Preview I [ Bug Fixes ] - More sensible error message trying to import a type constraint using -declare outside a type library. Diab Jerius++ [ Other ] - Added: Type::Tiny now has an exportables_by_tag method. - Added: Type::Tiny::_DeclaredType is now a separate module. (It was previously defined inline in Type/Library.pm.) - Eval::TypeTiny::type_to_coderef() can now handle being passed undef as a type constraint and will create a Type::Tiny::_DeclaredType object to wrap instead. - If a type library has been made immutable, you can no longer add new types and coercions to it. - Type::Params `signature_for` will now delay most of the signature compilation until the function is called for the first time, like `wrap_subs`/`wrap_methods` used to do. It still does enough up-front to detect some common errors in signatures. - Various Type::Library cleanups. 1.999_007 2022-09-13 Type::Tiny 2.0 Preview H [ Documentation ] - Fix pod formatting issue in Type::Params. [ Test Suite ] - Improved test cases; now 100% coverage on coveralls.io. [ Other ] - Minor refactoring, mostly to make things more easily testable. 1.999_006 2022-09-12 Type::Tiny 2.0 Preview G [ BACK COMPAT ] - If none of a multisig's alternative sigs match the parameter list ${^TYPE_PARAMS_MULTISIG} will be explicitly set to undef, instead of being left as-is. - The Eval::TypeTiny::HAS_LEXICAL_VARS constant no longer exists. It was deprecated in Type-Tiny-1.004000 (2018-07-27). [ Other ] - Get the `multiple` option working with the `signature_for` function from Type::Params. - Improved test cases and miscellaneous small bugfixes for slurpy parameters in Type::Params. 1.999_005 2022-09-11 Type::Tiny 2.0 Preview F [ Bug Fixes ] - What was supposed to be a warning for slurpy+default in Type::Params was throwing an exception. Corrected to be a warning. [ Documentation ] - Minor improvements to Type::Params documentation. [ Other ] - The functionality provided by Type::Params::multisig() is now provided in the Type::Params v2 API. (And is slightly more functional!) 1.999_004 2022-09-09 Type::Tiny 2.0 Preview E [ Documentation ] - Minor documentation clarifications around new constructor methods for Type::Tiny subclasses. [ Test Suite ] - Add versions of tests for the new Type::Params v2 API which don't rely on Perl 5.20 features. - More tests for Type::Tiny::{Class,Duck,Enum,Role} exporting. [ Packaging ] - Require Exporter::Tiny 1.004001. [ Other ] - Type::Tiny::{Class,Duck,Enum,Role} subclass Exporter::Tiny instead of handling exports manually. 1.999_003 2022-09-09 Type::Tiny 2.0 Preview D [ Bug Fixes ] - Setting a default for a slurpy parameter in Type::Params now warns and ignores the default instead of failing to compile because of a syntax error. Zhtwn++ [ Other ] - Added: Move two helper subs out of Type::Library and into Eval::TypeTiny, clean them up, and document them as part of the API (set_subname and type_to_coderef). - Added: Type::Tiny now has an `exportables` method which provides a list of functions that the type can export. Type libraries now defer to this when deciding what they can export. - Added: Type::Tiny::Class is now an exporter. - Added: Type::Tiny::Duck is now an exporter. - Added: Type::Tiny::Enum has an is_word_safe method which indicates whether all values in the enumeration are 'words' (i.e. contain only word characters). - Added: Type::Tiny::Enum is now an exporter. - Added: Type::Tiny::Role is now an exporter. - Added: Word-safe enumerations export constants for each value. Branislav Zahradník++ - Major simplifications of Type::Library internals. - The NICE_PROTOTYPES constant has been moved from Type::Library to Eval::TypeTiny, though a copy of it is still available in Type::Library for backwards compatibility. - The intersection of two Type::Tiny::Enum objects is now a Type::Tiny::Enum instead of a Type::Tiny::Intersection. Branislav Zahradník++ - The union of two Type::Tiny::Enum objects is now a Type::Tiny::Enum instead of a Type::Tiny::Union. - Type::Params will call default coderefs as a method for signatures where method => 1. 1.999_002 2022-09-07 Type::Tiny 2.0 Preview C [ Bug Fixes ] - Types::Common was not correctly handling the -sigs export tag. [ Documentation ] - Fix up some heading levels in the pod for Type::Params. - Update NEWS. [ Test Suite ] - Better tests for `strictness` option in Type::Params. - Improved tests for slurpy handling in Type::Params. - The internal module Type::Params::Signature now has some tests of its own. [ Other ] - Minor bugfixes and improvements to slurpy handling in Type::Params. - The type_default method will accept parameters, and sort-of curry them. 1.999_001 2022-09-05 Type::Tiny 2.0 Preview B [ Documentation ] - Fix misspelling of 'GitHub' in documentation. - Further revisions of Type::Manual. - Update the SYNOPSIS for Types::Standard and Type::Tiny. [ Test Suite ] - Tests for the `type_default` of all builtin types. [ Other ] - Changes to the `type_default` for a few parameterized types. - Types::Common now also extends Types::TypeTiny. 1.999_000 2022-09-04 Type::Tiny 2.0 Preview A [ Documentation ] - Updated Type::Tiny::Manual to cover new features. [ Other ] - %Error::TypeTiny::CarpInternal is now an alias for %Carp::CarpInternal. - Added: Type::Tiny `type_default` method. - Added: Type::Tiny overloads `/`. - Added: Types::Common module. - The Type::Params API has had a major overhaul, introducing `signature` and `signature_for` functions. The `compile`, `compile_named`, `compile_named_oo`, `validate`, `validate_named`, `wrap_subs`, and `wrap_methods` functions are now considered the legacy API. There are no plans to drop support for the legacy API in the foreseeable future. - Updated: Dropping support for Perl 5.6.1 (which was released in April 2001), 5.6.2 (November 2003), and Perl 5.8.0 (July 2002). Type::Tiny now requires at least Perl 5.8.1. - Updated: Require Exporter::Tiny 1.004000+. (Previously required Exporter::Tiny 1.000000.) OBS-URL: https://build.opensuse.org/request/show/1007856 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Type-Tiny?expand=0&rev=62
2022-10-04 18:46:59 +00:00
Recommends: perl(Class::XSAccessor) >= 1.17
Recommends: perl(Devel::LexAlias) >= 0.05
Recommends: perl(Devel::StackTrace)
Recommends: perl(Ref::Util::XS) >= 0.100
Accepting request 1234005 from devel:languages:perl:autoupdate - updated to 2.006000 see /usr/share/doc/packages/perl-Type-Tiny/Changes 2.006000 2024-09-24 [ Documentation ] - Update NEWS. [ Packaging ] - Repackage as stable. (See also the changelog for 2.005_001 and 2.005_002.) 2.005_002 2024-09-08 [ Bug Fixes ] - Fix uninitialized warning messages from Error::TypeTiny when processing very shallow stack traces. Diab Jerius++ [ Documentation ] - Fix minor typo in documentation for named parameters in `Type::Params`. - Update copyright notices in files to 2024. [ Other ] - Improved initialization of variables when they are tied to a type constraint; initialization to explicit values will work even when not tied via the `ttie` wrapper function; if no explicit values are provided, tied scalars will be initialized to the type's `type_default`. So for example, `tie( my $title, Str )` will initialize `$title` to the empty string instead of undef, and `tie( my $title, Str, 'Foo' )` will initialize the variable to 'Foo' as was already implied by documentation. Daniel Mita++ XSven++ - Inlining `Int` now calls the XS implementation when available. (The speed improvement is negligible, but it also may result in small memory savings.) Zaki Mughal++ <https://github.com/tobyink/p5-type-tiny/pull/145> - Removed: Support for the ${^TYPE_PARAMS_MULTISIG} global variable has been dropped. Using this global variable was deprecated in trial version 1.999_010 and stable version 2.000000, both of which are nearly two years old. Use ${^_TYPE_PARAMS_MULTISIG} instead. 2.005_001 2024-09-07 [ Documentation ] - Fixes for various typos. Yoshikazu Sawa++ <https://github.com/tobyink/p5-type-tiny/pull/155> - Improve documentation for the initialization of the `coercion` attribute for `Type::Tiny`. Diab Jerius++ [ Other ] - Updated: Smartmatch discontinued beginning perl-5.41.3; Type::Tiny will no longer attempt to support smartmatch if the Perl version is too high. James E Keenan++ <https://github.com/tobyink/p5-type-tiny/pull/161> OBS-URL: https://build.opensuse.org/request/show/1234005 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Type-Tiny?expand=0&rev=70
2025-01-06 16:49:06 +00:00
Recommends: perl(Regexp::Util) >= 0.3.0
Recommends: perl(Sub::Util)
Accepting request 1234005 from devel:languages:perl:autoupdate - updated to 2.006000 see /usr/share/doc/packages/perl-Type-Tiny/Changes 2.006000 2024-09-24 [ Documentation ] - Update NEWS. [ Packaging ] - Repackage as stable. (See also the changelog for 2.005_001 and 2.005_002.) 2.005_002 2024-09-08 [ Bug Fixes ] - Fix uninitialized warning messages from Error::TypeTiny when processing very shallow stack traces. Diab Jerius++ [ Documentation ] - Fix minor typo in documentation for named parameters in `Type::Params`. - Update copyright notices in files to 2024. [ Other ] - Improved initialization of variables when they are tied to a type constraint; initialization to explicit values will work even when not tied via the `ttie` wrapper function; if no explicit values are provided, tied scalars will be initialized to the type's `type_default`. So for example, `tie( my $title, Str )` will initialize `$title` to the empty string instead of undef, and `tie( my $title, Str, 'Foo' )` will initialize the variable to 'Foo' as was already implied by documentation. Daniel Mita++ XSven++ - Inlining `Int` now calls the XS implementation when available. (The speed improvement is negligible, but it also may result in small memory savings.) Zaki Mughal++ <https://github.com/tobyink/p5-type-tiny/pull/145> - Removed: Support for the ${^TYPE_PARAMS_MULTISIG} global variable has been dropped. Using this global variable was deprecated in trial version 1.999_010 and stable version 2.000000, both of which are nearly two years old. Use ${^_TYPE_PARAMS_MULTISIG} instead. 2.005_001 2024-09-07 [ Documentation ] - Fixes for various typos. Yoshikazu Sawa++ <https://github.com/tobyink/p5-type-tiny/pull/155> - Improve documentation for the initialization of the `coercion` attribute for `Type::Tiny`. Diab Jerius++ [ Other ] - Updated: Smartmatch discontinued beginning perl-5.41.3; Type::Tiny will no longer attempt to support smartmatch if the Perl version is too high. James E Keenan++ <https://github.com/tobyink/p5-type-tiny/pull/161> OBS-URL: https://build.opensuse.org/request/show/1234005 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Type-Tiny?expand=0&rev=70
2025-01-06 16:49:06 +00:00
Recommends: perl(Type::Tiny::XS) >= 0.25.0
%{perl_requires}
%description
This documents the internals of the Type::Tiny class. Type::Tiny::Manual is
a better starting place if you're new.
Type::Tiny is a small class for creating Moose-like type constraint objects
which are compatible with Moo, Moose and Mouse.
%prep
%autosetup -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes CONTRIBUTING COPYRIGHT CREDITS doap.ttl examples NEWS README
%license LICENSE
%changelog