mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
dev-lua/lua-http: add doc/man, version 20240908 to 0.4_p20240908
Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
This commit is contained in:
@@ -1 +1 @@
|
||||
DIST lua-http-20240908.tar.gz 142897 BLAKE2B 2c68b11ffa8e579ba2be9db08c65f8f28b1eb96079a8d1b71c245ff516a7249cee86317aca3e0635b2e612120aedfa6f4e3bbe9392919835502845567cb2100f SHA512 579db298e901c555bfabd09d375d83ec1be0b45e37c9c55a779620c720a18392fdee3dc971a2ded7b0804f1fcdfc9f69863510a5823b1a0b2637b8195a42cae1
|
||||
DIST lua-http-0.4_p20240908.tar.gz 142897 BLAKE2B 2c68b11ffa8e579ba2be9db08c65f8f28b1eb96079a8d1b71c245ff516a7249cee86317aca3e0635b2e612120aedfa6f4e3bbe9392919835502845567cb2100f SHA512 579db298e901c555bfabd09d375d83ec1be0b45e37c9c55a779620c720a18392fdee3dc971a2ded7b0804f1fcdfc9f69863510a5823b1a0b2637b8195a42cae1
|
||||
|
||||
2119
dev-lua/lua-http/files/lua-http.3
Normal file
2119
dev-lua/lua-http/files/lua-http.3
Normal file
File diff suppressed because it is too large
Load Diff
@@ -9,6 +9,7 @@ inherit lua
|
||||
|
||||
DESCRIPTION="HTTP Library for Lua. Supports HTTP(S) 1.0, 1.1 and 2.0; client and server."
|
||||
HOMEPAGE="https://daurnimator.github.io/lua-http/"
|
||||
HOMEPAGE+=" https://github.com/daurnimator/lua-http"
|
||||
EGIT_COMMIT="ee3cf4b4992479b8ebfb39b530694af3bbd1d1eb"
|
||||
SRC_URI="https://github.com/daurnimator/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
|
||||
@@ -17,12 +18,11 @@ LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
IUSE="doc"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
DEPEND="
|
||||
${LUA_DEPS}
|
||||
lua_targets_luajit? ( dev-lua/compat53[lua_targets_luajit(-)] )
|
||||
lua_targets_lua5-1? ( dev-lua/compat53[lua_targets_lua5-1(-)] )
|
||||
dev-lua/basexx[${LUA_USEDEP}]
|
||||
dev-lua/binaryheap[${LUA_USEDEP}]
|
||||
dev-lua/cqueues[${LUA_USEDEP}]
|
||||
@@ -31,11 +31,19 @@ DEPEND="
|
||||
dev-lua/lpeg-patterns[${LUA_USEDEP}]
|
||||
dev-lua/LuaBitOp[${LUA_USEDEP}]
|
||||
dev-lua/luaossl[${LUA_USEDEP}]
|
||||
lua_targets_luajit? ( dev-lua/compat53[lua_targets_luajit(-)] )
|
||||
lua_targets_lua5-1? ( dev-lua/compat53[lua_targets_lua5-1(-)] )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="doc? ( virtual/pandoc )"
|
||||
|
||||
lua_enable_tests busted
|
||||
|
||||
src_compile() {
|
||||
default
|
||||
use doc && emake -C doc lua-http.html
|
||||
}
|
||||
|
||||
lua_src_install() {
|
||||
insinto $(lua_get_lmod_dir)/http/
|
||||
doins http/*.lua http/compat/*.lua
|
||||
@@ -43,5 +51,8 @@ lua_src_install() {
|
||||
|
||||
src_install() {
|
||||
lua_foreach_impl lua_src_install
|
||||
use doc && local HTML_DOCS=( doc/lua-http.html )
|
||||
dodoc -r "examples"
|
||||
doman "${FILESDIR}"/lua-http.3
|
||||
einstalldocs
|
||||
}
|
||||
Reference in New Issue
Block a user