summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-11-07 19:00:52 +0100
committerMaciej Barć <xgqt@gentoo.org>2023-11-07 19:50:11 +0100
commit54c87006ef9e904ea5af4f45e3fc9866047954e2 (patch)
tree8dc29e8659cb8384cd7f00251340ad4dec363005 /dev-lang
parentgames-util/heroic-bin: bump to 2.10.0 (diff)
downloadgentoo-54c87006ef9e904ea5af4f45e3fc9866047954e2.tar.gz
gentoo-54c87006ef9e904ea5af4f45e3fc9866047954e2.tar.bz2
gentoo-54c87006ef9e904ea5af4f45e3fc9866047954e2.zip
dev-lang/luau: bump to 0.602
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/luau/Manifest1
-rw-r--r--dev-lang/luau/luau-0.602.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-lang/luau/Manifest b/dev-lang/luau/Manifest
index c3829c333e0a..6a3421a15020 100644
--- a/dev-lang/luau/Manifest
+++ b/dev-lang/luau/Manifest
@@ -3,3 +3,4 @@ DIST luau-0.598.tar.gz 6081452 BLAKE2B 19b725ea63df144288ef7d7ce12e1ae04a9908acd
DIST luau-0.599.tar.gz 6501273 BLAKE2B f065f0ca11664841d182384c3ae3f3e8e283a0c504df43bd67139039afd1b75343ffc24c2fb26e13914bdc22efe66dd68cd3f1eb922bad2eda2540b04120a1ae SHA512 de9997f240f52551097bdd8af9c4fc40d0c90289e4e0d3677c2fedca2e69d57a7ac3fa8dc2df60eecfb466d9205eed517cb6cedbebde80ad318a370f37ee0ec9
DIST luau-0.600.tar.gz 6521332 BLAKE2B e2dee23ce448659ef9ebba4067c61a2666028de63cc4bdccc55cc970740c419f5865659601ef2c63e0cb381fef43b0ceb5f944eb29677f8f3ee10bf511b7aed1 SHA512 51d8cc1bf6547c5866e5f98748dac31f6da645552ba57ce7b100586cf51c1d7e0bc54359f1f74ff7043d2801256695c074b3a604f0404fc331472c664edf9cea
DIST luau-0.601.tar.gz 1612674 BLAKE2B f3f760dc6e74ccaba616e5320e78c5994e6c9cc89eaeac18b62533a22e2fc3756e6be6c17cd5b14a212cca384164f7ec90ca720dfd53801dcfa4cf5df17a6ddd SHA512 be8c5fc29269a8c94a8aa0f15f4d88f11ee0d75be4c51c61225b6a0ebebba3c9cfb6c0dee0045a775ccfaf95ea9b4d52e84acf7a9fe970fa92b9bc0d161233d8
+DIST luau-0.602.tar.gz 1541398 BLAKE2B 95e41b40d0e037102c035b658802326103abf8b250b9946329bbbb295cc50f4d369ff7b10e6350eabdb0a650fd51a324c428cdf4b878b15f27297e93435e0671 SHA512 d4ebddc067cf7f93f472e7d30afb4eb9f37687e96d13ebf62f5cb964d018fc42eee4cc97b957e9296e2ff0f509e78cfb4c7f726c7bb79e20786e7a268c7c7de6
diff --git a/dev-lang/luau/luau-0.602.ebuild b/dev-lang/luau/luau-0.602.ebuild
new file mode 100644
index 000000000000..c7bee4916d90
--- /dev/null
+++ b/dev-lang/luau/luau-0.602.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Gradually typed embeddable scripting language derived from Lua"
+HOMEPAGE="https://luau-lang.org/
+ https://github.com/Roblox/luau/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Roblox/${PN}.git"
+else
+ SRC_URI="https://github.com/Roblox/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+DOCS=( CONTRIBUTING.md README.md SECURITY.md )
+
+src_test() {
+ "${BUILD_DIR}"/Luau.UnitTest || die
+ "${BUILD_DIR}"/Luau.Conformance || die
+}
+
+src_install() {
+ exeinto /usr/bin
+ doexe "${BUILD_DIR}"/luau{,-analyze,-ast,-compile,-reduce}
+
+ einstalldocs
+}