7 Commits

Author SHA256 Message Date
e1eb87fced Add Gitea build results 2025-08-12 18:17:09 +02:00
15688479a0 Accepting request 1288171 from devel:languages:perl
Forwarded request #1288033 from tinita

- updated to 0.510.0 (0.51)
   see /usr/share/doc/packages/perl-Specio/Changes
  0.51     2025-06-19
  - Made it possible to force Specio to only use pure Perl dependencies by setting the
    SPECIO_IMPLEMENTATION environment variable to "PP". Requested by @arodland (Andrew Rodland). GH
    #23.

OBS-URL: https://build.opensuse.org/request/show/1288171
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Specio?expand=0&rev=13
2025-06-27 21:00:28 +00:00
7df47c797a Accepting request 1288033 from devel:languages:perl:autoupdate
- updated to 0.510.0 (0.51)
   see /usr/share/doc/packages/perl-Specio/Changes
  0.51     2025-06-19
  - Made it possible to force Specio to only use pure Perl dependencies by setting the
    SPECIO_IMPLEMENTATION environment variable to "PP". Requested by @arodland (Andrew Rodland). GH
    #23.

OBS-URL: https://build.opensuse.org/request/show/1288033
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Specio?expand=0&rev=32
2025-06-24 07:17:03 +00:00
55978260f1 Accepting request 1247152 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1247152
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Specio?expand=0&rev=12
2025-02-20 15:27:39 +00:00
e3f2ef4fb5 Accepting request 1247065 from devel:languages:perl:autoupdate
- updated to 0.500.0 (0.50)
   see /usr/share/doc/packages/perl-Specio/Changes
  0.50     2025-02-18
  - Fixed a bug in the Int type that caused it to accept numbers like 124512.000000000123, which when
    stringified, are stringified as integers.

OBS-URL: https://build.opensuse.org/request/show/1247065
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Specio?expand=0&rev=30
2025-02-19 15:33:31 +00:00
70cc98c39f Accepting request 1236290 from devel:languages:perl
OBS-URL: https://build.opensuse.org/request/show/1236290
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-Specio?expand=0&rev=11
2025-01-12 10:09:35 +00:00
ce22f5a828 Accepting request 1235428 from devel:languages:perl:autoupdate
- updated to 0.490.0 (0.49)
   see /usr/share/doc/packages/perl-Specio/Changes
  0.49     2024-12-23
  - Attempting to import any structured type caused a confusing "Can't store CODE items"
    error. Reported by Kerin Millar.
  - Removed the "this is alpha" warning from Specio::Library::Structured. Given that I don't plan on
    making any major changes to this module, it's as production-ready as it's going to get.

OBS-URL: https://build.opensuse.org/request/show/1235428
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Specio?expand=0&rev=28
2025-01-09 16:30:30 +00:00
5 changed files with 113 additions and 13 deletions

12
README.md Normal file
View File

