Subject: [PATCH 02/16] gnu: perl-specio: Update to 0.48.

From: gemmaro <[email-masked]>
Date: Sat, 3 Jun 2023 14:05:37 +0900

* gnu/packages/perl.scm (perl-specio): Update to 0.48.
---
Diff in the description field is due to the guix lint message: "sentences in
description should be followed by two spaces; possible infractions at 185,
314"

 gnu/packages/perl.scm | 23 +++++++++++++----------
 1 file changed, 13 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 63144f27b2d..1d663ed679c 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -9522,7 +9522,7 @@ (define-public perl-sort-naturally
 (define-public perl-specio
   (package
     (name "perl-specio")
-    (version "0.38")
+    (version "0.48")
     (source
      (origin
        (method url-fetch)
@@ -9530,25 +9530,28 @@ (define-public perl-specio
                            "Specio-" version ".tar.gz"))
        (sha256
         (base32
-         "1s5xd9awwrzc94ymimjkxqs6jq513wwlmwwarxaklvg2hk4lps0l"))))
+         "1cl22s0z00jj4nlaz9yfmhi7pxq1s4qr21vkh7q4w9zih0spk18c"))))
     (build-system perl-build-system)
+    (native-inputs (list perl-test-needs))
     (propagated-inputs
      (list perl-devel-stacktrace
            perl-eval-closure
            perl-module-runtime
            perl-mro-compat
-           perl-role-tiny
+           perl-ref-util
+           perl-role-tiny-2
+           perl-sub-quote
            perl-test-fatal
-           perl-test-needs))
+           perl-try-tiny))
     (home-page "https://metacpan.org/release/Specio")
     (synopsis "Classes for representing type constraints and coercion")
     (description "The Specio distribution provides classes for representing type
-constraints and coercion, along with syntax sugar for declaring them.  Note that
-this is not a proper type system for Perl. Nothing in this distribution will
-magically make the Perl interpreter start checking a value's type on assignment
-to a variable. In fact, there's no built-in way 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.")
+constraints and coercion, along with syntax sugar for declaring them.  Note that this
+is not a proper type system for Perl.  Nothing in this distribution will magically
+make the Perl interpreter start checking a value's type on assignment to a variable.
+In fact, there's no built-in way 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.")
     (license license:artistic2.0)))
 
 (define-public perl-spiffy
-- 
2.40.1