./devel/p5-FindBin-libs, Locate and a use lib or export directories based on FindBin::Bin

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


Branch: CURRENT, Version: 4.0.4nb1, Package name: p5-FindBin-libs-4.0.4nb1, Maintainer: schmonz

An all-too-common occurrance managing perly projects is being unable
to install new modules becuse "it might break things", and being
unable to test them because you can't install them. The usual outcome
of this is a collection of hard-coded

use lib qw( /usr/local/projectX ... )

code at the top of each #! file that has to be updated by hand for
each new project.

To get away from this you'll often see relative paths for the lib's,
which require running the code from one specific place. All this
does is push the hard-coding into cron, shell wrappers, and begin
blocks.

With FindBin::libs you need suffer no more.


Required to run:
[lang/perl5] [devel/p5-Module-FromPerlVer] [sysutils/p5-File-Copy-Recursive-Reduced]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)

Filesize: 62.103 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-16 13:08:07 by Thomas Klausner | Files touched by this commit (2504)
Log message:
*: recursive bump for perl 5.40
   2024-10-27 20:50:41 by Amitai Schleier | Files touched by this commit (2) | Package updated
Log message:
p5-FindBin-libs: update to 4.0.4. Changes:

- Saner way to add sub-paths; not visible.
   2024-10-26 21:23:54 by Amitai Schleier | Files touched by this commit (2) | Package updated
Log message:
p5-FindBin-libs: update to 4.0.3. Changes:

- Add missing '' to catpath.
- Move canonpath into rel2abs, saves re-running it for each directory
  up the tree.
- Avoid undef value in m// with defined check.
- Fixes to setup-dist shell script for creating the placeholder
  FindBin/libs.pm file with the correct version.
- Remove all use of abs_path, including FindBin; this will now handle
  symlinks properly using rel2abs.
- Replace FindBin with FindBin::Bin & FindBin::Parents modeled after
  their Raku counterparts.
- Update the test numbers a bit to test the separate modules with 0*.t;
  push tests and MANIFEST into the version dir's.
- Update the dist prepare script to extract its package line from the
  installed lib/FindBin/libs.pm so that the Makefile.PL can use
  VERSION_FROM again.
   2023-07-06 11:43:03 by Thomas Klausner | Files touched by this commit (2483)
Log message:
*: recursive bump for perl 5.38
   2022-09-17 14:15:01 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 3.0.2. From the changelog:

Bin=X uses dirname( X ) if X is a file, otherwise if X is
a dir it uses X, otherwise it dies. This mainly simplifies
testing where libs or config dirs are below the ./t in the
path.
   2022-06-28 13:38:00 by Thomas Klausner | Files touched by this commit (3952)
Log message:
*: recursive bump for perl 5.36
   2022-02-25 20:17:15 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 3.0.1. From the changelog:

- Remove extraneous breakpoints

- Rewrite the search to use a saner, multi-stage
  process. Still uses abs_path to avoid duplicates
  working up the stack due to multi-level symlinks,
  skips things earlier in the process & is a bit
  easier to read.

- noignore is handled properly, as is ignore=

- taint extraction on $Bin uses m{^ (.+) /? }x
  to strip the trailing '/' in some RHEL versions
  of catpath.
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip