./devel/p5-Import-Into, Perl5 module to import packages into other packages

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


Branch: CURRENT, Version: 1.002005nb2, Package name: p5-Import-Into-1.002005nb2, Maintainer: pkgsrc-users

Writing exporters is a pain. Some use Exporter, some use Sub::Exporter,
some use Moose::Exporter, some use Exporter::Declare ... and some things
are pragmas.

If you want to re-export other things, you have to know which is which.
Exporter subclasses provide export_to_level, but if they overrode their
import method all bets are off. Sub::Exporter provides an into parameter
but figuring out something used it isn't trivial. Pragmas need to have
their import method called directly since they affect the current unit
of compilation.

It's ... annoying.

However, there is an approach that actually works for all of these types.


Required to run:
[lang/perl5]

Required to build:
[devel/p5-Module-Runtime] [pkgtools/cwrappers]

Master sites: (Expand)

SHA1: ae123af669e064168ae0371c020d88335d92c8a3
RMD160: 65825c1b0854120faed3415e3d7e28538bac71cf
Filesize: 7.566 KB

Version history: (Expand)


CVS history: (Expand)


   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
   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-08-30 17:59:27 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
Update to 1.002005:

1.002005 - 2015-08-28
  - fix level as a hashref parameter
   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.
   2015-03-17 13:40:02 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
Add BUILD_DEPENDS+= for make test.
   2014-10-09 16:07:17 by Thomas Klausner | Files touched by this commit (1163)
Log message:
Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
   2014-07-17 07:28:40 by Wen Heping | Files touched by this commit (2) | Package updated
Log message:
Update to 1.002004

Upstream changes:
1.002004 - 2014-07-09
  - fix prerequisite declarations for older toolchain

1.002003 - 2014-07-09
  - module loading is now done while importing, making it unnecessary to load
    them beforehand (RT#96995, Christian Walde)

1.002002 - 2014-05-06
  - minor metadata updates

1.002001 - 2014-03-04
  - fix tests and Makefile.PL to support perl 5.6