From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 764631582EF for ; Sat, 01 Mar 2025 01:15:28 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 5E3C43430C3 for ; Sat, 01 Mar 2025 01:15:28 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id A24E311047E; Sat, 01 Mar 2025 01:14:44 +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 bobolink.gentoo.org (Postfix) with ESMTPS id 9AA4011047E for ; Sat, 01 Mar 2025 01:14:44 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5015E3430AD for ; Sat, 01 Mar 2025 01:14:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EB2771A10 for ; Sat, 01 Mar 2025 01:14:40 +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: <1740791592.6849facb12066db554ecb91e8707b8b5d0dd2ea9.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/luaposix/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/luaposix/Manifest dev-lua/luaposix/luaposix-36.3.ebuild X-VCS-Directories: dev-lua/luaposix/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 6849facb12066db554ecb91e8707b8b5d0dd2ea9 X-VCS-Branch: master Date: Sat, 01 Mar 2025 01:14:40 +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: ce7620d3-c4f1-4e3d-91e5-a371edc071be X-Archives-Hash: 5f0f2747c8b67b98ed0eb95d4eb8466e commit: 6849facb12066db554ecb91e8707b8b5d0dd2ea9 Author: Conrad Kostecki gentoo org> AuthorDate: Sat Mar 1 01:13:12 2025 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Mar 1 01:13:12 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6849facb dev-lua/luaposix: add 36.3 Signed-off-by: Conrad Kostecki gentoo.org> dev-lua/luaposix/Manifest | 1 + dev-lua/luaposix/luaposix-36.3.ebuild | 73 +++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/dev-lua/luaposix/Manifest b/dev-lua/luaposix/Manifest index 7a5009c06f9d..46942f2b94e8 100644 --- a/dev-lua/luaposix/Manifest +++ b/dev-lua/luaposix/Manifest @@ -1 +1,2 @@ DIST luaposix-36.2.1.tar.gz 188010 BLAKE2B 7f1d3cf0d766e32433f4946be92f3f0036652ae09e4816c8423e65ce47237b20151fec8ffa3d4b32079b247a98cb79f9c35758aff3c56c116b903a3b44c2c550 SHA512 cd7deeaa9179306f90bafdc6cfb2668cf42d5378e72e5baa09419198f2d42c5eab5d881e5584ac511f317bbfd850f2ad46b8cb743f1ae5e1a96f8153e03599d8 +DIST luaposix-36.3.tar.gz 189299 BLAKE2B 2d19844499dd48e71cd86216ee5bc27857a5d96586722f8395c7558c54c95a65c5675df6fe5c150f6d096b582a9cc1d3834a0731c9b865bbb66add9983006b30 SHA512 a2ad040089e2d334fe3e73ee1fb4cc741287e180962f54c0fbf9f74a0b4fd648eabef85f1d3260d904e1ba7072cdc3388d08c868da81c79f5a446004db92b7ef diff --git a/dev-lua/luaposix/luaposix-36.3.ebuild b/dev-lua/luaposix/luaposix-36.3.ebuild new file mode 100644 index 000000000000..0c811c99cbf3 --- /dev/null +++ b/dev-lua/luaposix/luaposix-36.3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +LUA_COMPAT=( lua5-{1..4} luajit ) + +inherit lua toolchain-funcs + +DESCRIPTION="Bindings for POSIX APIs" +HOMEPAGE="https://luaposix.github.io/luaposix/ https://github.com/luaposix/luaposix" +SRC_URI="https://github.com/luaposix/luaposix/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~riscv-linux ~x86-linux" +IUSE="doc" +REQUIRED_USE="${LUA_REQUIRED_USE}" + +# Requires specl, which is not in the tree yet +RESTRICT="test" + +DEPEND="${LUA_DEPS} + virtual/libcrypt:= +" +RDEPEND="${DEPEND} + lua_targets_lua5-1? ( dev-lua/lua-bit32[lua_targets_lua5-1(-)] ) + lua_targets_luajit? ( dev-lua/lua-bit32[lua_targets_luajit(-)] ) +" +BDEPEND="virtual/pkgconfig" + +src_prepare() { + default + lua_copy_sources +} + +lua_src_compile() { + pushd "${BUILD_DIR}" || die + + # LDOC=true means disable ldoc update documentation + ./build-aux/luke --verbose package="${PN}" version="${PV}" \ + LDOC=true \ + PREFIX="${ED}/usr" \ + INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ + INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ + LUA_INCDIR="${EPREFIX}/$(lua_get_include_dir)" \ + CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" CC="$(tc-getCC)" || die + + popd || die +} + +src_compile() { + lua_foreach_impl lua_src_compile +} + +lua_src_install() { + pushd "${BUILD_DIR}" || die + + ./build-aux/luke install \ + LDOC=true \ + PREFIX="${ED}/usr" \ + INST_LIBDIR="${ED}/$(lua_get_cmod_dir)" \ + INST_LUADIR="${ED}/$(lua_get_lmod_dir)" \ + || die + + popd || die +} + +src_install() { + lua_foreach_impl lua_src_install + dodoc {NEWS,README}.md + use doc && dodoc -r doc +}