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 DFAA21582EF for ; Fri, 28 Feb 2025 13:42:25 +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) server-digest SHA256) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id C71293431C9 for ; Fri, 28 Feb 2025 13:42:25 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C66CD1102C9; Fri, 28 Feb 2025 13:42:24 +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) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id BB6C61102C9 for ; Fri, 28 Feb 2025 13:42:24 +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 6FF583431B8 for ; Fri, 28 Feb 2025 13:42:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D174E23EF for ; Fri, 28 Feb 2025 13:42:22 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1740750138.de7353f8b84914c6616dd6b316051658aecddd44.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/luau/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/luau/Manifest dev-lang/luau/luau-0.662.ebuild X-VCS-Directories: dev-lang/luau/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: de7353f8b84914c6616dd6b316051658aecddd44 X-VCS-Branch: master Date: Fri, 28 Feb 2025 13:42:22 +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: 27966019-af63-4348-b2f5-07bb4966dd9c X-Archives-Hash: 2b6c7c92d31dbc6499efa8ce9bfcd8b2 commit: de7353f8b84914c6616dd6b316051658aecddd44 Author: Maciej Barć gentoo org> AuthorDate: Fri Feb 28 12:03:46 2025 +0000 Commit: Maciej Barć gentoo org> CommitDate: Fri Feb 28 13:42:18 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de7353f8 dev-lang/luau: bump to 0.662 Signed-off-by: Maciej Barć gentoo.org> dev-lang/luau/Manifest | 1 + dev-lang/luau/luau-0.662.ebuild | 57 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) diff --git a/dev-lang/luau/Manifest b/dev-lang/luau/Manifest index 30011bf08032..9bb7ae6d989f 100644 --- a/dev-lang/luau/Manifest +++ b/dev-lang/luau/Manifest @@ -1 +1,2 @@ DIST luau-0.653.tar.gz 1858007 BLAKE2B 5e919c2d558f3d9fb44b50c43c063779ef9400bcec7f1881884eccad1f972424ec8c662de3a19c958a00dad0b38dbb295c9ff89b286b39e8d842d102c17346fc SHA512 470cf58a923f0ab3baa36805500100fca16972bea2f87b45fa17ed4d058f3fbc162d4a7802a75a46ad7a46b25630379ac063462751a4d31f65c6df6d0a527c15 +DIST luau-0.662.gh.tar.gz 1918568 BLAKE2B 982c4f9878a95a83254d97ec6eb4ab16cb11f8fc7edc868a5377a37298466761a44c6adb5dbb478b44969a73324031409b83c380aeccdf23c0446b4648cda7ca SHA512 ee3657b711e62e8c8003fe1a418b5ca3362b171822426892933c8ea0c80341e5b6bf23e493ce76184577af05944fdd2841412e81c2a217c9a1dc6d9e1a4f5c14 diff --git a/dev-lang/luau/luau-0.662.ebuild b/dev-lang/luau/luau-0.662.ebuild new file mode 100644 index 000000000000..4e0e683860eb --- /dev/null +++ b/dev-lang/luau/luau-0.662.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake edo + +DESCRIPTION="Gradually typed embeddable scripting language derived from Lua" +HOMEPAGE="https://luau.org/ + https://github.com/luau-lang/luau/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/luau-lang/${PN}" +else + SRC_URI="https://github.com/luau-lang/${PN}/archive/${PV}.tar.gz + -> ${P}.gh.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="static-libs test" +RESTRICT="!test? ( test )" + +DOCS=( CONTRIBUTING.md README.md SECURITY.md ) + +src_configure() { + local -a mycmakeargs=( + -DLUAU_BUILD_TESTS="$(usex test)" + ) + cmake_src_configure +} + +src_test() { + edo "${BUILD_DIR}/Luau.UnitTest" --verbose + edo "${BUILD_DIR}/Luau.Conformance" --verbose +} + +src_install() { + exeinto /usr/bin + doexe "${BUILD_DIR}"/luau{,-analyze,-ast,-compile,-reduce} + + insinto /usr/include/Luau + doins ./CodeGen/include/luacodegen.h + doins ./Compiler/include/luacode.h + doins ./VM/include/*.h + doins ./{Config,Common,Compiler,CodeGen,Ast,Analysis,EqSat}/include/Luau/*.h + + if use static-libs ; then + dolib.a "${BUILD_DIR}"/libLuau.*.a + fi + + einstalldocs +}