From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1egD8C-0002bo-Ec for guix-patches@gnu.org; Mon, 29 Jan 2018 12:22:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1egD88-0008D3-FA for guix-patches@gnu.org; Mon, 29 Jan 2018 12:22:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:40212) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1egD88-0008Cf-BY for guix-patches@gnu.org; Mon, 29 Jan 2018 12:22:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1egD88-0008Qw-4T for guix-patches@gnu.org; Mon, 29 Jan 2018 12:22:04 -0500 Subject: [bug#30274] [PATCH 03/24] gnu: Add perl-pod-constants. Resent-Message-ID: From: Oleg Pykhalov Date: Mon, 29 Jan 2018 20:20:15 +0300 Message-Id: <20180129172036.21133-4-go.wigust@gmail.com> In-Reply-To: <20180129172036.21133-1-go.wigust@gmail.com> References: <20180128184828.32395-21-go.wigust@gmail.com> <20180129172036.21133-1-go.wigust@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 30274@debbugs.gnu.org * gnu/packages/perl.scm (perl-pod-constants): New public variable. --- gnu/packages/perl.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm index 0894144f9..2207b6d67 100644 --- a/gnu/packages/perl.scm +++ b/gnu/packages/perl.scm @@ -8861,3 +8861,29 @@ A summary of features for comparison to other file finding modules: As a convenience, the PIR module is an empty subclass of this one that is less arduous to type for one-liners.") (license asl2.0))) + +(define-public perl-pod-constants + (package + (name "perl-pod-constants") + (version "0.19") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://cpan/authors/id/M/MG/MGV/Pod-Constants-" + version ".tar.gz")) + (sha256 + (base32 + "1njgr2zly9nrwvfrjhgk9dqq48as1pmbb2rs4bh3irvla75v7azg")))) + (build-system perl-build-system) + (home-page "http://search.cpan.org/dist/Pod-Constants/") + (synopsis "Include constants from POD") + (description "This module allows you to specify those constants that +should be documented in your POD, and pull them out a run time in a fairly +arbitrary fashion. + +Pod::Constants uses Pod::Parser to do the parsing of the source file. It has +to open the source file it is called from, and does so directly either by +lookup in %INC or by assuming it is $0 if the caller is @code{main} +(or it can't find %INC{caller()}).") + (license artistic2.0))) -- 2.15.1