public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/lua:master commit in: dev-lua/etree/, dev-lua/luaexpat/
@ 2015-10-11  1:54 Vadim A. Misbakh-Soloviov
  0 siblings, 0 replies; only message in thread
From: Vadim A. Misbakh-Soloviov @ 2015-10-11  1:54 UTC (permalink / raw
  To: gentoo-commits

commit:     571a5c94108c4086451520d8b50de3adcdf4509a
Author:     Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name>
AuthorDate: Sun Oct 11 01:54:19 2015 +0000
Commit:     Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Sun Oct 11 01:54:39 2015 +0000
URL:        https://gitweb.gentoo.org/proj/lua.git/commit/?id=571a5c94

luaexpat: fix 5.2/5.3 compat; etree: added

Signed-off-by: Vadim A. Misbakh-Soloviov <git <AT> mva.name>

 dev-lua/etree/etree-9999.ebuild       | 41 +++++++++++++++++++++++++++++++++++
 dev-lua/etree/metadata.xml            | 14 ++++++++++++
 dev-lua/luaexpat/luaexpat-9999.ebuild | 20 ++++++++++++++---
 3 files changed, 72 insertions(+), 3 deletions(-)

diff --git a/dev-lua/etree/etree-9999.ebuild b/dev-lua/etree/etree-9999.ebuild
new file mode 100644
index 0000000..08ff108
--- /dev/null
+++ b/dev-lua/etree/etree-9999.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: This ebuild is from Lua overlay; Bumped by mva; $
+
+EAPI="5"
+
+VCS="git-r3"
+inherit lua
+
+DESCRIPTION="XML library that enables manipulation of XML documents as simple Lua data structures"
+HOMEPAGE="https://github.com/msva/etree"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/msva/${PN}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc"
+
+RDEPEND="
+	dev-lua/luaexpat
+"
+DEPEND="
+	${RDEPEND}
+"
+
+READMES=( README doc/manual.txt )
+HTML_DOCS=( doc/manual.html doc/style.css )
+
+all_lua_compile() {
+	touch .lua_eclass_config
+	use doc && (
+		emake doc
+	)
+}
+
+src_compile() { :; }
+
+each_lua_install() {
+	dolua src/${PN}.lua
+}

diff --git a/dev-lua/etree/metadata.xml b/dev-lua/etree/metadata.xml
new file mode 100644
index 0000000..23da526
--- /dev/null
+++ b/dev-lua/etree/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>mva@mva.name</email>
+ <description>
+	If you have any issues, please contact me, or try to find me in IRC on Freenode, OFTC or RusNet.
+ </description> 
+ <name>Vadim A. Misbakh-Soloviov</name>
+</maintainer>
+<longdescription>FIXME</longdescription> 
+<use>
+</use>
+</pkgmetadata>

diff --git a/dev-lua/luaexpat/luaexpat-9999.ebuild b/dev-lua/luaexpat/luaexpat-9999.ebuild
index 0ad94ea..a153674 100644
--- a/dev-lua/luaexpat/luaexpat-9999.ebuild
+++ b/dev-lua/luaexpat/luaexpat-9999.ebuild
@@ -4,12 +4,11 @@
 
 EAPI="5"
 
-LUA_COMPAT="lua51 luajit2"
 VCS="mercurial"
 IS_MULTILIB=true
 inherit lua
 
-DESCRIPTION="XMPP client library written in Lua."
+DESCRIPTION="SAX XML parser based on the Expat library."
 HOMEPAGE="http://code.matthewwild.co.uk/"
 EHG_REPO_URI="http://code.matthewwild.co.uk/lua-expat/"
 #EHG_REPO_URI="https://bitbucket.org/mva/luaexpat-temp"
@@ -27,7 +26,22 @@ DEPEND="
 "
 
 READMES=( README )
-HTML_DOCS=( doc/ )
+HTML_DOCS=( doc/. )
+
+all_lua_prepare() {
+	sed -i -r \
+		-e '/^COMMON_CFLAGS/s# -ansi##' \
+		Makefile
+
+	lua_default
+}
+
+each_lua_configure() {
+	myeconfargs=(
+		LUA_V="${lua_impl##lua}"
+	)
+	lua_default
+}
 
 each_lua_install() {
 	dolua src/lxp{,.so}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-11  1:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-11  1:54 [gentoo-commits] proj/lua:master commit in: dev-lua/etree/, dev-lua/luaexpat/ Vadim A. Misbakh-Soloviov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox