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
This commit is contained in:
parent
70a8fe7019
commit
f9184b491c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397213
4 changed files with 23 additions and 25 deletions
|
@ -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-Simple>=0:${PORTSDIR}/devel/p5-Declare-Cons
|
|||
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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
Note: Install devel/p5-MRO-Compat for increased performance.
|
Loading…
Reference in a new issue