Commit graph

14 commits

Author SHA1 Message Date
wiz
a795708e98 Update to 1.23:
1.23 Jan 14, 2006

- Fix code bugs in the SYNOPSIS.

- Exception::Class->caught() now returns $@ if not given an argument.
2006-01-23 21:44:40 +00:00
wiz
7d42e6488d Update to 1.22:
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.
2005-11-23 22:08:36 +00:00
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
jlam
cc44d0be98 * Teach devel/p5-Module-Build to write .packlists just like MakeMaker.pm
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
2005-02-24 22:38:41 +00:00
wiz
0266611694 Update to 1.20:
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.
2005-02-23 16:30:50 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
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.
2004-12-20 11:30:55 +00:00
he
bbd5560895 Update p5-Exception-Class from version 1.14 to 1.19.
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.
2004-12-05 19:14:18 +00:00
snj
67721bd22d Convert to buildlink3. 2004-04-27 04:59:42 +00:00
kristerw
339c0406cb Set MAINTAINER to "tech-pkg" instead of "packages". 2004-01-10 19:00:41 +00:00
jmmv
2b07fc26d8 s/@netbsd.org/@NetBSD.org/ in MAINTAINER. 2003-12-24 09:53:47 +00:00
kim
0e38524d37 Set USE_BUILDLINK2=YES so that ${PERL5_SITEARCH} will be set (for packlist). 2003-10-11 04:10:16 +00:00
he
dd07d64e09 Import p5-Exception-Class version 1.14.
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.
2003-08-30 19:00:01 +00:00