./devel/p5-autobox, Perl 5 module to add methods on native types

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.0.1, Package name: p5-autobox-3.0.1, Maintainer: pkgsrc-users

The Perl 5 module autobox provides an autobox pragma. It allows
methods to be called on integers, floats, strings, arrays, hashes,
and code references in exactly the same manner as blessed references.
The autoboxing is transparent: boxed values are not blessed into
their (user-defined) implementation class (unless the method elects
to bestow such a blessing) - they simply use its methods as though
they are.
The classes (packages) into which the native types are boxed are
fully configurable. By default, a method invoked on a non-object
is assumed to be defined in a class whose name corresponds to the
ref() type of that value - or SCALAR if the value is a non-reference.
This mapping can be overriden by passing key/value pairs to the use
autobox statement, in which the keys represent native types, and
the values their associated classes.


Required to run:
[lang/perl5] [devel/p5-Scope-Guard] [devel/p5-IPC-System-Simple]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

SHA1: 1f9e9952a9e5371ee5b7703523e6789f389c9ad0
RMD160: a6fb5a8f7017cc1d1b21033a63e041a49a214221
Filesize: 85.007 KB

Version history: (Expand)


CVS history: (Expand)


   2018-05-06 08:54:16 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-autobox: update to 3.0.1.

3.0.1 Sat 5 May 20:50:14 2018

    - GH #11: fix version declaration on 5.8 (thanks, Grinnz)

3.0.0 Sat 5 May 18:10:16 2018

    - breaking change:
        - the behaviour of UNIVERSAL methods like $native->can and
          $native->isa is now defined as being the same as when autobox
          is not enabled rather than "undefined". (technically, this
          still falls under the rubric of "undefined", but the switch
          from "don't know" to "don't" could break buggy \ 
code, so bump
          for safety)
        - add DOES to the list of non-autoboxed methods
    - switch to SemVer i.e. 2.86 (v2.860.0) -> 3.0.0 (v3.0.0)
    - upgrade ppport.h from 3.35 -> 3.42
   2018-05-02 14:19:01 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
p5-autobox: update to 2.86.

2.86 Fri 20 Apr 20:07:29 2018

    - GH #9: fix bug which prevented autoboxing working
      under the debugger on perl 5.22+ (thanks, skington)
        - added t/debugger.t
    - GH #8: fix bug which prevented bareword method-calls being
      exempted when the method is a variable e.g. Foo->$bar
    - add operator-overloading note to the gotchas section (GH #7)
   2017-06-05 16:25:36 by Ryo ONODERA | Files touched by this commit (2298)
Log message:
Recursive revbump from lang/perl5 5.26.0
   2017-03-11 11:59:37 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 2.85

Upstream changes:
2.85 Mon 27 Feb 18:18:19 2017

    - fix failing test under 5.25.10 with -Ddefault_inc_excludes_dot
      (thanks, Kent Fredric)
   2016-09-01 16:46:36 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 2.84

Upstream changes:
2.84 Fri 26 Aug 20:35:48 2016

    - compatibility fix for perl >= 5.25 (thanks, mat813, karenetheridge and \ 
eserte)
    - update ppport.h from 3.20 to 3.35
    - add .travis.yml
   2016-06-08 21:25:20 by Thomas Klausner | Files touched by this commit (2236) | Package updated
Log message:
Bump PKGREVISION for perl-5.24.
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-06-12 12:52:19 by Thomas Klausner | Files touched by this commit (3152)
Log message:
Recursive PKGREVISION bump for all packages mentioning 'perl',
having a PKGNAME of p5-*, or depending such a package,
for perl-5.22.0.