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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A47A8158021 for ; Sun, 23 Oct 2022 10:24:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DCC73E086A; Sun, 23 Oct 2022 10:24:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C3D17E086A for ; Sun, 23 Oct 2022 10:24:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE4BA340D91 for ; Sun, 23 Oct 2022 10:24:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E21E255B for ; Sun, 23 Oct 2022 10:24:25 +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: <1666520647.ec5b12f0684b6274726ef090465ee2167c7b146c.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/say/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/say/Manifest dev-lua/say/metadata.xml dev-lua/say/say-1.4.1.ebuild X-VCS-Directories: dev-lua/say/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: ec5b12f0684b6274726ef090465ee2167c7b146c X-VCS-Branch: master Date: Sun, 23 Oct 2022 10:24:25 +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: 5e94585d-a588-4e7f-97cc-12485d690903 X-Archives-Hash: a5c61d2da1af1242dafb8c982e3a5c07 commit: ec5b12f0684b6274726ef090465ee2167c7b146c Author: Conrad Kostecki gentoo org> AuthorDate: Sun Oct 23 10:21:50 2022 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sun Oct 23 10:24:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec5b12f0 dev-lua/say: add 1.4.1 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/say/Manifest | 1 + dev-lua/say/metadata.xml | 2 +- dev-lua/say/say-1.4.1.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 48 insertions(+), 1 deletion(-) diff --git a/dev-lua/say/Manifest b/dev-lua/say/Manifest index c196908b1e38..31dc07a30a59 100644 --- a/dev-lua/say/Manifest +++ b/dev-lua/say/Manifest @@ -1 +1,2 @@ DIST say-1.3_p1.tar.gz 3667 BLAKE2B bd99687a71129c5038749b0a2ea48411a411cf05559793cc0c4802a5b7aa620fbf4fd15ed9ab661b33c7b9f94468aaf9e292d177aca4d1c7cd29009601d015f0 SHA512 8d4a360bf0731c2a70c23edb9e6e81cab1e7d9b861aa35103a5c6e521633410860d76c46dc2ea62a06ac8ab3b522bc71c11143d6fe7e26e7fa24dd3f5ea1e5f6 +DIST say-1.4.1.tar.gz 6091 BLAKE2B 59280a9d8e95f1f759c59a4886f864046ff65db035652acec0c9c32eda000ed8eda74385769bc6b0946262a3695db857848ca4b844a8a1626949c1b5bf273dab SHA512 a6c3477859615d7ae0677ac7aa0cefe8bf6f43424812062b4a06145017952b176801431c5be920cb67f52c07cc3d374e8a6714233e2252a2bb6b7ed4c3e32f90 diff --git a/dev-lua/say/metadata.xml b/dev-lua/say/metadata.xml index be04c7182c17..f476c828a2cd 100644 --- a/dev-lua/say/metadata.xml +++ b/dev-lua/say/metadata.xml @@ -11,6 +11,6 @@ - Olivine-Labs/say + lunarmodules/say diff --git a/dev-lua/say/say-1.4.1.ebuild b/dev-lua/say/say-1.4.1.ebuild new file mode 100644 index 000000000000..b17a4c9fa4d1 --- /dev/null +++ b/dev-lua/say/say-1.4.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua + +DESCRIPTION="Lua String Hashing/Indexing Library" +HOMEPAGE="https://github.com/lunarmodules/say" +SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND="${LUA_DEPS}" + +BDEPEND=" + virtual/pkgconfig + test? ( dev-lua/busted[${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/say/init.lua + + einstalldocs +} + +src_install() { + lua_foreach_impl lua_src_install +}