Update to 0.24. Add options.mk file to choose between Mouse and

Moose backends.

0.24      2014-06-23 15:53:03Z
  - fixed bad changelog from last release, doh!

0.23      2014-06-23 13:04:35Z
  - now always prefers Moose if Moo is loaded, to overcome some
    incompatibility issues in subclasses (github #1, Graham Knop)

0.22      2014-06-19 02:30:13Z
  - fix missing =encoding directive in pod
  - canonical repository moved to https://github.com/moose/Any-Moose
This commit is contained in:
wiz 2014-09-06 13:29:55 +00:00
parent 21ec3b0de5
commit 52e3479efe
3 changed files with 28 additions and 9 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.16 2014/05/29 23:35:38 wiz Exp $
# $NetBSD: Makefile,v 1.17 2014/09/06 13:29:55 wiz Exp $
DISTNAME= Any-Moose-0.21
DISTNAME= Any-Moose-0.24
PKGNAME= p5-${DISTNAME}
PKGREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Any/}
@ -11,10 +10,12 @@ HOMEPAGE= http://search.cpan.org/dist/Any-Moose/
COMMENT= Perl extension to check dependencies on Moose or Mouse
LICENSE= ${PERL5_LICENSE}
DEPENDS+= {p5-Moose-[0-9]*,p5-Mouse>=0.40}:../../devel/p5-Mouse
BUILD_DEPENDS+= {p5-MooseX-Types-[0-9]*,p5-MouseX-Types-[0-9]*}:../../devel/p5-MouseX-Types
DEPENDS+= p5-Moo-[0-9]*:../../devel/p5-Moo
DEPENDS+= p5-Role-Tiny-[0-9]*:../../devel/p5-Role-Tiny
PERL5_PACKLIST= auto/Any/Moose/.packlist
.include "options.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.10 2013/08/27 02:28:13 wen Exp $
$NetBSD: distinfo,v 1.11 2014/09/06 13:29:55 wiz Exp $
SHA1 (Any-Moose-0.21.tar.gz) = 50237ad86e160c027c4c0723b017f1f943597869
RMD160 (Any-Moose-0.21.tar.gz) = 0d4c7ccb9bfb8a3779b62d9cb02d6d668e85fddd
Size (Any-Moose-0.21.tar.gz) = 15763 bytes
SHA1 (Any-Moose-0.24.tar.gz) = 91b5a92fcbea984684e2e30b5d458bc22ccc3eb2
RMD160 (Any-Moose-0.24.tar.gz) = d325727293de87e2839a137a1ed00ae8f2ace0f9
Size (Any-Moose-0.24.tar.gz) = 27433 bytes

View file

@ -0,0 +1,18 @@
# $NetBSD: options.mk,v 1.1 2014/09/06 13:29:55 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.p5-Any-Moose
PKG_OPTIONS_REQUIRED_GROUPS= backend
PKG_OPTIONS_GROUP.backend= moose mouse
PKG_SUGGESTED_OPTIONS= moose
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmoose)
DEPENDS+= p5-Moose-[0-9]*:../../devel/p5-Moose
BUILD_DEPENDS+= p5-MooseX-Types>=0.44nb2:../../devel/p5-MooseX-Types
.endif
.if !empty(PKG_OPTIONS:Mmouse)
DEPENDS+= p5-Mouse-[0-9]*:../../devel/p5-Mouse
BUILD_DEPENDS+= p5-MouseX-Types-[0-9]*:../../devel/p5-MouseX-Types
.endif