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 yP2eIqHNfGRz7AAASxT56A (envelope-from ) for ; Sun, 04 Jun 2023 19:45:05 +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 YLjjIaHNfGTMewEAG6o9tA (envelope-from ) for ; Sun, 04 Jun 2023 19:45:05 +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 051FA14C30 for ; Sun, 4 Jun 2023 19:45:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q5rmh-0005BW-39; Sun, 04 Jun 2023 13:44:55 -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 1q5rmP-0004u0-Uz for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:38 -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 1q5rm5-0002FH-2r for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:34 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q5rm4-0000tN-Vc for guix-patches@gnu.org; Sun, 04 Jun 2023 13:44:16 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63894] [PATCH 30/55] gnu: Add perl-package-variant. Resent-From: Antero Mejr Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 04 Jun 2023 17:44:16 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63894 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63894@debbugs.gnu.org Received: via spool by 63894-submit@debbugs.gnu.org id=B63894.16859006272877 (code B ref 63894); Sun, 04 Jun 2023 17:44:16 +0000 Received: (at 63894) by debbugs.gnu.org; 4 Jun 2023 17:43:47 +0000 Received: from localhost ([127.0.0.1]:47209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5rla-0000kI-I0 for submit@debbugs.gnu.org; Sun, 04 Jun 2023 13:43:46 -0400 Received: from mout-p-102.mailbox.org ([80.241.56.152]:60988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q5rlU-0000hn-L2 for 63894@debbugs.gnu.org; Sun, 04 Jun 2023 13:43:41 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4QZ3xd29z1z9sVN for <63894@debbugs.gnu.org>; Sun, 4 Jun 2023 19:43:33 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1685900613; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HUbfb9Ru865n5A6qlqotfaIv4wAVVZJY9MUQy3IqFfI=; b=vsVb97DlIwBH5LyKDSzjucZu6lBHIvJ+hBu+VFKKbPBTZ/yJtSWhHcgBjDyVQngMyZneVd COs03g+9ICLAyY7aohAt235KqXsXWIgZm+EJDpQ9DJGosVElCXAdWqIo+mqEBR3E/eTK5E tOrycaeNKoS/nONkFqWPOdVHG71V9kfxsWyPic+VU8Z4s7wQ4yruD61iBaF9dGu0jsnfmZ KtyFI1L1Ln22ovChwksTfUaROUH5gbVKHK6IZ9bO3gh3NcHv/VxvsnCwfmIc7tsT/MAZvS VBv51eFLiE3FEItoG4qT0dWE5J+TAm20Joba1Xjs3d/mPvtwjPqzB6XQIOLR5g== Date: Sun, 4 Jun 2023 17:42:24 +0000 Message-Id: <20230604174249.30044-30-antero@mailbox.org> In-Reply-To: <20230604174249.30044-1-antero@mailbox.org> References: <20230604174249.30044-1-antero@mailbox.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MBO-RS-META: j94t6fmoiyqh99thbc91ntz56jc5pikw X-MBO-RS-ID: 665858f9dca1bc49d1e 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: , Reply-to: Antero Mejr X-ACL-Warn: , Antero Mejr via Guix-patches From: Antero Mejr via Guix-patches via 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=1685900705; a=rsa-sha256; cv=none; b=f+zU3j+dZQYG9MiaZJYXhduzgLbY5S25V4x6uZBEgFYCwydF+u53GZBqWlyDeam7ZYowTe E8Jb/oV7gDzK0NDX1HyjHecyjTJrcGBlg2i26u8p95V+OV233HKHG9/kQPVfp2mlqdSlsz Jr8PChlCW86BosKtvEMBkBrGnbUPHfDoBWCTWuwrdikYEkm3ZVfkBtehW5nGUoQtsKOUYr qcswW0ASHYVbiWgjzJSM+0IFLPrjABpWX4Qbijo4e4Bp9W0NE2t4z5FnXJnEepJpUM8vxV QPsC1kXgpq1p4lcdZ0DGbV0HVLQCIVDbq+/Ns1cc82lSXhgUGI0ZeKB8nrNbtw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=vsVb97Dl; dmarc=pass (policy=none) header.from=gnu.org; 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=1685900705; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: 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=HUbfb9Ru865n5A6qlqotfaIv4wAVVZJY9MUQy3IqFfI=; b=i3ZNT5uk5GsTQNh+7hRwi+dCvAOjGFo+YlhlqY0FP92Rikh/5d2/tHgyDio7decyLLF6Fa f5tz0issh4BLB4WOU2dDo4FvQzTe96dUuvmG/EJUt0zTrBrDSmVoL/KK8crid87iOtxJPR eXBz+QUufkJdUnpG4S7TMb7BEEKA60UApGWEqW0geCie0/992KV9IqOsZlzeVSZGcMP1tu aD9Hnz4rqolYjUCyM6Tb/bdvLUGjbRCzsWPphDCNWLOxMWwPmM3hm4vWCJh3OyIz+eXeA/ YwoJI4XI7/Qx1J45mHPkaO2RpqrdVVEVL0GjaAED34aMZl8BWPysOrekaJeHJA== Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mailbox.org header.s=mail20150812 header.b=vsVb97Dl; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.68 X-Spam-Score: -2.68 X-Migadu-Queue-Id: 051FA14C30 X-TUID: tO2BS2fQ0dS1 * gnu/packages/perl.scm (perl-package-variant): New variable. --- gnu/packages/perl.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index afcc708458..714f31ccea 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -8899,6 +8899,36 @@ (define-public perl-package-stash-xs compiler.") (license (package-license perl)))) +(define-public perl-package-variant + (package + (name "perl-package-variant") + (version "1.003002") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/M/MS/MSTROUT/Package-Variant-" + version ".tar.gz")) + (sha256 + (base32 + "1p1n2ny5fb15bcbykyn523w6sv968gqs7nhjfm36dpac5yfq9vdj")))) + (build-system perl-build-system) + (native-inputs (list perl-moo perl-test-fatal perl-test-most)) + (propagated-inputs (list perl-carp + perl-import-into + perl-module-runtime + perl-strictures-2)) + (home-page "https://metacpan.org/release/Package-Variant") + (synopsis "Parameterizable packages") + (description + "This module allows you to build a variable package that contains a +package template and can use it to build variant packages at runtime. Your +variable package will export a subroutine which will build a variant package, +combining its arguments with the template, and return the name of the new +variant package. The implementation does not care about what kind of packages +it builds, be they simple function exporters, classes, singletons or something +else.") + (license license:perl-license))) + (define-public perl-padwalker (package (name "perl-padwalker") -- 2.39.2