Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Penlight is a handy set of pure Lua libraries inspired by the Python standard library. PR: 272850 Approved by: diizzy
- Loading branch information
Showing
5 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
PORTNAME= Penlight | ||
DISTVERSION= 1.13.1 | ||
CATEGORIES= devel | ||
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} | ||
|
||
MAINTAINER= markj@FreeBSD.org | ||
COMMENT= Comprehensive set of libraries for Lua | ||
WWW= https://github.com/lunarmodules/Penlight | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/LICENSE.md | ||
|
||
RUN_DEPENDS= ${LUA_PKGNAMEPREFIX}luafilesystem>=0:devel/luafilesystem@${LUA_FLAVOR} | ||
|
||
USES= lua:54,module | ||
|
||
USE_GITHUB= yes | ||
GH_ACCOUNT= lunarmodules | ||
|
||
NO_ARCH= yes | ||
NO_BUILD= yes | ||
|
||
do-install: | ||
${MKDIR} ${STAGEDIR}${LUA_MODSHAREDIR}/pl | ||
${INSTALL_DATA} ${WRKSRC}/lua/pl/*.lua ${STAGEDIR}${LUA_MODSHAREDIR}/pl | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1690831212 | ||
SHA256 (lunarmodules-Penlight-1.13.1_GH0.tar.gz) = 530380e1a377df519c2e589f47823f79701f8e0e67f6bbd994e18d09a470b680 | ||
SIZE (lunarmodules-Penlight-1.13.1_GH0.tar.gz) = 434059 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Penlight is a set of pure Lua libraries for making it easier to work with | ||
common tasks like iterating over directories, reading configuration files and | ||
the like. Provides functional operations on tables and sequences. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
%%LUA_MODSHAREDIR%%/pl/Date.lua | ||
%%LUA_MODSHAREDIR%%/pl/List.lua | ||
%%LUA_MODSHAREDIR%%/pl/Map.lua | ||
%%LUA_MODSHAREDIR%%/pl/MultiMap.lua | ||
%%LUA_MODSHAREDIR%%/pl/OrderedMap.lua | ||
%%LUA_MODSHAREDIR%%/pl/Set.lua | ||
%%LUA_MODSHAREDIR%%/pl/app.lua | ||
%%LUA_MODSHAREDIR%%/pl/array2d.lua | ||
%%LUA_MODSHAREDIR%%/pl/class.lua | ||
%%LUA_MODSHAREDIR%%/pl/compat.lua | ||
%%LUA_MODSHAREDIR%%/pl/comprehension.lua | ||
%%LUA_MODSHAREDIR%%/pl/config.lua | ||
%%LUA_MODSHAREDIR%%/pl/data.lua | ||
%%LUA_MODSHAREDIR%%/pl/dir.lua | ||
%%LUA_MODSHAREDIR%%/pl/file.lua | ||
%%LUA_MODSHAREDIR%%/pl/func.lua | ||
%%LUA_MODSHAREDIR%%/pl/import_into.lua | ||
%%LUA_MODSHAREDIR%%/pl/init.lua | ||
%%LUA_MODSHAREDIR%%/pl/input.lua | ||
%%LUA_MODSHAREDIR%%/pl/lapp.lua | ||
%%LUA_MODSHAREDIR%%/pl/lexer.lua | ||
%%LUA_MODSHAREDIR%%/pl/luabalanced.lua | ||
%%LUA_MODSHAREDIR%%/pl/operator.lua | ||
%%LUA_MODSHAREDIR%%/pl/path.lua | ||
%%LUA_MODSHAREDIR%%/pl/permute.lua | ||
%%LUA_MODSHAREDIR%%/pl/pretty.lua | ||
%%LUA_MODSHAREDIR%%/pl/seq.lua | ||
%%LUA_MODSHAREDIR%%/pl/sip.lua | ||
%%LUA_MODSHAREDIR%%/pl/strict.lua | ||
%%LUA_MODSHAREDIR%%/pl/stringio.lua | ||
%%LUA_MODSHAREDIR%%/pl/stringx.lua | ||
%%LUA_MODSHAREDIR%%/pl/tablex.lua | ||
%%LUA_MODSHAREDIR%%/pl/template.lua | ||
%%LUA_MODSHAREDIR%%/pl/test.lua | ||
%%LUA_MODSHAREDIR%%/pl/text.lua | ||
%%LUA_MODSHAREDIR%%/pl/types.lua | ||
%%LUA_MODSHAREDIR%%/pl/url.lua | ||
%%LUA_MODSHAREDIR%%/pl/utils.lua | ||
%%LUA_MODSHAREDIR%%/pl/xml.lua |