@@ -0,0 +1,12 @@
## Build Results
Current state of perl in openSUSE:Factory is
![Factory build results](https://br.opensuse.org/status/openSUSE:Factory/perl-Specio/standard)
The current state of perl in the devel project build (devel:languages:perl)
![Devel project build results](https://br.opensuse.org/status/devel:languages:perl/perl-Specio)

BIN
Specio-0.48.tar.gz (Stored with Git LFS)

Binary file not shown.

3
Specio-0.51.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:505f5de28bee55545b9ec0c45c1d5e4ae568d4f5dbb5e8eabe9d980cb9b68f93
size 133033

View File

@@ -1,3 +1,39 @@
-------------------------------------------------------------------
Fri Jun 20 05:34:49 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.510.0 (0.51)
see /usr/share/doc/packages/perl-Specio/Changes
0.51 2025-06-19
- Made it possible to force Specio to only use pure Perl dependencies by setting the
SPECIO_IMPLEMENTATION environment variable to "PP". Requested by @arodland (Andrew Rodland). GH
#23.
-------------------------------------------------------------------
Wed Feb 19 05:34:05 UTC 2025 - Tina Müller <timueller+perl@suse.de>
- updated to 0.500.0 (0.50)
see /usr/share/doc/packages/perl-Specio/Changes
0.50 2025-02-18
- Fixed a bug in the Int type that caused it to accept numbers like 124512.000000000123, which when
stringified, are stringified as integers.
-------------------------------------------------------------------
Tue Dec 24 05:34:28 UTC 2024 - Tina Müller <timueller+perl@suse.de>
- updated to 0.490.0 (0.49)
see /usr/share/doc/packages/perl-Specio/Changes
0.49 2024-12-23
- Attempting to import any structured type caused a confusing "Can't store CODE items"
error. Reported by Kerin Millar.
- Removed the "this is alpha" warning from Specio::Library::Structured. Given that I don't plan on
making any major changes to this module, it's as production-ready as it's going to get.
-------------------------------------------------------------------
Sun Jun 12 03:07:32 UTC 2022 - Tina Müller <timueller+perl@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package perl-Specio
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,22 +18,29 @@
%define cpan_name Specio
Name: perl-Specio
Version: 0.48
Version: 0.510.0
Release: 0
# 0.51 -> normalize -> 0.510.0
%define cpan_version 0.51
License: Artistic-2.0
Summary: Type constraints and coercions for Perl
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{version}.tar.gz
Source0: https://cpan.metacpan.org/authors/id/D/DR/DROLSKY/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(Clone)
BuildRequires: perl(Clone::Choose)
BuildRequires: perl(Clone::PP)
BuildRequires: perl(Devel::StackTrace)
BuildRequires: perl(Eval::Closure)
BuildRequires: perl(List::Util) >= 1.33
BuildRequires: perl(MRO::Compat)
BuildRequires: perl(Module::Implementation)
BuildRequires: perl(Module::Runtime)
BuildRequires: perl(Role::Tiny) >= 1.003003
BuildRequires: perl(Role::Tiny) >= 1.3.3
BuildRequires: perl(Role::Tiny::With)
BuildRequires: perl(Sub::Quote)
BuildRequires: perl(Test::Fatal)
@@ -43,12 +50,16 @@ BuildRequires: perl(Try::Tiny)
BuildRequires: perl(XString)
BuildRequires: perl(parent)
BuildRequires: perl(version) >= 0.83
Requires: perl(Clone)
Requires: perl(Clone::Choose)
Requires: perl(Clone::PP)
Requires: perl(Devel::StackTrace)
Requires: perl(Eval::Closure)
Requires: perl(List::Util) >= 1.33
Requires: perl(MRO::Compat)
Requires: perl(Module::Implementation)
Requires: perl(Module::Runtime)
Requires: perl(Role::Tiny) >= 1.003003
Requires: perl(Role::Tiny) >= 1.3.3
Requires: perl(Role::Tiny::With)
Requires: perl(Sub::Quote)
Requires: perl(Test::Fatal)
@@ -57,6 +68,49 @@ Requires: perl(Try::Tiny)
Requires: perl(XString)
Requires: perl(parent)
Requires: perl(version) >= 0.83
Provides: perl(Specio) = %{version}
Provides: perl(Specio::Coercion) = %{version}
Provides: perl(Specio::Constraint::AnyCan) = %{version}
Provides: perl(Specio::Constraint::AnyDoes) = %{version}
Provides: perl(Specio::Constraint::AnyIsa) = %{version}
Provides: perl(Specio::Constraint::Enum) = %{version}
Provides: perl(Specio::Constraint::Intersection) = %{version}
Provides: perl(Specio::Constraint::ObjectCan) = %{version}
Provides: perl(Specio::Constraint::ObjectDoes) = %{version}
Provides: perl(Specio::Constraint::ObjectIsa) = %{version}
Provides: perl(Specio::Constraint::Parameterizable) = %{version}
Provides: perl(Specio::Constraint::Parameterized) = %{version}
Provides: perl(Specio::Constraint::Role::CanType) = %{version}
Provides: perl(Specio::Constraint::Role::DoesType) = %{version}
Provides: perl(Specio::Constraint::Role::Interface) = %{version}
Provides: perl(Specio::Constraint::Role::IsaType) = %{version}
Provides: perl(Specio::Constraint::Simple) = %{version}
Provides: perl(Specio::Constraint::Structurable) = %{version}
Provides: perl(Specio::Constraint::Structured) = %{version}
Provides: perl(Specio::Constraint::Union) = %{version}
Provides: perl(Specio::Declare) = %{version}
Provides: perl(Specio::DeclaredAt) = %{version}
Provides: perl(Specio::Exception) = %{version}
Provides: perl(Specio::Exporter) = %{version}
Provides: perl(Specio::Helpers) = %{version}
Provides: perl(Specio::Library::Builtins) = %{version}
Provides: perl(Specio::Library::Numeric) = %{version}
Provides: perl(Specio::Library::Perl) = %{version}
Provides: perl(Specio::Library::String) = %{version}
Provides: perl(Specio::Library::Structured) = %{version}
Provides: perl(Specio::Library::Structured::Dict) = %{version}
Provides: perl(Specio::Library::Structured::Map) = %{version}
Provides: perl(Specio::Library::Structured::Tuple) = %{version}
Provides: perl(Specio::OO) = %{version}
Provides: perl(Specio::PP) = %{version}
Provides: perl(Specio::PartialDump) = %{version}
Provides: perl(Specio::Registry) = %{version}
Provides: perl(Specio::Role::Inlinable) = %{version}
Provides: perl(Specio::Subs) = %{version}
Provides: perl(Specio::TypeChecks) = %{version}
Provides: perl(Specio::XS) = %{version}
Provides: perl(Test::Specio) = %{version}
%undefine __perllib_provides
Recommends: perl(Ref::Util) >= 0.112
Recommends: perl(Sub::Util) >= 1.40
%{perl_requires}
@@ -73,12 +127,10 @@ to apply a type to a variable at all.
Instead, you can explicitly check a value against a type, and optionally
coerce values to that type.
My long-term goal is to replace Moose's built-in types and MooseX::Types
with this module.
%prep
%autosetup -n %{cpan_name}-%{version}
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -name "configure" -print0 | xargs -0 chmod 644
%autosetup -n %{cpan_name}-%{cpan_version} -p1
find . -type f ! -path "*/t/*" ! -name "*.pl" ! -path "*/bin/*" ! -path "*/script/*" ! -path "*/scripts/*" ! -name "configure" -print0 | xargs -0 chmod 644
%build
perl Makefile.PL INSTALLDIRS=vendor