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 6EB3F13835B for ; Fri, 4 Dec 2020 14:36:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AFAC2E09B7; Fri, 4 Dec 2020 14:36:01 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 915A0E09BA for ; Fri, 4 Dec 2020 14:36:01 +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 A5FF7340D5D for ; Fri, 4 Dec 2020 14:36:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4A41747A for ; Fri, 4 Dec 2020 14:35:59 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1607092548.5f69ee78e788320e67503bb2e7ef0cc6fbc7621c.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luajson/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/luajson/luajson-1.3.3-r1.ebuild X-VCS-Directories: dev-lua/luajson/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 5f69ee78e788320e67503bb2e7ef0cc6fbc7621c X-VCS-Branch: master Date: Fri, 4 Dec 2020 14:35:59 +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: 089930fc-0f3e-49d3-ba62-c0b9bc7ad37c X-Archives-Hash: ba7896de10ad0bd5edccd7291e3a026f commit: 5f69ee78e788320e67503bb2e7ef0cc6fbc7621c Author: Conrad Kostecki gentoo org> AuthorDate: Fri Dec 4 14:21:37 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Fri Dec 4 14:35:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f69ee78 dev-lua/luajson: fix prefix Closes: https://bugs.gentoo.org/501166 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/luajson/luajson-1.3.3-r1.ebuild | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/dev-lua/luajson/luajson-1.3.3-r1.ebuild b/dev-lua/luajson/luajson-1.3.3-r1.ebuild new file mode 100644 index 00000000000..48f67efbcaa --- /dev/null +++ b/dev-lua/luajson/luajson-1.3.3-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +DESCRIPTION="JSON Parser/Constructor for Lua" +HOMEPAGE="https://www.eharning.us/wiki/luajson/" +SRC_URI="https://github.com/harningt/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 sparc x86" +IUSE="test" + +RDEPEND="|| ( >=dev-lang/lua-5.1:0 dev-lang/luajit:2 ) + dev-lua/lpeg" +DEPEND="test? ( dev-lua/luafilesystem )" + +# lunit not in the tree yet +RESTRICT="test" + +# nothing to compile +src_compile() { :; } + +src_install() { + emake PREFIX="${EPREFIX}/usr" DESTDIR="${D}" install + dodoc README docs/ReleaseNotes-${PV}.txt docs/LuaJSON.txt +}