pkgsrc changes:
- upstream switched from Module::Build to ExtUtils::MakeMaker
- modify dependency versions
- update license condition
Upstream changes:
1.32 Jun 28, 2010
- Removed Test::Most dependency, which was causing a circular dependency
chain. Reported by Burak Gursoy. RT #58889.
1.31 Jun 26, 2010
- Made it possible to use Exception::Class::Base without loading
Exception::Class. Reported by Alex Peters. RT #57269.
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
Pkgsrc changes:
- Adjust LICENSE
Upstream changes:
1.30 Mar 20, 2010
- Added the ability to create light weight exceptions, which don't record a
stack trace or any other context info (time, pid, etc.). This is done by
setting $class->NoContextInfo to a true value for the exception class. Based
on a patch by Graham Barr. RT #54826.
- Updating package for p5 module Exception::Class from 1.27 to 1.29
- Setting license to gnu-gpl-v2
Upstream changes:
1.29 May 8, 2009
- Make sure that there is only one line that the toolchain can pick up
when looking for this module's $VERSION.
1.28 May 6, 2009
* Removed Exception::Class::Base->do_trace and ->NoObjectRefs, both of
which have been undocumented for many years.
- Moved Exception::Class::Base to its own file, so it doesn't
overwrite the $VERSION in Exception::Class (and for general
sanity). Reported by Kirk Baucom.
- Updating package for p5 module Exception::Class from 1.26 to 1.27
- Adjusting dependencies
Upstream changes:
1.27 May 4, 2009
* The error message for an exception no longer defaults to $!. This
was a bad idea, and has bitten some people. Addresses RT #43600.
* I'm now only supporting Perl 5.8.1+. This module broke on 5.6.2 (and
5.8.0) at some point and I don't really care enough to fix
it. Non-intrusive patches to make it work on 5.8.0 or less (again)
will be accepted.
Pkgsrc changes:
o Canonicalize HOMEPAGE
Upstream changes:
1.26 Oct 25, 2008
- No code changes, just bumped the Devel::StackTrace dependency to
1.20.
The changes in 1.25 exposed a bug in Devel::StackTrace which has now
been fixed. This caused HTML::Mason test failures, among other
things. Reported by Andreas Koenig.
1.25 Oct 21, 2008
- The Exception::Class::Base constructor no longer looks at the
associated Devel::StackTrace object's frames. Avoiding looking at
the frames should make constructing exception objects much
faster. Instead the information based on the stack trace frames -
package(), file(), and line() - is only retrieved when it is
requested. Patch by Ruslan Zakirov. RT #40221.
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
Pkgsrc changes:
- The packages supports installation to DESTDIR.
- No C compiler required.
- Needs more modern version of p5-Devel-StackTrace.
Changes since version 1.23:
===========================
1.24 Mar 30, 2008
- Added a MaxArgLength class parameter to go along with the new
max_arg_length constructor param for Devel::StackTrace
objects. Patch by Ian Burrell.
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
1.22 Sep 30, 2005
- Added Exception::Class::Base->caught() so you can write
"My::Error->caught()". Apparently this is what Damian documented in
Perl Best Practices. Thanks to JD Hedden for pointing this out.
- Require Devel::StackTrace 1.12 to fix a test failure on Win32.
Reported by Garrett Goebel.
1.21 Apr 17, 2005
- Added Exception::Class->caught() as syntactic sugar for catching
exceptions in a "safe" manner. See the docs for details. Suggested
by Damian Conway.
does. This allows us to use dynamic PLISTs for Perl modules that are
built using Module::Build. Bump the PKGREVISION of p5-Module-Build
to 1.
* Drop the use of PERL5_USES_MODULE_BUILD and introduce a new variable
PERL5_MODULE_TYPE that is either "MakeMaker" or "Module::Build" that
names the framework used to build/install the module.
* Split out the variables set in perl5/buildlink3.mk that are also used
by perl5/module.mk into a new file perl5/vars.mk. Move some PERL5_*
variable definitions from pkgsrc/mk/bsd.pkg.use.mk into perl5/vars.mk.
This just centralizes the common PERL5_* definitions into a single
file location.
* Convert the known packages that use Module::Build to set
PERL5_MODULE_TYPE and PERL5_PACKLIST:
devel/p5-Class-Container
devel/p5-Exception-Class
devel/p5-Log-Dispatch
devel/p5-Array-Compare
textproc/p5-Pod-Coverage
www/p5-Apache-Session-Wrapper
www/p5-MasonX-Request-WithApacheSession
1.20 Jan 1, 2005
- Moved the Classes() method to Exception::Class, now as a function,
which is where it really belongs. Also corrected the docs for this
function, as they incorrectly implied that it would return all
subclasses, instead of just subclasses which were created when loading
Exception::Class.
- Added a Build.PL file, and releases are now signed with
Module::Signature.
- Added ignore_class and ignore_package constructor parameters. Patch
by Daisuke Maki.
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
Add DEPENDS on p5-Test-Simple, and update p5-Devel-StackTrace dependency.
Change log:
1.19 Mar 10, 2004
- Identical to 1.18 except that it requires Devel::StackTrace 1.10,
which fixes a failure in this package's test when run with Perl 5.6.1.
Reported by Jesse Erlbaum.
1.18 Feb 21, 2004
- Added RespectOverload class method, which can be used to control the
respect_overload parameter for Devel::StackTrace objects.
1.17 Feb 20, 2004
- Document that new() is always called to create an
Exception::Class::Base object. Suggested by Steve Hay.
- Fix a test that failed with Devel::StackTrace 1.05. Basically, the
test expected output from Devel::StackTrace that reflected a bug that
was fixed in 1.05. Reported by Jesse Vincent.
1.16 Sep 25, 2003
- David Wheeler's patch exposed a bug in Devel::StackTrace which could
cause exceptions to not have any value set for package, file, or line.
This is fixed by depending on Devel::StackTrace 1.04. This release is
otherwise identical to 1.15. Reported by Steve Hay.
1.15 Sep 17, 2003
- Exceptions thrown from an alias subroutine always had
"Exception::Class" as their package name. Patch by David Wheeler.
This module allows you to declare hierarchies of exception classes for
use in your code. It also provides a simple exception class that it
uses as the default base class for all other exceptions.
You may choose to use another base class for your exceptions.
Regardless, the ability to declare all your exceptions at compile time
is a fairly useful trick and helps push people towards more structured
use of exceptions.