pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/lua-cldr
Module Name: pkgsrc
Committed By: joerg
Date: Thu Apr 6 12:05:32 UTC 2023
Added Files:
pkgsrc/textproc/lua-cldr: DESCR Makefile PLIST distinfo
pkgsrc/textproc/lua-cldr/patches: patch-spec_cldr__spec.lua
Log Message:
Add lua-cldr-0.3.0:
Lua CLDR provides a Lua interface to the Common Locale Data Repository
data from Unicode.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/lua-cldr/DESCR \
pkgsrc/textproc/lua-cldr/Makefile pkgsrc/textproc/lua-cldr/PLIST \
pkgsrc/textproc/lua-cldr/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/textproc/lua-cldr/patches/patch-spec_cldr__spec.lua
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/textproc/lua-cldr/DESCR
diff -u /dev/null pkgsrc/textproc/lua-cldr/DESCR:1.1
--- /dev/null Thu Apr 6 12:05:32 2023
+++ pkgsrc/textproc/lua-cldr/DESCR Thu Apr 6 12:05:32 2023
@@ -0,0 +1,2 @@
+Lua CLDR provides a Lua interface to the Common Locale Data Repository
+data from Unicode.
Index: pkgsrc/textproc/lua-cldr/Makefile
diff -u /dev/null pkgsrc/textproc/lua-cldr/Makefile:1.1
--- /dev/null Thu Apr 6 12:05:32 2023
+++ pkgsrc/textproc/lua-cldr/Makefile Thu Apr 6 12:05:32 2023
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2023/04/06 12:05:32 joerg Exp $
+
+DISTNAME= cldr-0.3.0
+PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME}
+CATEGORIES= textproc lua
+MASTER_SITES= ${MASTER_SITE_GITHUB:=alerque/}
+GITHUB_PROJECT= cldr-lua
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/alerque/cldr-lua
+COMMENT= Lua Unicode CLDR interface
+LICENSE= mit AND unicode
+
+DEPENDS+= ${LUA_PKGPREFIX}-penlight-[0-9]*:../../devel/lua-penlight
+
+LUA_USE_BUSTED= yes
+
+INSTALLATION_DIRS+= ${LUA_LDIR}/cldr/data
+
+do-build:
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/cldr/init.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}/cldr
+ ${INSTALL_DATA} ${WRKSRC}/cldr/data/locales.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}/cldr/data
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/lua-cldr/PLIST
diff -u /dev/null pkgsrc/textproc/lua-cldr/PLIST:1.1
--- /dev/null Thu Apr 6 12:05:32 2023
+++ pkgsrc/textproc/lua-cldr/PLIST Thu Apr 6 12:05:32 2023
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2023/04/06 12:05:32 joerg Exp $
+${LUA_LDIR}/cldr/data/locales.lua
+${LUA_LDIR}/cldr/init.lua
Index: pkgsrc/textproc/lua-cldr/distinfo
diff -u /dev/null pkgsrc/textproc/lua-cldr/distinfo:1.1
--- /dev/null Thu Apr 6 12:05:32 2023
+++ pkgsrc/textproc/lua-cldr/distinfo Thu Apr 6 12:05:32 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/04/06 12:05:32 joerg Exp $
+
+BLAKE2s (cldr-0.3.0.tar.gz) = 42b3cd9a0521c0a0e9a89b7a47876be96064e18cef0ddd6893034e87a8f8f150
+SHA512 (cldr-0.3.0.tar.gz) = 39769e8d7d5c796e69adb0225d1093f7844ef89e8f989d8b060bcc51ccafc04eaf914bc1437b1c9a984d41b70e38ab7b4eda505bf64ae505223c6038bf3fae9e
+Size (cldr-0.3.0.tar.gz) = 9849 bytes
+SHA1 (patch-spec_cldr__spec.lua) = da104aa53b2fc4f2e016270a367c25060b6b7a2a
Index: pkgsrc/textproc/lua-cldr/patches/patch-spec_cldr__spec.lua
diff -u /dev/null pkgsrc/textproc/lua-cldr/patches/patch-spec_cldr__spec.lua:1.1
--- /dev/null Thu Apr 6 12:05:32 2023
+++ pkgsrc/textproc/lua-cldr/patches/patch-spec_cldr__spec.lua Thu Apr 6 12:05:32 2023
@@ -0,0 +1,15 @@
+$NetBSD: patch-spec_cldr__spec.lua,v 1.1 2023/04/06 12:05:32 joerg Exp $
+
+From git, fix the assertion to match the actual data.
+
+--- spec/cldr_spec.lua.orig 2023-04-06 11:52:51.710757187 +0000
++++ spec/cldr_spec.lua
+@@ -11,7 +11,7 @@ describe('cldr', function ()
+ end)
+
+ it('should have a bunch of locales', function ()
+- assert.equal(674, Set.len(CLDR.locales))
++ assert.equal(681, Set.len(CLDR.locales))
+ end)
+
+ it('should have truthy set accessors to locales', function ()
Home |
Main Index |
Thread Index |
Old Index