./devel/lua-lpeg, Parsing Expression Grammars (PEGs) library for Lua

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


Branch: CURRENT, Version: 1.1.0nb1, Package name: lua54-lpeg-1.1.0nb1, Maintainer: pkgsrc-users

LPeg is a new pattern-matching library for Lua, based on
Parsing Expression Grammars (PEGs).


Required to run:
[lang/lua53]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 76.213 KB

Version history: (Expand)


CVS history: (Expand)


   2025-02-07 08:50:33 by Adam Ciarcinski | Files touched by this commit (1)
Log message:
lua-lpeg: also buildlink dylib for Darwin
   2025-01-24 13:45:54 by Taylor R Campbell | Files touched by this commit (2)
Log message:
editors/neovim: Use buildlink3, not DEPENDS, for lua-lpeg.

Will be needed when we hide PREFIX from cmake.  Will resolve:

CMake Error at \ 
/pkg/2024Q4/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:233 \ 
(message):
  Could NOT find Lpeg (missing: LPEG_LIBRARY)
Call Stack (most recent call first):
  /pkg/2024Q4/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:603 \ 
(_FPHSA_FAILURE_MESSAGE)
  cmake/FindLpeg.cmake:3 (find_package_handle_standard_args)
  src/nvim/CMakeLists.txt:34 (find_package)

-- Configuring incomplete, errors occurred!
*** Error code 1

While here, use COMPILER_RPATH_FLAG instead of editing the rpath in ex
post facto -- resolves:

-- Install configuration: "Release"
/home/riastradh/pkgsrc/current/pkg/bin/patchelf \ 
/home/riastradh/pkgsrc/current/work/editors/neovim/work/.destdir/home/riastradh/pkgsrc/current/pkg/bin/nvim \ 
 --replace-needed /home/riastradh/pkgsrc/current/pkg/lib/lua/5.1/lpeg.so lpeg.so
/home/riastradh/pkgsrc/current/pkg/bin/patchelf \ 
/home/riastradh/pkgsrc/current/work/editors/neovim/work/.destdir/home/riastradh/pkgsrc/current/pkg/bin/nvim \ 
 --add-rpath /home/riastradh/pkgsrc/current/pkg/lib/lua/5.1
patchelf: getting info about '--add-rpath': No such file or directory

Verified that the NEEDED and RPATH entries look reasonable:

$ readelf -d \ 
~/pkgsrc/current/work/editors/neovim/work/.destdir/home/riastradh/pkgsrc/current/pkg/bin/nvim \ 
| grep -e lpeg.so -e RPATH
 0x0000000000000001 (NEEDED)             Shared library: [lpeg.so]
 0x000000000000000f (RPATH)              Library rpath: \ 
[/home/riastradh/pkgsrc/current/pkg/gcc10/x86_64--netbsd/lib/.:/home/riastradh/p \ 
kgsrc/current/pkg/lib/lua/5.1:/home/riastradh/pkgsrc/current/pkg/gcc10/lib/gcc/x \ 
86_64--netbsd/10.5.0:/home/riastradh/pkgsrc/current/pkg/lib:/home/riastradh/pkgs \ 
rc/current/pkg/lib/libvterm03

XXX Would be nice to hard-code the Lua version a little less here.
   2025-01-22 19:16:58 by Adam Ciarcinski | Files touched by this commit (4)
Log message:
lua-lpeg: on Darwin, build and install lpeg.dylib, which is required for neovim; \ 
bump revision
   2023-12-30 22:05:26 by Zafer Aydogan | Files touched by this commit (1)
Log message:
https
   2023-07-06 00:03:44 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
lua54-lpeg: update to 1.1.0.

HISTORY for LPeg 1.1.0

* Changes from version 1.0.2 to 1.1.0
  ---------------------------------
  + accumulator capture
  + UTF-8 ranges
  + Larger limit for number of rules in a grammar
  + Larger limit for number of captures in a match
  + bug fixes
  + other small improvements
   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
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2020-07-02 12:26:19 by Nia Alarie | Files touched by this commit (29)
Log message:
Add 'lua' category to Lua modules.

While here, normalize some packages with strange variable order.