public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-lang/luau/files/, dev-lang/luau/
@ 2023-08-12 23:23 Maciej Barć
  0 siblings, 0 replies; only message in thread
From: Maciej Barć @ 2023-08-12 23:23 UTC (permalink / raw
  To: gentoo-commits

commit:     bc936b485c807d3f7c73a7587314c2ddcf2b596b
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 12 22:07:15 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 23:23:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc936b48

dev-lang/luau: bump to 0.590

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

 dev-lang/luau/Manifest                       |  1 +
 dev-lang/luau/files/luau-0.590-cstdint.patch | 10 ++++++++
 dev-lang/luau/luau-0.590.ebuild              | 38 ++++++++++++++++++++++++++++
 3 files changed, 49 insertions(+)

diff --git a/dev-lang/luau/Manifest b/dev-lang/luau/Manifest
index 3da4f71567ac..d4c2d9ae6de1 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.589.tar.gz 6003411 BLAKE2B d478aea8a9c2091d2b17cf48c07faeb50801d39c4295f70c81485f96af5c05b5d9b565b18e96977933e5b8a5ddd3b1570da39ae28e53bf74b32fc595d1ccbd67 SHA512 923519a59e8cf92f92c06b2e18716b1360d504098137e72757a607d8e6801c7aaac6b6285264ca74e3dd90b618433e06599511b9a49198532501c2b8f841b577
+DIST luau-0.590.tar.gz 6009230 BLAKE2B 16dd1d5f04071f993683e099c9e9b1f15b55cfc4023df5c61e3008503eef53de65dcf54efc3b087d32df765ae51836e08d0865e3008cabc3f231fb48145c872a SHA512 bc43c321ee4f9253fe672a043ef29aa10b6911c462ee93d21c5f91a37ce05b51815426242e541eac86b66f1a17fcbd426ad673b6443c9ec478ae9e1e76239726

diff --git a/dev-lang/luau/files/luau-0.590-cstdint.patch b/dev-lang/luau/files/luau-0.590-cstdint.patch
new file mode 100644
index 000000000000..50dd7254ed58
--- /dev/null
+++ b/dev-lang/luau/files/luau-0.590-cstdint.patch
@@ -0,0 +1,10 @@
+--- a/Analysis/include/Luau/LinterConfig.h
++++ b/Analysis/include/Luau/LinterConfig.h
+@@ -5,6 +5,7 @@
+ 
+ #include <string>
+ #include <vector>
++#include <stdint.h>
+ 
+ namespace Luau
+ {

diff --git a/dev-lang/luau/luau-0.590.ebuild b/dev-lang/luau/luau-0.590.ebuild
new file mode 100644
index 000000000000..70561ecec748
--- /dev/null
+++ b/dev-lang/luau/luau-0.590.ebuild
@@ -0,0 +1,38 @@
+# 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"
+
+PATCHES=( "${FILESDIR}"/${PN}-0.590-cstdint.patch )
+
+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
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-12 23:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-12 23:23 [gentoo-commits] repo/gentoo:master commit in: dev-lang/luau/files/, dev-lang/luau/ Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox