pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Mar  6 09:16:22 UTC 2022

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/lua-enum: DESCR Makefile PLIST distinfo

Log Message:
add devel/lua-enum

This is a little module that simulates enumerated types in Lua.

Its API is very similar to the Python 3 Enum API, although much
more limited.


To generate a diff of this commit:
cvs rdiff -u -r1.3698 -r1.3699 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-enum/DESCR \
    pkgsrc/devel/lua-enum/Makefile pkgsrc/devel/lua-enum/PLIST \
    pkgsrc/devel/lua-enum/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3698 pkgsrc/devel/Makefile:1.3699
--- pkgsrc/devel/Makefile:1.3698        Sat Feb 26 12:30:18 2022
+++ pkgsrc/devel/Makefile       Sun Mar  6 09:16:21 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3698 2022/02/26 12:30:18 pho Exp $
+# $NetBSD: Makefile,v 1.3699 2022/03/06 09:16:21 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -979,6 +979,7 @@ SUBDIR+=    lua-compat53
 SUBDIR+=       lua-cov
 SUBDIR+=       lua-coxpcall
 SUBDIR+=       lua-cqueues
+SUBDIR+=       lua-enum
 SUBDIR+=       lua-epnf
 SUBDIR+=       lua-event
 SUBDIR+=       lua-fifo

Added files:

Index: pkgsrc/devel/lua-enum/DESCR
diff -u /dev/null pkgsrc/devel/lua-enum/DESCR:1.1
--- /dev/null   Sun Mar  6 09:16:22 2022
+++ pkgsrc/devel/lua-enum/DESCR Sun Mar  6 09:16:22 2022
@@ -0,0 +1,4 @@
+This is a little module that simulates enumerated types in Lua.
+
+Its API is very similar to the Python 3 Enum API, although much
+more limited.
Index: pkgsrc/devel/lua-enum/Makefile
diff -u /dev/null pkgsrc/devel/lua-enum/Makefile:1.1
--- /dev/null   Sun Mar  6 09:16:22 2022
+++ pkgsrc/devel/lua-enum/Makefile      Sun Mar  6 09:16:22 2022
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2022/03/06 09:16:22 nia Exp $
+
+DISTNAME=      lua-enum-0.1.2
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/^lua-//g}
+CATEGORIES=    devel lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=stefano-m/}
+GITHUB_PROJECT=        lua-enum
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://stefano-m.github.io/lua-enum/
+COMMENT=       Enumerated Types for Lua
+LICENSE=       mit
+
+NO_BUILD=      yes
+USE_LANGUAGES= # none
+
+LUA_USE_BUSTED=        yes
+
+LUA_BUSTED_ARGS+=      tests/enum_spec.lua
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}/enum
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/src/enum/*.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/enum
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/lua-enum/PLIST
diff -u /dev/null pkgsrc/devel/lua-enum/PLIST:1.1
--- /dev/null   Sun Mar  6 09:16:22 2022
+++ pkgsrc/devel/lua-enum/PLIST Sun Mar  6 09:16:22 2022
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2022/03/06 09:16:22 nia Exp $
+${LUA_LDIR}/enum/init.lua
Index: pkgsrc/devel/lua-enum/distinfo
diff -u /dev/null pkgsrc/devel/lua-enum/distinfo:1.1
--- /dev/null   Sun Mar  6 09:16:22 2022
+++ pkgsrc/devel/lua-enum/distinfo      Sun Mar  6 09:16:22 2022
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/03/06 09:16:22 nia Exp $
+
+BLAKE2s (lua-enum-0.1.2.tar.gz) = d42b658fa65aa6cec61280bc434eca16bae1607acee6d451d65a1a224c800ba1
+SHA512 (lua-enum-0.1.2.tar.gz) = f10cc83667410b3bf1b19dd6cafa132e185e348bb6116460bb14745c183260474889a6380122d3c5d6b52b22bf601935a63b92fd8f3f034c9b292acba1d75742
+Size (lua-enum-0.1.2.tar.gz) = 13791 bytes



Home | Main Index | Thread Index | Old Index