From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1ROsJP-0003Ub-15 for garchives@archives.gentoo.org; Fri, 11 Nov 2011 14:42:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 997D621C0E1; Fri, 11 Nov 2011 14:38:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 66D1121C0DC for ; Fri, 11 Nov 2011 14:38:36 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BD80E1B405E for ; Fri, 11 Nov 2011 14:38:30 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 376B08004B for ; Fri, 11 Nov 2011 14:38:30 +0000 (UTC) From: "Kent Fredric" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Kent Fredric" Message-ID: <646b6fc60a1881c02ca77beb4cc106e77302c3fc.kent@gentoo> Subject: [gentoo-commits] proj/perl-overlay:master commit in: scripts/, scripts/lib/ X-VCS-Repository: proj/perl-overlay X-VCS-Files: scripts/gen_ebuild.pl scripts/lib/deptools.pm X-VCS-Directories: scripts/ scripts/lib/ X-VCS-Committer: kent X-VCS-Committer-Name: Kent Fredric X-VCS-Revision: 646b6fc60a1881c02ca77beb4cc106e77302c3fc Date: Fri, 11 Nov 2011 14:38:30 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 85bda714-022b-4537-8e8d-1251f7e1f787 X-Archives-Hash: c96f956d9f8f5b927d4d9790099b7ca1 commit: 646b6fc60a1881c02ca77beb4cc106e77302c3fc Author: Kent Fredric gmail com> AuthorDate: Fri Nov 11 14:36:54 2011 +0000 Commit: Kent Fredric gmail com> CommitDate: Fri Nov 11 14:36:54 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/perl-overlay.= git;a=3Dcommit;h=3D646b6fc6 [scripts] +Hack for CGI-Simple, add lgpl-2.1 license map --- scripts/gen_ebuild.pl | 9 +++++++-- scripts/lib/deptools.pm | 1 + 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/scripts/gen_ebuild.pl b/scripts/gen_ebuild.pl index d9c3648..ef9c4c7 100755 --- a/scripts/gen_ebuild.pl +++ b/scripts/gen_ebuild.pl @@ -104,14 +104,19 @@ $fh->say("MODULE_AUTHOR=3D" . $release_info->{autho= r}); $fh->say("MODULE_VERSION=3D" . $release_info->{version}); $fh->say('inherit perl-module'); $fh->say(''); - -$fh->say('DESCRIPTION=3D\'' . $release_info->{abstract} . '\''); +if ( not defined $release_info->{abstract} ) {=20 + $fh->say('DESCRIPTION=3D\'' . $release_info->{distribution} . '\''); + warn "Missing an ABSTRACT"; +} else { + $fh->say('DESCRIPTION=3D\'' . $release_info->{abstract} . '\''); +} =20 my $lics =3D []; my $licmap =3D { perl_5 =3D> [qw( Artistic GPL-2 )], apache_2_0 =3D> [qw( Apache-2.0 )], mit =3D> [qw( MIT )], + lgpl_2_1 =3D> [qw( LGPL-2.1 )] }; =20 for my $lic ( @{ $release_info->{license} } ){=20 diff --git a/scripts/lib/deptools.pm b/scripts/lib/deptools.pm index 0a16190..b85c518 100644 --- a/scripts/lib/deptools.pm +++ b/scripts/lib/deptools.pm @@ -47,6 +47,7 @@ sub _vmap_perl_strange { 'Net-Ping' =3D> virtual 'net-ping', 'Pod-Parser' =3D> virtual 'PodParser', 'Config-General' =3D> perl 'config-general', + 'CGI-Simple' =3D> perl 'Cgi-Simple', ); } =20