summaryrefslogtreecommitdiff
path: root/filesystems/p5-Module-Path
AgeCommit message (Collapse)AuthorFilesLines
2016-06-08Bump PKGREVISION for perl-5.24.wiz1-1/+2
2015-11-03Add SHA512 digests for distfiles for filesystems categoryagc1-1/+2
Existing SHA1 digests verified, all found to be the same on the machine holding the existing distfiles (morden). Existing SHA1 digests retained for now as an audit trail.
2015-08-03Update to 0.19wen2-7/+6
Upstream changes: 0.19 2015-03-16 NEILB - Added [MetaJSON] to dist.ini, so META.json will go into the distribution, as well as META.yml. Thanks to Lucas Kanashiro. - Dropped the -r test on directories, as we only actually need -d and -x. Thanks to Lucas Kanashiro.
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-1/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2015-02-18Update 0.13 to 0.18mef2-7/+6
------------------- 0.18 2014-12-17 - RIBASUSHI++ reminded me that to be a usable directory in @INC we need to check -d && -r && -x. 0.17 2014-12-17 - Fixed RT#96433: ignore directories in @INC which don't exist. Apologies to ETHER++ for over-thinking this one, and taking so long to fix it. 0.16 2014-12-13 - Added TODO.md with an initial todo list for the module 0.15 2014-10-14 - Doing a foreach $dir (@INC) and then resolving symblinks on $dir was changing the entries in @INC. HAARG++ for pull request with fix. - Changed author email address to be my CPAN email address. 0.14 2014-08-16 - Added Travis config, using cpanfile and cpanm to ensure all dependencies are installed before running tests with prove. Thanks to DAGOLDEN. - Improved the first paragraph of DESCRIPTION, so search results give a better summary of the module.
2014-10-09Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.wiz1-3/+1
2014-07-19Use standard email address (pkgsrc-p5-people should not be MAINTAINER).wiz1-3/+2
2014-05-29Bump for perl-5.20.0.wiz1-1/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2014-04-200.13 2014-02-22wen2-6/+6
- Looks like in some rare circumstances, Cwd::abs_path() can croak, so now we wrap that in eval { } and deal accordingly. 0.12 2014-02-19 - We now fully resolve symlinks in @INC paths. The previous 'fix' for Debian broke the tests on FreeBSD. Thanks to G茅raud Continsouzas, and Daniel Lintott for help testing. 0.11_03 2014-02-18 - Another place where we need to worry about getting undef. 0.11_02 2014-02-18 - Wasn't handling the case where abs_path() returns undef, which it does if a symlink "goes nowhere". 0.11_01 2014-02-18 - The testsuite fix in 0.11 caused a breakage on FreeBSD, where a directory path contains a symlink that wasn't the final directory. So now module_path() fully resolves all symlinks in the path, using Cwd::abs_path(). 0.11 2014-02-17 - Testsuite now uses Cwd::abs_path() on paths from %INC, to cope with synlinks in @INC directories. This was causing test failures on Debian(-based) systems. Thanks to Daniel Lintott and Erez Schatz for reporting and testing proposed fix. 0.10_01 2014-02-16 - Developer release with the change that made it into 0.11, above. 0.10 2014-02-04 - mpath can display paths for multiple modules (Ahmad Syaltut) - specified min perl version 5.6.0 0.09_01 2013-08-21 - If a directory in @INC is a symlink, return the linked-to directory in the path. Problem report and patch from Sharl Morlaroll https://github.com/neilbowers/Module-Path/issues/4
2013-07-03Adding package for CPAN distribution Module-Path version 0.09 intosno3-0/+43
filesystems/p5-Module-Path. Module::Path provides a single function, module_path(), which will find where a module is installed locally. It works by looking in all the directories in @INC for an appropriately named file: * Foo::Bar becomes Foo/Bar.pm, using the correct directory path separator for your operating system. * Iterate over @INC, ignoring any references (see "require" in "perlfunc" if you're surprised to hear that you might find references in @INC). * For each directory in @INC, append the partial path (Foo/Bar.pm), again using the correct directory path separator. If the resulting file exists, return this path. * If no file was found, return undef.