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

72 lines
2.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package perl-Type-Tiny
#
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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/
#
Name: perl-Type-Tiny
Version: 1.008003
Release: 0
%define cpan_name Type-Tiny
Accepting request 748593 from devel:languages:perl:autoupdate - updated to 1.006000 see /usr/share/doc/packages/perl-Type-Tiny/Changes 1.006000 2019-11-12 [ Documentation ] - Links to Type::Tiny on GitHub/Travis/AppVeyor/Coveralls in Type::Tiny pod. - Minor correction to POD header for Type::Params Jonas B Nielsen++ <https://github.com/tobyink/p5-type-tiny/pull/43> - Types::Standard documentation fix. Lucas Buchala++ <https://github.com/tobyink/p5-type-tiny/pull/48> [ Test Suite ] - Improve test coverage. [ Packaging ] - Bump minimum required version of Exporter::Tiny to 1.000000. - Type::Tiny::XS 0.016 is recommended. [ Other ] - Added: Type::Library now supports `of` and `where` options when importing type constraints. - Added: Type::Params multisig function now supports custom error messages. Benct Philip Jonsson++ <https://github.com/tobyink/p5-type-tiny/pull/44> - Added: Type::Params named_to_list feature. <https://rt.cpan.org/Ticket/Display.html?id=128337> - Added: Type::Params signatures with slurpy hashrefs now allow true hashrefs to be passed to them. - Added: Type::Tiny::Enum now has a `unique_values` method. <https://rt.cpan.org/Ticket/Display.html?id=129650> - Added: Types::Standard ArrayRef parameterized type can now take a second parameter, the minimum array length. - Better implementation of is_subtype_of/is_supertype_of and related functions. - Don't use Int from Type::Tiny::XS unless version 0.016 is available. <https://rt.cpan.org/Ticket/Display.html?id=130411> - Eliminate memory cycles created by coderef overloading in Type::Tiny and Type::Coercion. Fixes RT#130823. Ivanov Anton++ <https://rt.cpan.org/Ticket/Display.html?id=130823> - Eval::TypeTiny's API is now considered to be stable. - Fix Types::Standard's LazyLoad implementation. - The `values` attribute of Type::Tiny::Enum now preserves order. Fixes RT#129650. Daniel Schröer++ <https://rt.cpan.org/Ticket/Display.html?id=129650> - Tidy up Type::Tiny namespace a little by fully-referencing some functions instead of importing them. - Tweaks to Type::Tiny and Type::Coercion to avoid unnecessarily loading overload.pm and overloading.pm. - Types::TypeTiny::TypeTiny->has_coercion is now true. 1.005_004 2019-11-11 [ Documentation ] - Types::Standard documentation fix. Lucas Buchala++ <https://github.com/tobyink/p5-type-tiny/pull/48> [ Other ] - Added: Type::Tiny::Enum now has a `unique_values` method. <https://rt.cpan.org/Ticket/Display.html?id=129650> - Don't use Int from Type::Tiny::XS unless version 0.016 is available. <https://rt.cpan.org/Ticket/Display.html?id=130411> - Eliminate memory cycles created by coderef overloading in Type::Tiny and Type::Coercion. Fixes RT#130823. Ivanov Anton++ <https://rt.cpan.org/Ticket/Display.html?id=130823> - The `values` attribute of Type::Tiny::Enum now preserves order. Fixes RT#129650. Daniel Schröer++ <https://rt.cpan.org/Ticket/Display.html?id=129650> 1.005_003 2019-02-26 [ Test Suite ] - Improve test coverage. [ Other ] - Fix Types::Standard's LazyLoad implementation. 1.005_002 2019-01-29 - Added: Type::Params named_to_list feature. <https://rt.cpan.org/Ticket/Display.html?id=128337> 1.005_001 2019-01-23 - Added: Type::Library now supports `of` and `where` options when importing type constraints. 1.005_000 2019-01-20 [ Bug Fixes ] - Fix spelling in error message for Types::Common::String LowerCaseSimpleStr. Robert Rothenberg++ <https://github.com/tobyink/p5-type-tiny/pull/47> [ Documentation ] - Fix Type::Params documentation error. Nelo Onyiah++ <https://github.com/tobyink/p5-type-tiny/pull/45> - Fix Types::Standard documentation error: incorrect third-party module name. Nelo Onyiah++ <https://github.com/tobyink/p5-type-tiny/pull/46> - Minor correction to POD header for Type::Params Jonas B Nielsen++ <https://github.com/tobyink/p5-type-tiny/pull/43> [ Packaging ] - Bump minimum required version of Exporter::Tiny to 1.000000. [ Other ] - Added: Type::Params multisig function now supports custom error messages. Benct Philip Jonsson++ <https://github.com/tobyink/p5-type-tiny/pull/44> - Added: Types::Standard ArrayRef parameterized type can now take a second parameter, the minimum array length. - Better implementation of is_subtype_of/is_supertype_of and related functions. - Eval::TypeTiny's API is now considered to be stable. - Tidy up Type::Tiny namespace a little by fully-referencing some functions instead of importing them. - Tweaks to Type::Tiny and Type::Coercion to avoid unnecessarily loading overload.pm and overloading.pm. - Type::Params signatures with slurpy hashrefs now allow true hashrefs to be passed to them. - Types::TypeTiny::TypeTiny->has_coercion is now true. OBS-URL: https://build.opensuse.org/request/show/748593 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Type-Tiny?expand=0&rev=19
2019-11-14 17:02:22 +00:00
Summary: Tiny, yet Moo(se)-compatible type constraint
License: Artistic-1.0 OR GPL-1.0-or-later
Group: Development/Libraries/Perl
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
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
Accepting request 748593 from devel:languages:perl:autoupdate - updated to 1.006000 see /usr/share/doc/packages/perl-Type-Tiny/Changes 1.006000 2019-11-12 [ Documentation ] - Links to Type::Tiny on GitHub/Travis/AppVeyor/Coveralls in Type::Tiny pod. - Minor correction to POD header for Type::Params Jonas B Nielsen++ <https://github.com/tobyink/p5-type-tiny/pull/43> - Types::Standard documentation fix. Lucas Buchala++ <https://github.com/tobyink/p5-type-tiny/pull/48> [ Test Suite ] - Improve test coverage. [ Packaging ] - Bump minimum required version of Exporter::Tiny to 1.000000. - Type::Tiny::XS 0.016 is recommended. [ Other ] - Added: Type::Library now supports `of` and `where` options when importing type constraints. - Added: Type::Params multisig function now supports custom error messages. Benct Philip Jonsson++ <https://github.com/tobyink/p5-type-tiny/pull/44> - Added: Type::Params named_to_list feature. <https://rt.cpan.org/Ticket/Display.html?id=128337> - Added: Type::Params signatures with slurpy hashrefs now allow true hashrefs to be passed to them. - Added: Type::Tiny::Enum now has a `unique_values` method. <https://rt.cpan.org/Ticket/Display.html?id=129650> - Added: Types::Standard ArrayRef parameterized type can now take a second parameter, the minimum array length. - Better implementation of is_subtype_of/is_supertype_of and related functions. - Don't use Int from Type::Tiny::XS unless version 0.016 is available. <https://rt.cpan.org/Ticket/Display.html?id=130411> - Eliminate memory cycles created by coderef overloading in Type::Tiny and Type::Coercion. Fixes RT#130823. Ivanov Anton++ <https://rt.cpan.org/Ticket/Display.html?id=130823> - Eval::TypeTiny's API is now considered to be stable. - Fix Types::Standard's LazyLoad implementation. - The `values` attribute of Type::Tiny::Enum now preserves order. Fixes RT#129650. Daniel Schröer++ <https://rt.cpan.org/Ticket/Display.html?id=129650> - Tidy up Type::Tiny namespace a little by fully-referencing some functions instead of importing them. - Tweaks to Type::Tiny and Type::Coercion to avoid unnecessarily loading overload.pm and overloading.pm. - Types::TypeTiny::TypeTiny->has_coercion is now true. 1.005_004 2019-11-11 [ Documentation ] - Types::Standard documentation fix. Lucas Buchala++ <https://github.com/tobyink/p5-type-tiny/pull/48> [ Other ] - Added: Type::Tiny::Enum now has a `unique_values` method. <https://rt.cpan.org/Ticket/Display.html?id=129650> - Don't use Int from Type::Tiny::XS unless version 0.016 is available. <https://rt.cpan.org/Ticket/Display.html?id=130411> - Eliminate memory cycles created by coderef overloading in Type::Tiny and Type::Coercion. Fixes RT#130823. Ivanov Anton++ <https://rt.cpan.org/Ticket/Display.html?id=130823> - The `values` attribute of Type::Tiny::Enum now preserves order. Fixes RT#129650. Daniel Schröer++ <https://rt.cpan.org/Ticket/Display.html?id=129650> 1.005_003 2019-02-26 [ Test Suite ] - Improve test coverage. [ Other ] - Fix Types::Standard's LazyLoad implementation. 1.005_002 2019-01-29 - Added: Type::Params named_to_list feature. <https://rt.cpan.org/Ticket/Display.html?id=128337> 1.005_001 2019-01-23 - Added: Type::Library now supports `of` and `where` options when importing type constraints. 1.005_000 2019-01-20 [ Bug Fixes ] - Fix spelling in error message for Types::Common::String LowerCaseSimpleStr. Robert Rothenberg++ <https://github.com/tobyink/p5-type-tiny/pull/47> [ Documentation ] - Fix Type::Params documentation error. Nelo Onyiah++ <https://github.com/tobyink/p5-type-tiny/pull/45> - Fix Types::Standard documentation error: incorrect third-party module name. Nelo Onyiah++ <https://github.com/tobyink/p5-type-tiny/pull/46> - Minor correction to POD header for Type::Params Jonas B Nielsen++ <https://github.com/tobyink/p5-type-tiny/pull/43> [ Packaging ] - Bump minimum required version of Exporter::Tiny to 1.000000. [ Other ] - Added: Type::Params multisig function now supports custom error messages. Benct Philip Jonsson++ <https://github.com/tobyink/p5-type-tiny/pull/44> - Added: Types::Standard ArrayRef parameterized type can now take a second parameter, the minimum array length. - Better implementation of is_subtype_of/is_supertype_of and related functions. - Eval::TypeTiny's API is now considered to be stable. - Tidy up Type::Tiny namespace a little by fully-referencing some functions instead of importing them. - Tweaks to Type::Tiny and Type::Coercion to avoid unnecessarily loading overload.pm and overloading.pm. - Type::Params signatures with slurpy hashrefs now allow true hashrefs to be passed to them. - Types::TypeTiny::TypeTiny->has_coercion is now true. OBS-URL: https://build.opensuse.org/request/show/748593 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Type-Tiny?expand=0&rev=19
2019-11-14 17:02:22 +00:00
BuildRequires: perl(Exporter::Tiny) >= 1.000000
Requires: perl(Exporter::Tiny) >= 1.000000
Recommends: perl(Devel::LexAlias) >= 0.05
Recommends: perl(Devel::StackTrace)
Recommends: perl(Ref::Util::XS) >= 0.100
Recommends: perl(Regexp::Util) >= 0.003
Recommends: perl(Sub::Util)
Recommends: perl(Type::Tie)
Accepting request 748593 from devel:languages:perl:autoupdate - updated to 1.006000 see /usr/share/doc/packages/perl-Type-Tiny/Changes 1.006000 2019-11-12 [ Documentation ] - Links to Type::Tiny on GitHub/Travis/AppVeyor/Coveralls in Type::Tiny pod. - Minor correction to POD header for Type::Params Jonas B Nielsen++ <https://github.com/tobyink/p5-type-tiny/pull/43> - Types::Standard documentation fix. Lucas Buchala++ <https://github.com/tobyink/p5-type-tiny/pull/48> [ Test Suite ] - Improve test coverage. [ Packaging ] - Bump minimum required version of Exporter::Tiny to 1.000000. - Type::Tiny::XS 0.016 is recommended. [ Other ] - Added: Type::Library now supports `of` and `where` options when importing type constraints. - Added: Type::Params multisig function now supports custom error messages. Benct Philip Jonsson++ <https://github.com/tobyink/p5-type-tiny/pull/44> - Added: Type::Params named_to_list feature. <https://rt.cpan.org/Ticket/Display.html?id=128337> - Added: Type::Params signatures with slurpy hashrefs now allow true hashrefs to be passed to them. - Added: Type::Tiny::Enum now has a `unique_values` method. <https://rt.cpan.org/Ticket/Display.html?id=129650> - Added: Types::Standard ArrayRef parameterized type can now take a second parameter, the minimum array length. - Better implementation of is_subtype_of/is_supertype_of and related functions. - Don't use Int from Type::Tiny::XS unless version 0.016 is available. <https://rt.cpan.org/Ticket/Display.html?id=130411> - Eliminate memory cycles created by coderef overloading in Type::Tiny and Type::Coercion. Fixes RT#130823. Ivanov Anton++ <https://rt.cpan.org/Ticket/Display.html?id=130823> - Eval::TypeTiny's API is now considered to be stable. - Fix Types::Standard's LazyLoad implementation. - The `values` attribute of Type::Tiny::Enum now preserves order. Fixes RT#129650. Daniel Schröer++ <https://rt.cpan.org/Ticket/Display.html?id=129650> - Tidy up Type::Tiny namespace a little by fully-referencing some functions instead of importing them. - Tweaks to Type::Tiny and Type::Coercion to avoid unnecessarily loading overload.pm and overloading.pm. - Types::TypeTiny::TypeTiny->has_coercion is now true. 1.005_004 2019-11-11 [ Documentation ] - Types::Standard documentation fix. Lucas Buchala++ <https://github.com/tobyink/p5-type-tiny/pull/48> [ Other ] - Added: Type::Tiny::Enum now has a `unique_values` method. <https://rt.cpan.org/Ticket/Display.html?id=129650> - Don't use Int from Type::Tiny::XS unless version 0.016 is available. <https://rt.cpan.org/Ticket/Display.html?id=130411> - Eliminate memory cycles created by coderef overloading in Type::Tiny and Type::Coercion. Fixes RT#130823. Ivanov Anton++ <https://rt.cpan.org/Ticket/Display.html?id=130823> - The `values` attribute of Type::Tiny::Enum now preserves order. Fixes RT#129650. Daniel Schröer++ <https://rt.cpan.org/Ticket/Display.html?id=129650> 1.005_003 2019-02-26 [ Test Suite ] - Improve test coverage. [ Other ] - Fix Types::Standard's LazyLoad implementation. 1.005_002 2019-01-29 - Added: Type::Params named_to_list feature. <https://rt.cpan.org/Ticket/Display.html?id=128337> 1.005_001 2019-01-23 - Added: Type::Library now supports `of` and `where` options when importing type constraints. 1.005_000 2019-01-20 [ Bug Fixes ] - Fix spelling in error message for Types::Common::String LowerCaseSimpleStr. Robert Rothenberg++ <https://github.com/tobyink/p5-type-tiny/pull/47> [ Documentation ] - Fix Type::Params documentation error. Nelo Onyiah++ <https://github.com/tobyink/p5-type-tiny/pull/45> - Fix Types::Standard documentation error: incorrect third-party module name. Nelo Onyiah++ <https://github.com/tobyink/p5-type-tiny/pull/46> - Minor correction to POD header for Type::Params Jonas B Nielsen++ <https://github.com/tobyink/p5-type-tiny/pull/43> [ Packaging ] - Bump minimum required version of Exporter::Tiny to 1.000000. [ Other ] - Added: Type::Params multisig function now supports custom error messages. Benct Philip Jonsson++ <https://github.com/tobyink/p5-type-tiny/pull/44> - Added: Types::Standard ArrayRef parameterized type can now take a second parameter, the minimum array length. - Better implementation of is_subtype_of/is_supertype_of and related functions. - Eval::TypeTiny's API is now considered to be stable. - Tidy up Type::Tiny namespace a little by fully-referencing some functions instead of importing them. - Tweaks to Type::Tiny and Type::Coercion to avoid unnecessarily loading overload.pm and overloading.pm. - Type::Params signatures with slurpy hashrefs now allow true hashrefs to be passed to them. - Types::TypeTiny::TypeTiny->has_coercion is now true. OBS-URL: https://build.opensuse.org/request/show/748593 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Type-Tiny?expand=0&rev=19
2019-11-14 17:02:22 +00:00
Recommends: perl(Type::Tiny::XS) >= 0.016
%{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
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%defattr(-,root,root,755)
%doc Changes CONTRIBUTING COPYRIGHT CREDITS doap.ttl examples NEWS README
%license LICENSE
%changelog