From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id +NEtIb3KemT1WQEASxT56A (envelope-from ) for ; Sat, 03 Jun 2023 07:08:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id OPdIIL3KemQZ4wAAG6o9tA (envelope-from ) for ; Sat, 03 Jun 2023 07:08:13 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 421C53E4C4 for ; Sat, 3 Jun 2023 07:08:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5JTq-0003ge-5C; Sat, 03 Jun 2023 01:07:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q5JTk-0003c3-To for guix-patches@gnu.org; Sat, 03 Jun 2023 01:07:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q5JTi-00037X-Ux for guix-patches@gnu.org; Sat, 03 Jun 2023 01:07:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5JTi-0000LZ-O6 for guix-patches@gnu.org; Sat, 03 Jun 2023 01:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63866] [PATCH 01/16] gnu: Add perl-ref-util. Resent-From: gemmaro Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Jun 2023 05:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63866 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63866@debbugs.gnu.org Cc: gemmaro Received: via spool by 63866-submit@debbugs.gnu.org id=B63866.16857688021125 (code B ref 63866); Sat, 03 Jun 2023 05:07:02 +0000 Received: (at 63866) by debbugs.gnu.org; 3 Jun 2023 05:06:42 +0000 Received: from localhost ([127.0.0.1]:41312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5JTO-0000Hz-3L for submit@debbugs.gnu.org; Sat, 03 Jun 2023 01:06:42 -0400 Received: from mail-oa1-f54.google.com ([209.85.160.54]:56512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5JTJ-0000HS-6E for 63866@debbugs.gnu.org; Sat, 03 Jun 2023 01:06:40 -0400 Received: by mail-oa1-f54.google.com with SMTP id 586e51a60fabf-1a1b95cc10eso3041518fac.0 for <63866@debbugs.gnu.org>; Fri, 02 Jun 2023 22:06:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685768791; x=1688360791; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WEGGkIMG5ICBWOTfw6/8ySMPmjiXFBPdq2bUgfI5FCQ=; b=cWUk1tAl81OwnvS7LAHd8GvkisaysRRaFHNAx7TFZIrcFhKMvCsklkxpkYcYscJX6h UCaXWsNcKt0KmxM3yDu0wAEguJwMSm2Nh/t44doe6qiM9LJGQpdj53UFDtyDuf+fzwjx 2Xkxy+x612FPNTk8jP23b3rBNBubR4Ezc9AE0kjBdHnTP5lw3Q4vhUQdwAnmPxmvpAWt ntdGQ6mJfsytjLxxFZznAW2zITvJncZA5ozuzeir2aTnGBEQW38mvxGYVc2UVixQ+TZj A91sOzIcQfSReXdKXrkAZycCUHVSj5sVUtqKx6zBdvRgrCirUXNd1ejk/rbzHyuUHSfh hLOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685768791; x=1688360791; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=WEGGkIMG5ICBWOTfw6/8ySMPmjiXFBPdq2bUgfI5FCQ=; b=azZ6nZJv4ANT/b6sIyXr1USFem3a+Bji+8v0VY9q1L+eYgrsaWUY833RSue7QpoipV +VAI7TLSNhvo8d/2kiEZGBFKBNs4TcVadmxF7gLBu9nElD0p8c7ZWxSQOESEJYr3my0u 9tYJDs2QiMOxI3t11U32NL+NMeuibB3JWrfWjGT+rjGG4+wbN8EljnEqIWP7Fko8xsYQ PM2uvwdgPeCN3UJXZrzE3Dl2Z7jixI6uF9Vd30zqvlR/gymxY/4MAS7P3ayDYhoPgZ/H SzxlsPMuN3x27l/2t6N4KkyjFavvZlnPrjJj+YEiYZmYhAB2HY/pf+DqeQ3pmjLXMAfg h1FA== X-Gm-Message-State: AC+VfDx905Hyf951NobHiTqkn+tID8cLl9A/QosnnQT+Rb4P4phUsYLT 0ekf5/6xvyeFoEgCg4DKGfJn1nPMuKCRCg== X-Google-Smtp-Source: ACHHUZ6ZfvNs03jnmfyjdrRLcRykMCmKUeMng0EQtGbgjBdChpnVCHZadjyhZv7VJoTVEBJN71Io3w== X-Received: by 2002:a05:6870:e145:b0:1a2:ae9a:749c with SMTP id z5-20020a056870e14500b001a2ae9a749cmr2520840oaa.42.1685768791046; Fri, 02 Jun 2023 22:06:31 -0700 (PDT) Received: from mac.gemmaro.name ([240f:74:d1f0:1:ba1:e787:c9e:b1dc]) by smtp.gmail.com with ESMTPSA id l184-20020a6325c1000000b0053fbacdaf59sm2021897pgl.69.2023.06.02.22.06.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Jun 2023 22:06:30 -0700 (PDT) From: gemmaro Date: Sat, 3 Jun 2023 14:05:36 +0900 Message-Id: X-Mailer: git-send-email 2.40.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1685768893; a=rsa-sha256; cv=none; b=nbkbSPKHdkZuzYG8fjU8fxfCsLCevXZrCBcS5RHQKD9DK9f3/2Hwr524vjlBdItuJQyHHV sbEPC3G/h6mrCtO5r6QVL0qxfhcHkS/DavFdgUogv11gZIKr9v5KMjZf2urW6AbLleYlEj JvSH3yMmnIZ/KNn0x2KBwe+cUswvj+TPR/1TGTuCXnakMtU1sxw0HU8BHxUj0LyYc29zUw KZIrTEKSOUoNOYlCtM5htnNSwqLqdko0l7Q9Ufpj8RkFvmMoiNRmDGcna7SMzhZFK4zTdo NDb3OZGFAUHHwVrzKULq4zmye/O3HKQgLJK62u9u4m8eXo4PIt7xjCBRvqMSmw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=cWUk1tAl; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1685768893; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WEGGkIMG5ICBWOTfw6/8ySMPmjiXFBPdq2bUgfI5FCQ=; b=P+/4Wkg1dHXvGpefcbcFRIK2fYqvjfAeyHfKk8YvZJSwnqpfHMc2xFvdnQdmUkS9LUI81U 4LuSVfS0SRwxIz6vkI6W7F7+PtUotWT2uqTAW1cFVo5nVvYSJAqZzUWcZfQo241nSneWlQ rQY0ZthOrsc2LphA7N/YHfTjeTCRnTt4ky0dqkilNVdfbZcX0UNhQftrquhL33ABQiGjlU ZmBru/ZC5pEv+pSp2YYgQB+HCNxPBFiyNi8u99YVosoZdAafY43FPMD9TVuCFlxZXjHWc9 fFCD3VAfmGG7Rw/2vp1H3j7+1EQ600PutftnZQ6JwrSjKSnkaHt49ColrO3koA== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=cWUk1tAl; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -3.17 X-Spam-Score: -3.17 X-Migadu-Queue-Id: 421C53E4C4 X-TUID: LIzn9Q7NngcZ * gnu/packages/perl.scm (perl-ref-util): New variable. --- gnu/packages/perl.scm | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index d7312372de0..63144f27b2d 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -33,7 +33,7 @@ ;;; Copyright © 2021 Raghav Gururajan ;;; Copyright © 2021 Maxime Devos ;;; Copyright © 2022 Evgeny Pisemsky -;;; Copyright © 2022 gemmaro +;;; Copyright © 2022, 2023 gemmaro ;;; Copyright © 2023 Mădălin Ionel Patrașcu ;;; Copyright © 2023 Andreas Enge ;;; Copyright © 2023 Jake Leporte @@ -9153,6 +9153,36 @@ (define-public perl-readonly-xs the scalar's @code{FLAGS} structure.") (license license:perl-license))) +(define-public perl-ref-util + (package + (name "perl-ref-util") + (version "0.204") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/A/AR/ARC/Ref-Util-" version + ".tar.gz")) + (sha256 + (base32 + "1q85y5lzgl8wz5qnz3j6mch2fmllr668h54wszaz6i6gp8ysfps1")))) + (build-system perl-build-system) + (native-inputs (list perl-readonly)) + (propagated-inputs (list perl-ref-util-xs)) + (home-page "https://metacpan.org/release/Ref-Util") + (synopsis "Utility functions for checking references") + (description + "@code{Ref::Util} introduces several functions to help identify references in +a smarter (and usually faster) way. The difference with conventional approach: +@itemize +@item No comparison against a string constant +@item Supports blessed variables +@item Supports tied variables and magic +@item Ignores overloading +@item Ignores subtle types +@item Usually faster +@end itemize") + (license license:x11))) + (define-public perl-ref-util-xs (package (name "perl-ref-util-xs") -- 2.40.1