pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/p5-Package-Variant Adding new package for CPAN m...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efe8ff37b1a8
branches:  trunk
changeset: 610133:efe8ff37b1a8
user:      sno <sno%pkgsrc.org@localhost>
date:      Fri Oct 19 07:50:56 2012 +0000

description:
Adding new package for CPAN module Package::Variant version 1.001002
into devel/p5-Package-Variant.

This module allows you to build packages that return different variations
depending on what parameters are given.

Users of your package will receive a subroutine able to take parameters and
return the name of a suitable variant package. The implmenetation does not
care about what kind of package it builds.

diffstat:

 devel/p5-Package-Variant/DESCR            |   6 ++++++
 devel/p5-Package-Variant/Makefile         |  26 ++++++++++++++++++++++++++
 devel/p5-Package-Variant/distinfo         |   6 ++++++
 devel/p5-Package-Variant/patches/patch-aa |  15 +++++++++++++++
 4 files changed, 53 insertions(+), 0 deletions(-)

diffs (69 lines):

diff -r c86074695c44 -r efe8ff37b1a8 devel/p5-Package-Variant/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Package-Variant/DESCR    Fri Oct 19 07:50:56 2012 +0000
@@ -0,0 +1,6 @@
+This module allows you to build packages that return different variations
+depending on what parameters are given.
+
+Users of your package will receive a subroutine able to take parameters and
+return the name of a suitable variant package. The implmenetation does not
+care about what kind of package it builds.
diff -r c86074695c44 -r efe8ff37b1a8 devel/p5-Package-Variant/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Package-Variant/Makefile Fri Oct 19 07:50:56 2012 +0000
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2012/10/19 07:50:56 sno Exp $
+#
+
+DISTNAME=      Package-Variant-1.001002
+PKGNAME=       p5-${DISTNAME}
+CATEGORIES=    devel perl5
+MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Package/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://search.cpan.org/dist/Package-Variant/
+COMMENT=       Perl5 module wrapper for parameterizable packages
+LICENSE=       ${PERL5_LICENSE}
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+DEPENDS+=      p5-Import-Into>=1.0:../../devel/p5-Import-Into
+DEPENDS+=      p5-Module-Runtime>=0.13:../../devel/p5-Module-Runtime
+DEPENDS+=      p5-strictures>=1.0:../../devel/p5-strictures
+
+BUILD_DEPENDS+=        p5-Test-Fatal-[0-9]*:../../devel/p5-Test-Fatal
+
+PERL5_PACKLIST=        auto/Package/Variant/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c86074695c44 -r efe8ff37b1a8 devel/p5-Package-Variant/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Package-Variant/distinfo Fri Oct 19 07:50:56 2012 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2012/10/19 07:50:56 sno Exp $
+
+SHA1 (Package-Variant-1.001002.tar.gz) = 0fc13842c06807b63d38db616215e84a8621e7c0
+RMD160 (Package-Variant-1.001002.tar.gz) = 488d73420e16d98c572b1cfc0607af3b628893bc
+Size (Package-Variant-1.001002.tar.gz) = 8069 bytes
+SHA1 (patch-aa) = 94fdf9cea2746a70cbc2e8bb102c4af6f498385a
diff -r c86074695c44 -r efe8ff37b1a8 devel/p5-Package-Variant/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Package-Variant/patches/patch-aa Fri Oct 19 07:50:56 2012 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2012/10/19 07:50:57 sno Exp $
+
+# fix module name for proper .packlist location
+
+--- Makefile.PL.orig   2012-09-19 19:48:28.000000000 +0000
++++ Makefile.PL
+@@ -5,7 +5,7 @@ use ExtUtils::MakeMaker;
+ (do 'maint/Makefile.PL.include' or die $@) unless -f 'META.yml';
+ 
+ WriteMakefile(
+-  NAME => 'Package-Variant',
++  NAME => 'Package::Variant',
+   VERSION_FROM => 'lib/Package/Variant.pm',
+   CONFIGURE_REQUIRES => {
+     'ExtUtils::MakeMaker' => '6.55_01', # for BUILD_REQUIRES



Home | Main Index | Thread Index | Old Index