Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Sep 2015 04:25:56 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397213 - head/devel/p5-Mouse
Message-ID:  <201509180425.t8I4Pu1b021304@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Fri Sep 18 04:25:55 2015
New Revision: 397213
URL: https://svnweb.freebsd.org/changeset/ports/397213

Log:
  Update to 2.4.5 and freshen. Turns out this port has been outdated for
  months, but it wasn't being picked up because they stuck a 'v' before
  the version for.... reasons I'm sure.
  
  - Remove the pkg-message advising installing MRO::Compat, which is a
    no-op on perl > 5.9.5
  - Add stuff to TEST_DEPENDS to enable the full test suite
  - Add NO_ARCH
  - Strip the library
  - Rewrite pkg-descr with the currently-used text, which is clearer
  - While there, update WWW to metacpan

Deleted:
  head/devel/p5-Mouse/pkg-message
Modified:
  head/devel/p5-Mouse/Makefile
  head/devel/p5-Mouse/distinfo
  head/devel/p5-Mouse/pkg-descr

Modified: head/devel/p5-Mouse/Makefile
==============================================================================
--- head/devel/p5-Mouse/Makefile	Fri Sep 18 03:24:57 2015	(r397212)
+++ head/devel/p5-Mouse/Makefile	Fri Sep 18 04:25:55 2015	(r397213)
@@ -2,11 +2,12 @@
 # $FreeBSD$
 
 PORTNAME=	Mouse
-PORTVERSION=	2.4.2
+PORTVERSION=	2.4.5
+DISTVERSIONPREFIX=	v
 PORTEPOCH=	1
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
-MASTER_SITE_SUBDIR=	CPAN:GFUJI
+MASTER_SITE_SUBDIR=	CPAN:SYOHEX
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	perl@FreeBSD.org
@@ -17,8 +18,10 @@ LICENSE_COMB=	dual
 
 BUILD_DEPENDS=	p5-Module-Build-XSUtil>=0:${PORTSDIR}/devel/p5-Module-Build-XSUtil
 TEST_DEPENDS=	p5-Declare-Constraints-Simple>=0:${PORTSDIR}/devel/p5-Declare-Constraints-Simple \
+		p5-HTTP-Message>=0:${PORTSDIR}/www/p5-HTTP-Message \
 		p5-IO-String>=0:${PORTSDIR}/devel/p5-IO-String \
 		p5-Locale-US>=0:${PORTSDIR}/misc/p5-Locale-US \
+		p5-Params-Coerce>=0:${PORTSDIR}/devel/p5-Params-Coerce \
 		p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \
 		p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common \
 		p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep \
@@ -26,9 +29,14 @@ TEST_DEPENDS=	p5-Declare-Constraints-Sim
 		p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \
 		p5-Test-LeakTrace>=0:${PORTSDIR}/devel/p5-Test-LeakTrace \
 		p5-Test-Output>=0:${PORTSDIR}/devel/p5-Test-Output \
-		p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires 
+		p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires \
+		p5-URI>=0:${PORTSDIR}/net/p5-URI
 
 USES=		perl5
 USE_PERL5=	modbuild
+NO_ARCH=	yes
+
+post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Mouse/Mouse.so
 
 .include <bsd.port.mk>

Modified: head/devel/p5-Mouse/distinfo
==============================================================================
--- head/devel/p5-Mouse/distinfo	Fri Sep 18 03:24:57 2015	(r397212)
+++ head/devel/p5-Mouse/distinfo	Fri Sep 18 04:25:55 2015	(r397213)
@@ -1,2 +1,2 @@
-SHA256 (Mouse-2.4.2.tar.gz) = c24fb4bf635ebfe3d646611656bb1665c4c66fd1052fb0ab8bde97488a3455f1
-SIZE (Mouse-2.4.2.tar.gz) = 220865
+SHA256 (Mouse-v2.4.5.tar.gz) = 14223cf0864e307e674e39c0b109398d2fb6289d245f273177810b878cbe8db8
+SIZE (Mouse-v2.4.5.tar.gz) = 221446

Modified: head/devel/p5-Mouse/pkg-descr
==============================================================================
--- head/devel/p5-Mouse/pkg-descr	Fri Sep 18 03:24:57 2015	(r397212)
+++ head/devel/p5-Mouse/pkg-descr	Fri Sep 18 04:25:55 2015	(r397213)
@@ -1,22 +1,13 @@
-Moose is wonderful.  Use Moose instead of Mouse!
+Moose is a postmodern object system for Perl5. Moose is wonderful.
 
-Unfortunately, Moose has a compile-time penalty. Though significant progress has
-been made over the years, the compile time penalty is a non-starter for some
-applications.
+Unfortunately, Moose has a compile-time penalty. Though significant progress
+has been made over the years, the compile time penalty is a non-starter for
+some very specific applications. If you are writing a command-line application
+or CGI script where startup time is essential, you may not be able to use Moose
+(we recommend that you instead use persistent Perl executing environments like
+FastCGI for the latter, if possible).
 
-Mouse aims to alleviate this by providing a subset of Moose's functionality,
-faster.
+Mouse is a Moose compatible object system, which aims to alleviate this penalty
+by providing a subset of Moose's functionality.
 
-Compatibility with Moose has been the utmost concern. Fewer than 1% of the
-tests fail when run against Moose instead of Mouse. Mouse code coverage is also
-over 97%. Even the error messages are taken from Moose. The Mouse code just
-runs the test suite 3x-4x faster.
-
-The idea is that, if you need the extra power, you should be able to run
-s/Mouse/Moose/g on your codebase and have nothing break. To that end,
-we have written Any::Moose which will act as Mouse unless Moose is loaded,
-in which case it will act as Moose.
- 
-Mouse also has the blessings of Moose's author, stevan.
-
-WWW: http://search.cpan.org/dist/Mouse/
+WWW: https://metacpan.org/pod/Mouse



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509180425.t8I4Pu1b021304>