pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-CPAN-DistnameInfo Import p5-CPAN-DistnameInfo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9e4fedba6ac
branches:  trunk
changeset: 549291:d9e4fedba6ac
user:      he <he%pkgsrc.org@localhost>
date:      Thu Oct 30 22:46:49 2008 +0000

description:
Import p5-CPAN-DistnameInfo version 0.06.

Many online services that are centered around CPAN attempt to
associate multiple uploads by extracting a distribution name from
the filename of the upload. For most distributions this is easy as
they have used ExtUtils::MakeMaker or Module::Build to create the
distribution, which results in a uniform name. But sadly not all
uploads are created in this way.

CPAN::DistnameInfo uses heuristics that have been learnt by
http://search.cpan.org/ to extract the distribution name and version
from filenames and also report if the version is to be treated as
a developer release

diffstat:

 devel/p5-CPAN-DistnameInfo/DESCR    |  11 +++++++++++
 devel/p5-CPAN-DistnameInfo/Makefile |  18 ++++++++++++++++++
 devel/p5-CPAN-DistnameInfo/distinfo |   5 +++++
 3 files changed, 34 insertions(+), 0 deletions(-)

diffs (46 lines):

diff -r 8e8e77c27c62 -r d9e4fedba6ac devel/p5-CPAN-DistnameInfo/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-CPAN-DistnameInfo/DESCR  Thu Oct 30 22:46:49 2008 +0000
@@ -0,0 +1,11 @@
+Many online services that are centered around CPAN attempt to
+associate multiple uploads by extracting a distribution name from
+the filename of the upload. For most distributions this is easy as
+they have used ExtUtils::MakeMaker or Module::Build to create the
+distribution, which results in a uniform name. But sadly not all
+uploads are created in this way.
+
+CPAN::DistnameInfo uses heuristics that have been learnt by
+http://search.cpan.org/ to extract the distribution name and version
+from filenames and also report if the version is to be treated as
+a developer release
diff -r 8e8e77c27c62 -r d9e4fedba6ac devel/p5-CPAN-DistnameInfo/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-CPAN-DistnameInfo/Makefile       Thu Oct 30 22:46:49 2008 +0000
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/10/30 22:46:49 he Exp $
+#
+
+DISTNAME=      CPAN-DistnameInfo-0.06
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=CPAN/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/CPAN-DistnameInfo/
+COMMENT=       Perl 5 module to exatract distname and version from distfile
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+PERL5_PACKLIST=        auto/CPAN/DistnameInfo/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8e8e77c27c62 -r d9e4fedba6ac devel/p5-CPAN-DistnameInfo/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-CPAN-DistnameInfo/distinfo       Thu Oct 30 22:46:49 2008 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/10/30 22:46:49 he Exp $
+
+SHA1 (CPAN-DistnameInfo-0.06.tar.gz) = f33bebc150b4818140800c1b30a98c7f504ba083
+RMD160 (CPAN-DistnameInfo-0.06.tar.gz) = f2119e5028890ef450873885b2ce80ad59132a39
+Size (CPAN-DistnameInfo-0.06.tar.gz) = 27303 bytes



Home | Main Index | Thread Index | Old Index