mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
dev-lua/dromozoa-utf8: new package, add 1.19
Signed-off-by: Suleyman Farajli <suleyman@farajli.net>
This commit is contained in:
1
dev-lua/dromozoa-utf8/Manifest
Normal file
1
dev-lua/dromozoa-utf8/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST dromozoa-utf8-1.19.tar.gz 2923059 BLAKE2B 1af9da9977bff5fb19f894ff9b01ae4845370cca1fd4e89e6a35a1d14e533ab5ff029a0fd95e911953dbdfd521264b23895702d561f41cd5faa93b641990532d SHA512 44ec32a7fe36f7895a29aeae96a229412c76fd451e5ea9294f27b20b636c80fa29569400eea94e31006f03662a05b7f387515b2e50e1d014d35dd0c066e2cfbb
|
||||
46
dev-lua/dromozoa-utf8/dromozoa-utf8-1.19.ebuild
Normal file
46
dev-lua/dromozoa-utf8/dromozoa-utf8-1.19.ebuild
Normal file
@@ -0,0 +1,46 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# Currently, lax optional argument introduced in Lua 5.4 is not supported,
|
||||
# so it is not compatible with Lua 5.4 or later
|
||||
LUA_COMPAT=( lua5-3 )
|
||||
|
||||
inherit lua
|
||||
|
||||
DESCRIPTION="Lua 5.3 compatible pure-Lua UTF-8 implementation"
|
||||
HOMEPAGE="https://dromozoa.github.io/dromozoa-utf8/"
|
||||
HOMEPAGE+=" https://github.com/dromozoa/dromozoa-utf8"
|
||||
SRC_URI="https://github.com/dromozoa/dromozoa-utf8/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="${LUA_DEPS}"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
lua_src_test() {
|
||||
# inside test.sh lua command is called,
|
||||
# so each implementation should be tested separately
|
||||
./test.sh || die "Tests failed for ${LUA}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
lua_foreach_impl lua_src_test
|
||||
}
|
||||
|
||||
lua_src_install() {
|
||||
insinto "$(lua_get_lmod_dir)"
|
||||
doins -r dromozoa/
|
||||
}
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl lua_src_install
|
||||
dobin dromozoa-markdown-table
|
||||
HTML_DOCS=( docs/index.html )
|
||||
# Install only the latest documentation
|
||||
DOCS+=( docs/16.0.0/ )
|
||||
einstalldocs
|
||||
}
|
||||
11
dev-lua/dromozoa-utf8/metadata.xml
Normal file
11
dev-lua/dromozoa-utf8/metadata.xml
Normal file
@@ -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">dromozoa/dromozoa-utf8</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user