summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-08-05 17:19:20 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-08-05 18:53:00 +0200
commitc250bdb2180b6ddd705f24ca707317adb636fbdd (patch)
tree0fdb0c4c98d52bbfea2ae78ebcafe30f145e4be8 /dev-lang
parentdev-lang/luau: drop old 0.588 (diff)
downloadgentoo-c250bdb2180b6ddd705f24ca707317adb636fbdd.tar.gz
gentoo-c250bdb2180b6ddd705f24ca707317adb636fbdd.tar.bz2
gentoo-c250bdb2180b6ddd705f24ca707317adb636fbdd.zip
dev-lang/luau: bump to 0.589
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.589.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-lang/luau/Manifest b/dev-lang/luau/Manifest
index fc291b39c46c..4d2780e98e23 100644
--- a/dev-lang/luau/Manifest
+++ b/dev-lang/luau/Manifest
@@ -1,2 +1,3 @@
DIST luau-0.583.tar.gz 5575214 BLAKE2B 17088d4d5026854a5aac29d80a20ab8901753a3d8b89c21491df44202d07433f801d10a8e9443bc21f3318cda059000e43ed2cc2cb5926d3464f47ac7352a3c4 SHA512 45964e485354839c42b44f1482b372d47bce95302122fbba2288a0880bc964e30e934bdd6a62d0b6b2e6d725bdbe3332f67dc136fa64b28be9b3a0b2bc55d16b
DIST luau-0.584.tar.gz 5577843 BLAKE2B a38fcc97f947a852bec3406ed4d80e8596f546e94f8f784b2dd322b7a61e8e0b28dda51815fb53541dc16a96ce8c2783fffdc958077671ce4db97d7e1e92d970 SHA512 826f72cd43f2ebdb4a17441ca56c86d6fbe7ce22fa7017493b97b01d4ca41956faff0f88d72e0ccf1afc202c451a8ba821d02030ee406cc3e2e496bd239daf5d
+DIST luau-0.589.tar.gz 6003411 BLAKE2B d478aea8a9c2091d2b17cf48c07faeb50801d39c4295f70c81485f96af5c05b5d9b565b18e96977933e5b8a5ddd3b1570da39ae28e53bf74b32fc595d1ccbd67 SHA512 923519a59e8cf92f92c06b2e18716b1360d504098137e72757a607d8e6801c7aaac6b6285264ca74e3dd90b618433e06599511b9a49198532501c2b8f841b577
diff --git a/dev-lang/luau/luau-0.589.ebuild b/dev-lang/luau/luau-0.589.ebuild
new file mode 100644
index 000000000000..c7bee4916d90
--- /dev/null
+++ b/dev-lang/luau/luau-0.589.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
+}