From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 37FAB1388C1 for ; Wed, 11 Nov 2015 17:50:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C15F521C08C; Wed, 11 Nov 2015 17:50:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D1F2221C0AD for ; Wed, 11 Nov 2015 17:50:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E5EB333FD3F for ; Wed, 11 Nov 2015 17:50:49 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 73FAB2322 for ; Wed, 11 Nov 2015 17:50:47 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1447263551.fcca8f402bb0c80cc84fc370c0ffa63e55dacbd6.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/dkjson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/dkjson/Manifest dev-lua/dkjson/dkjson-2.5.ebuild dev-lua/dkjson/metadata.xml X-VCS-Directories: dev-lua/dkjson/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: fcca8f402bb0c80cc84fc370c0ffa63e55dacbd6 X-VCS-Branch: master Date: Wed, 11 Nov 2015 17:50:47 +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-Archives-Salt: e8397936-6808-42fa-9994-70ca59337bcd X-Archives-Hash: 2278304f5c21c513b6e1164b8a2de360 commit: fcca8f402bb0c80cc84fc370c0ffa63e55dacbd6 Author: William Hubbs gentoo org> AuthorDate: Tue Nov 10 17:53:33 2015 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Nov 11 17:39:11 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcca8f40 dev-lua/dkjson: initial commit dev-lua/dkjson/Manifest | 1 + dev-lua/dkjson/dkjson-2.5.ebuild | 28 ++++++++++++++++++++++++++++ dev-lua/dkjson/metadata.xml | 18 ++++++++++++++++++ 3 files changed, 47 insertions(+) diff --git a/dev-lua/dkjson/Manifest b/dev-lua/dkjson/Manifest new file mode 100644 index 0000000..384480a --- /dev/null +++ b/dev-lua/dkjson/Manifest @@ -0,0 +1 @@ +DIST dkjson-2.5.tar.gz 15799 SHA256 552bde07d6eb95dc32423cc4c6f6fa40699611ef6ba96ba990fcd0e055b38a93 SHA512 ec9a226c3a94d7561f8f51bb0e6c92a64385b0d8baf83de862cce7e1c302d900bff723be23e4b5b4c3c2accafaf8d75d4b0842e14b2e41390a3f9761d46a38af WHIRLPOOL 91a6be85a277caa8e00ccfc0121384e4ed6db23cd82b00a55d1c8b8c8f89b3c1efe321f6d17f3849eed20ba1f3681052ca94d347dfc17d79a404f98cf64e7f11 diff --git a/dev-lua/dkjson/dkjson-2.5.ebuild b/dev-lua/dkjson/dkjson-2.5.ebuild new file mode 100644 index 0000000..20febb1 --- /dev/null +++ b/dev-lua/dkjson/dkjson-2.5.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="David Kolf's JSON module for Lua" +HOMEPAGE="http://dkolf.de/src/dkjson-lua.fsl/" +SRC_URI="http://dkolf.de/src/dkjson-lua.fsl/tarball/${P}.tar.gz?uuid=release_2_5 -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +COMMON_DEPEND=">=dev-lang/lua-5.1:= + !>=dev-lang/lua-5.4" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND}" + +src_install() { + insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)" +doins dkjson.lua +dodoc readme.txt +} diff --git a/dev-lua/dkjson/metadata.xml b/dev-lua/dkjson/metadata.xml new file mode 100644 index 0000000..3c7fa20 --- /dev/null +++ b/dev-lua/dkjson/metadata.xml @@ -0,0 +1,18 @@ + + + + + williamh@gentoo.org + William Hubbs + + + dkjson is a module for encoding and decoding JSON data. It supports + UTF-8. + + JSON (JavaScript Object Notation) is a format for serializing data + based on the syntax for JavaScript data structures. + + dkjson is written in Lua without any dependencies, but + when LPeg is available dkjson uses it to speed up decoding. + +