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 47D331382C5 for ; Sat, 28 Nov 2020 17:45:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B836E081A; Sat, 28 Nov 2020 17:45:06 +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 1431DE081A for ; Sat, 28 Nov 2020 17:45:06 +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 DE3C1341437 for ; Sat, 28 Nov 2020 17:45:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 13309478 for ; Sat, 28 Nov 2020 17:45:01 +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: <1606585488.f7e0d26b11000d734017cdb62d76db99fc5e7740.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/say/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/say/say-1.3_p1-r101.ebuild X-VCS-Directories: dev-lua/say/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: f7e0d26b11000d734017cdb62d76db99fc5e7740 X-VCS-Branch: master Date: Sat, 28 Nov 2020 17:45:01 +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: b685ce64-c154-4c0d-b49d-284de4165fb8 X-Archives-Hash: 076e56c310601b18bc5da831dc48d3fe commit: f7e0d26b11000d734017cdb62d76db99fc5e7740 Author: Conrad Kostecki gentoo org> AuthorDate: Sat Nov 28 17:30:26 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Nov 28 17:44:48 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7e0d26b dev-lua/say: fix lua deps Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/say/say-1.3_p1-r101.ebuild | 48 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/dev-lua/say/say-1.3_p1-r101.ebuild b/dev-lua/say/say-1.3_p1-r101.ebuild new file mode 100644 index 00000000000..cef73fc92c8 --- /dev/null +++ b/dev-lua/say/say-1.3_p1-r101.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( lua5-{1..3} luajit ) +MY_PV="${PV/_p/-}" + +inherit lua toolchain-funcs + +DESCRIPTION="Lua String Hashing/Indexing Library" +HOMEPAGE="http://olivinelabs.com/busted/" +SRC_URI="https://github.com/Olivine-Labs/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND="${LUA_DEPS}" + +BDEPEND=" + virtual/pkgconfig + test? ( >=dev-lua/busted-2.0.0-r100[${LUA_USEDEP}] ) + ${RDEPEND} +" + +lua_src_test() { + busted --lua=${ELUA} || die +} + +src_test() { + lua_foreach_impl lua_src_test +} + +lua_src_install() { + insinto $(lua_get_lmod_dir)/say + doins src/init.lua + + einstalldocs +} + +src_install() { + lua_foreach_impl lua_src_install +}