* [gentoo-commits] repo/proj/guru:dev commit in: dev-lua/lua-wcwidth/
@ 2025-07-03 16:38 Suleyman Farajli
0 siblings, 0 replies; 2+ messages in thread
From: Suleyman Farajli @ 2025-07-03 16:38 UTC (permalink / raw
To: gentoo-commits
commit: 2a77f3db3bc779d3af6287839157583fd800e546
Author: Suleyman Farajli <suleyman <AT> farajli <DOT> net>
AuthorDate: Thu Jul 3 16:38:43 2025 +0000
Commit: Suleyman Farajli <suleyman <AT> farajli <DOT> net>
CommitDate: Thu Jul 3 16:38:43 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2a77f3db
dev-lua/lua-wcwidth: new package, add 0.5
Signed-off-by: Suleyman Farajli <suleyman <AT> farajli.net>
dev-lua/lua-wcwidth/Manifest | 1 +
dev-lua/lua-wcwidth/lua-wcwidth-0.5.ebuild | 39 ++++++++++++++++++++++++++++++
dev-lua/lua-wcwidth/metadata.xml | 11 +++++++++
3 files changed, 51 insertions(+)
diff --git a/dev-lua/lua-wcwidth/Manifest b/dev-lua/lua-wcwidth/Manifest
new file mode 100644
index 0000000000..ecbf0c46a2
--- /dev/null
+++ b/dev-lua/lua-wcwidth/Manifest
@@ -0,0 +1 @@
+DIST lua-wcwidth-0.5.tar.gz 9954 BLAKE2B 0a10f786825b15336a3089283c2fce7e60004f2ed6d4c2065c793644d1ba3101696eb65b435b2b270a08611255d5801d26c6fc41b41a37509227064cd504f565 SHA512 730df41b5ba504fb0199983064ecd8c98aefb6c4eaa260c08bd59187ab9af0002a654af6787ed57257c2b16053ff0c4cf9a25b5fd58f4afe5a935a02961bf283
diff --git a/dev-lua/lua-wcwidth/lua-wcwidth-0.5.ebuild b/dev-lua/lua-wcwidth/lua-wcwidth-0.5.ebuild
new file mode 100644
index 0000000000..b2ea19c51b
--- /dev/null
+++ b/dev-lua/lua-wcwidth/lua-wcwidth-0.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..3} luajit )
+
+inherit lua
+
+DESCRIPTION="Pure Lua implementation of the wcwidth() function"
+HOMEPAGE="https://github.com/aperezdc/lua-wcwidth/"
+SRC_URI="https://github.com/aperezdc/lua-wcwidth/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="MIT"
+
+SLOT="0"
+
+KEYWORDS="~amd64"
+
+IUSE="test"
+
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+DEPEND="${LUA_DEPS}"
+RDEPEND="${DEPEND}"
+BDEPEND="test? ( dev-lua/dromozoa-utf8[${LUA_USEDEP}] )"
+
+lua_enable_tests busted
+
+lua_src_install() {
+ insinto "$(lua_get_lmod_dir)"
+ doins wcwidth.lua
+ insinto "$(lua_get_lmod_dir)/${PN}"
+ doins wcwidth/*.lua
+}
+
+src_install() {
+ lua_foreach_impl lua_src_install
+ dodoc README.md CHANGELOG.md
+}
diff --git a/dev-lua/lua-wcwidth/metadata.xml b/dev-lua/lua-wcwidth/metadata.xml
new file mode 100644
index 0000000000..bc430bc169
--- /dev/null
+++ b/dev-lua/lua-wcwidth/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>suleyman@farajli.net</email>
+ <name>Suleyman Farajli</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">aperezdc/lua-wcwidth</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-lua/lua-wcwidth/
@ 2025-07-07 17:12 Suleyman Farajli
0 siblings, 0 replies; 2+ messages in thread
From: Suleyman Farajli @ 2025-07-07 17:12 UTC (permalink / raw
To: gentoo-commits
commit: 711e1e237f177e019cbf7ece2beea43d709ffc7b
Author: Suleyman Farajli <suleyman <AT> farajli <DOT> net>
AuthorDate: Mon Jul 7 17:03:17 2025 +0000
Commit: Suleyman Farajli <suleyman <AT> farajli <DOT> net>
CommitDate: Mon Jul 7 17:03:17 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=711e1e23
dev-lua/lua-wcwidth: fix installation directory
Signed-off-by: Suleyman Farajli <suleyman <AT> farajli.net>
dev-lua/lua-wcwidth/lua-wcwidth-0.5.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-lua/lua-wcwidth/lua-wcwidth-0.5.ebuild b/dev-lua/lua-wcwidth/lua-wcwidth-0.5.ebuild
index b2ea19c51b..9639b368a8 100644
--- a/dev-lua/lua-wcwidth/lua-wcwidth-0.5.ebuild
+++ b/dev-lua/lua-wcwidth/lua-wcwidth-0.5.ebuild
@@ -29,8 +29,8 @@ lua_enable_tests busted
lua_src_install() {
insinto "$(lua_get_lmod_dir)"
doins wcwidth.lua
- insinto "$(lua_get_lmod_dir)/${PN}"
- doins wcwidth/*.lua
+ insinto "$(lua_get_lmod_dir)"
+ doins -r wcwidth
}
src_install() {
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-07-07 17:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-03 16:38 [gentoo-commits] repo/proj/guru:dev commit in: dev-lua/lua-wcwidth/ Suleyman Farajli
-- strict thread matches above, loose matches on Subject: below --
2025-07-07 17:12 Suleyman Farajli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox