From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 81DF2138334 for ; Sat, 5 Jan 2019 18:47:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 70B30E077D; Sat, 5 Jan 2019 18:47:56 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33038E077D for ; Sat, 5 Jan 2019 18:47:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 77F7B335D2B for ; Sat, 5 Jan 2019 18:47:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A11CE4E5 for ; Sat, 5 Jan 2019 18:47:52 +0000 (UTC) From: "Vadim A. Misbakh-Soloviov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Vadim A. Misbakh-Soloviov" Message-ID: <1546714061.3cc8b2e8c540c06124d01d9b1c084900c7d02f49.mva@gentoo> Subject: [gentoo-commits] proj/lua:master commit in: dev-lua/luaunbound/, dev-lua/lvk/, dev-lua/lua-ext/, ... X-VCS-Repository: proj/lua X-VCS-Files: dev-lua/lua-ext/lua-ext-9999.ebuild dev-lua/lua-html/lua-html-9999.ebuild dev-lua/lua-udev/files/patches/9999/newlib.patch dev-lua/lua-udev/lua-udev-9999.ebuild dev-lua/lua-udev/metadata.xml dev-lua/luaevent/luaevent-9999.ebuild dev-lua/luaunbound/luaunbound-9999.ebuild dev-lua/lvk/lvk-9999.ebuild dev-lua/moses/moses-9999.ebuild dev-lua/penlight/penlight-9999.ebuild X-VCS-Directories: dev-lua/lua-udev/ dev-lua/lua-udev/files/patches/9999/ dev-lua/lua-ext/ dev-lua/lvk/ dev-lua/luaunbound/ dev-lua/moses/ dev-lua/penlight/ dev-lua/lua-html/ dev-lua/luaevent/ X-VCS-Committer: mva X-VCS-Committer-Name: Vadim A. Misbakh-Soloviov X-VCS-Revision: 3cc8b2e8c540c06124d01d9b1c084900c7d02f49 X-VCS-Branch: master Date: Sat, 5 Jan 2019 18:47:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0289d308-658f-46fc-94fb-27093d431130 X-Archives-Hash: 5f5cf64b4da40e7527422386e79ec57a commit: 3cc8b2e8c540c06124d01d9b1c084900c7d02f49 Author: Vadim A. Misbakh-Soloviov mva name> AuthorDate: Sat Jan 5 18:47:41 2019 +0000 Commit: Vadim A. Misbakh-Soloviov mva name> CommitDate: Sat Jan 5 18:47:41 2019 +0000 URL: https://gitweb.gentoo.org/proj/lua.git/commit/?id=3cc8b2e8 moo Signed-off-by: Vadim A. Misbakh-Soloviov mva.name> dev-lua/lua-ext/lua-ext-9999.ebuild | 2 +- dev-lua/lua-html/lua-html-9999.ebuild | 4 ++- dev-lua/lua-udev/files/patches/9999/newlib.patch | 15 ++++++++++ dev-lua/lua-udev/lua-udev-9999.ebuild | 35 ++++++++++++++++++++++++ dev-lua/lua-udev/metadata.xml | 14 ++++++++++ dev-lua/luaevent/luaevent-9999.ebuild | 2 -- dev-lua/luaunbound/luaunbound-9999.ebuild | 12 +++++--- dev-lua/lvk/lvk-9999.ebuild | 23 ++++++++++++++++ dev-lua/moses/moses-9999.ebuild | 2 +- dev-lua/penlight/penlight-9999.ebuild | 6 ++-- 10 files changed, 103 insertions(+), 12 deletions(-) diff --git a/dev-lua/lua-ext/lua-ext-9999.ebuild b/dev-lua/lua-ext/lua-ext-9999.ebuild index 5423ec4..1ef6344 100644 --- a/dev-lua/lua-ext/lua-ext-9999.ebuild +++ b/dev-lua/lua-ext/lua-ext-9999.ebuild @@ -24,7 +24,7 @@ RDEPEND=" ) " -DOCS=(README) +DOCS=(README.md) each_lua_install() { use gcmem || rm gcmem.lua diff --git a/dev-lua/lua-html/lua-html-9999.ebuild b/dev-lua/lua-html/lua-html-9999.ebuild index dfa3870..213eed0 100644 --- a/dev-lua/lua-html/lua-html-9999.ebuild +++ b/dev-lua/lua-html/lua-html-9999.ebuild @@ -23,7 +23,7 @@ RDEPEND=" dev-libs/libxml2 " -DOCS=(Readme.md) +DOCS=(README.md) all_lua_prepare() { lua_default @@ -37,6 +37,8 @@ all_lua_prepare() { sed -r \ -e 's#libxml/HTMLParser.h#libxml/HTMLparser.h#' \ -i html.c + + mv Readme.md README.md } each_lua_test() { diff --git a/dev-lua/lua-udev/files/patches/9999/newlib.patch b/dev-lua/lua-udev/files/patches/9999/newlib.patch new file mode 100644 index 0000000..0e3c7cf --- /dev/null +++ b/dev-lua/lua-udev/files/patches/9999/newlib.patch @@ -0,0 +1,15 @@ +--- a/lua-udev.c 2018-09-25 18:34:57.043484722 +0700 ++++ b/lua-udev.c 2018-09-25 18:38:32.437294642 +0700 +@@ -584,10 +584,9 @@ static luaL_Reg udev_methods[] = { + + }; + +-#if LUA_VERSION_NUM < 503 ++#ifndef luaL_newlib + #define luaL_newlib(L, methods)\ +- lua_createtable(L, 0, sizeof(methods) / sizeof(luaL_Reg) - 1);\ ++ lua_createtable(L, 0, sizeof(methods) / sizeof(luaL_Reg) - 1); +- luaL_register(L, NULL, methods); + #endif + + #define lua_pushcfunctionfield(field, method)\ diff --git a/dev-lua/lua-udev/lua-udev-9999.ebuild b/dev-lua/lua-udev/lua-udev-9999.ebuild new file mode 100644 index 0000000..a65be4d --- /dev/null +++ b/dev-lua/lua-udev/lua-udev-9999.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +IS_MULTILIB=true +VCS="git" +GITHUB_A="dodo" + +inherit lua + +DESCRIPTION="udev bindings for Lua" +HOMEPAGE="https://github.com/dodo/lua-udev/" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="examples" + +EXAMPLES=(test.lua) + +RDEPEND="" +DEPEND=" + ${RDEPEND} + virtual/libudev +" + +each_lua_compile() { + _lua_setFLAGS + ${CC} "${PN}.c" ${CFLAGS} ${LUA_CF} ${LDFLAGS} ${LUA_LF} -ludev -o udev.so +} + +each_lua_install() { + dolua udev.so +} diff --git a/dev-lua/lua-udev/metadata.xml b/dev-lua/lua-udev/metadata.xml new file mode 100644 index 0000000..c1baef2 --- /dev/null +++ b/dev-lua/lua-udev/metadata.xml @@ -0,0 +1,14 @@ + + + + + williamh@gentoo.org + William Hubbs + + + lightweight, native, lazy evaluating multithreading library for Lua-5.1 or 5.2. + + + LuaLanes/lanes + + diff --git a/dev-lua/luaevent/luaevent-9999.ebuild b/dev-lua/luaevent/luaevent-9999.ebuild index b9cc916..bf72d8b 100644 --- a/dev-lua/luaevent/luaevent-9999.ebuild +++ b/dev-lua/luaevent/luaevent-9999.ebuild @@ -25,8 +25,6 @@ DEPEND=" DOCS=(README) -PATCHES=(${FILESDIR}/gc-anchoring.patch) - each_lua_install() { dolua lua/* _dolua_insdir="${PN}" \ diff --git a/dev-lua/luaunbound/luaunbound-9999.ebuild b/dev-lua/luaunbound/luaunbound-9999.ebuild index 2f6e813..5662070 100644 --- a/dev-lua/luaunbound/luaunbound-9999.ebuild +++ b/dev-lua/luaunbound/luaunbound-9999.ebuild @@ -26,9 +26,13 @@ DEPEND=" DOCS=(README.markdown) -#all_lua_prepare() { -# -#} +all_lua_prepare() { + lua_default + sed -r \ + -e "/^LUA_VERSION/s@5.2@\$\(LUA_IMPL\)\nLD=gcc@" \ + -e "/^CFLAGS/s@lua-@@" \ + -i GNUmakefile +} each_lua_compile() { # If we have LuaJIT in the system — we'd prefer FFI version @@ -50,7 +54,7 @@ each_lua_install() { if use prosody; then insinto "/etc/jabber" - doins "use_unbound.lua" + doins "use_unbound.lua" fi } diff --git a/dev-lua/lvk/lvk-9999.ebuild b/dev-lua/lvk/lvk-9999.ebuild new file mode 100644 index 0000000..1cfd219 --- /dev/null +++ b/dev-lua/lvk/lvk-9999.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VCS="git" +GITHUB_A="gleb-kosteiko" + +inherit lua + +DESCRIPTION="Parse HTML text into a tree of elements with selectors" +HOMEPAGE="https://github.com/msva/lua-htmlparser" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="examples" + +EXAMPLES=( test-lvk.lua ) + +each_lua_install() { + dolua "${PN}".lua +} diff --git a/dev-lua/moses/moses-9999.ebuild b/dev-lua/moses/moses-9999.ebuild index 7d43abb..0b182c5 100644 --- a/dev-lua/moses/moses-9999.ebuild +++ b/dev-lua/moses/moses-9999.ebuild @@ -25,7 +25,7 @@ DEPEND=" " DOCS=(README.md doc/tutorial.md) -HTML_DOCS=(doc/index.html doc/topics) +HTML_DOCS=(doc/index.html doc/manual) each_lua_install() { dolua ${PN}.lua diff --git a/dev-lua/penlight/penlight-9999.ebuild b/dev-lua/penlight/penlight-9999.ebuild index 9ceebc0..ddb5ba6 100644 --- a/dev-lua/penlight/penlight-9999.ebuild +++ b/dev-lua/penlight/penlight-9999.ebuild @@ -8,7 +8,7 @@ GITHUB_A="stevedonovan" inherit lua -DESCRIPTION="A set of pure Lua libraries focusing on input data handling, functional programming and OS path management." +DESCRIPTION="Libraries for input handling, functional programming and OS path management." HOMEPAGE="https://github.com/stevedonovan/Penlight" LICENSE="MIT" @@ -23,8 +23,8 @@ DEPEND=" doc? ( dev-lua/ldoc ) " -HTML_DOCS=(html/.) -DOCS=(README.md CHANGES.md CONTRIBUTING.md) +#HTML_DOCS=(html/.) +DOCS=(README.md CONTRIBUTING.md) EXAMPLES=(examples/.) all_lua_compile() {