Gentoo Archives: gentoo-dev

From: David Abbott <dabbott@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] anybody interested in writing a Perl ebuild?
Date: Thu, 24 May 2012 19:34:38
Message-Id: CACs9S6bi5C46yC0z+mv5x1E2rd+BC61J8HVnx26boqzWrwE6RA@mail.gmail.com
In Reply to: Re: [gentoo-dev] anybody interested in writing a Perl ebuild? by Grant
1 On Thu, May 24, 2012 at 3:22 PM, Grant <emailgrant@×××××.com> wrote:
2 >>> DateTime-Format-RFC3339
3 >>
4 >> Ah. The dreaded v-strings.
5 >>
6 >> You'll note: http://cpan.metacpan.org/authors/id/I/IK/IKEGAMI/
7 >>
8 >> That there is a "v" before the version specifier in the problem dist,
9 >> and the portage ebuild has not factored this into the equation, and is
10 >> looking for DateTime-Format-RFC3339-1.0.5.tar.gz     when it should be
11 >> looking for DateTime-Format-RFC3339-v1.0.5.tar.gz
12 >>
13 >> If you can edit the ebuild source to solve this issue, and then re-run
14 >> repoman manifest, that might help. But at least we now know what is
15 >> happening wrong with g-cpan.
16 >>
17 >> In editing, you'll be wanting to look for varibles ( mostly in SRC_URI
18 >> and I think S )  which use "${PV}" and change it to use "v${PV}"
19 >> instead.
20 >
21 > These ebuilds don't seem to have any of those variables:
22 >
23 > # Copyright 1999-2010 Gentoo Foundation
24 > # Distributed under the terms of the GNU General Public License v2
25 > # This ebuild generated by g-cpan 0.16.4
26 >
27 > EAPI="2"
28 >
29 > MODULE_AUTHOR="IKEGAMI"
30 >
31 > inherit perl-module
32 >
33 > DESCRIPTION="Parse and format RFC3339 datetime strings"
34 >
35 > LICENSE="|| ( Artistic GPL-1 GPL-2 GPL-3 )"
36 > SLOT="0"
37 > KEYWORDS="alpha amd64 amd64-fbsd arm hppa ia64 m68k mips ppc ppc64
38 > s390 sh sparc sparc-fbsd x86 x86-fbsd   ppc-aix x86-freebsd
39 > x64-freebsd sparc64-freebsd hppa-hpux ia64-hpux x86-interix
40 > amd64-linux arm-linux ia64-linux ppc64-linux x86-linux ppc-macos
41 > x86-macos x64-macos m68k-mint x86-netbsd ppc-openbsd x86-openbsd
42 > x64-openbsd sparc-solaris sparc64-solaris x64-solaris x86-solaris
43 > x86-winnt x86-cygwin"
44 > IUSE=""
45 >
46 > DEPEND="dev-perl/DateTime
47 >    dev-lang/perl"
48 >
49 > - Grant
50 >
51
52 Hi Grant,
53 See "inherit perl-module" take a look at /usr/portage/eclass/perl-module.eclass
54
55 Regards,
56 David