commit:     0d3571ea162f22f677f583c4e249e0027b40fed8
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 10 14:26:00 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jul 10 18:55:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d3571ea

dev-lang/luau: new package; add 0.583

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/luau/Manifest          |  1 +
 dev-lang/luau/luau-0.583.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 dev-lang/luau/metadata.xml      | 24 ++++++++++++++++++++++++
 3 files changed, 61 insertions(+)

diff --git a/dev-lang/luau/Manifest b/dev-lang/luau/Manifest
new file mode 100644
index 000000000000..fb67345f8cf9
--- /dev/null
+++ b/dev-lang/luau/Manifest
@@ -0,0 +1 @@
+DIST luau-0.583.tar.gz 5575214 BLAKE2B 
17088d4d5026854a5aac29d80a20ab8901753a3d8b89c21491df44202d07433f801d10a8e9443bc21f3318cda059000e43ed2cc2cb5926d3464f47ac7352a3c4
 SHA512 
45964e485354839c42b44f1482b372d47bce95302122fbba2288a0880bc964e30e934bdd6a62d0b6b2e6d725bdbe3332f67dc136fa64b28be9b3a0b2bc55d16b

diff --git a/dev-lang/luau/luau-0.583.ebuild b/dev-lang/luau/luau-0.583.ebuild
new file mode 100644
index 000000000000..c7bee4916d90
--- /dev/null
+++ b/dev-lang/luau/luau-0.583.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
+}

diff --git a/dev-lang/luau/metadata.xml b/dev-lang/luau/metadata.xml
new file mode 100644
index 000000000000..bc6dc6ae3533
--- /dev/null
+++ b/dev-lang/luau/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>[email protected]</email>
+    <name>Maciej Barć</name>
+  </maintainer>
+  <longdescription>
+    Luau is a fast, small, safe, gradually typed embeddable scripting language
+    derived from Lua. It is designed to be backwards compatible with Lua 5.1,
+    as well as incorporating some features from future Lua releases, but also
+    expands the feature set (most notably with type annotations). Luau is
+    largely implemented from scratch, with the language runtime being a very
+    heavily modified version of Lua 5.1 runtime, with completely rewritten
+    interpreter and other performance innovations. The runtime mostly preserves
+    Lua 5.1 API, so existing bindings should be more or less compatible with a
+    few caveats.
+  </longdescription>
+  <upstream>
+    <bugs-to>https://github.com/Roblox/luau/issues/</bugs-to>
+    <remote-id type="github">Roblox/luau</remote-id>
+  </upstream>
+</pkgmetadata>

Reply via email to