From 1551fe56fd6ba43a94509cffc61b6bf854b7ac9f Mon Sep 17 00:00:00 2001
From: V3n3RiX <venerix@koprulu.sector>
Date: Sat, 1 Jun 2024 00:07:06 +0100
Subject: gentoo auto-resync : 01:06:2024 - 00:07:06

---
 dev-python/Nuitka/Manifest          |  2 ++
 dev-python/Nuitka/Nuitka-2.3.ebuild | 52 +++++++++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)
 create mode 100644 dev-python/Nuitka/Nuitka-2.3.ebuild

(limited to 'dev-python/Nuitka')

diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest
index 3d85eb633f72..25184df87352 100644
--- a/dev-python/Nuitka/Manifest
+++ b/dev-python/Nuitka/Manifest
@@ -1,5 +1,7 @@
 DIST Nuitka-2.2.2.tar.gz 3999091 BLAKE2B 1512b0112dfa36c704900b787ac43a24377ab2994d16865d85da0384d2bb29a6dd26a83be270c51c28bcca68dad2398d68096d4dae1ee3f2044a85dad2571d82 SHA512 13f03fb849d83a1fbb10df2fe54f429f8871068942dfe93316460e1abed9149793b6fc1d7b62b1e72fc00de94ae9fd4b218f4ee65ea7668d138700f2bfd94eb2
 DIST Nuitka-2.2.3.tar.gz 3657438 BLAKE2B f01a213f7dff39b6bba50ba21fbd120927caa60c88156aa0e9094339f260008fe18aaec4aabe5f878224516bddde697020ac16795e528b0e0141937565255b0a SHA512 36147901a75fcefad10ec75b66a3c988be9c8d6f54aca0f2f9ab3a8c4b06efc7c1b4eb5af5686675ce7040948f7032c27a93f7ea2429e02b99c2d817c37c72fe
+DIST Nuitka-2.3.tar.gz 3663624 BLAKE2B 14d11b529322710e1c733661447dda38b5c2140fa924f3a510b710fd9191c194f36a8340c7a6908bfcba62844b3e76604725b5e41e239a1097b9e6b91664b943 SHA512 2bdfd4970f024e1f035f231d3f11f417228d12c33929c2625f05ff410500f1f7903b4c7dca4493374b13acb615b00fd555239d59eda661b1e27b0a3facc7bd5e
 EBUILD Nuitka-2.2.2.ebuild 1110 BLAKE2B 53b492316e8b528c48de76d24ccf053bbde27a95e4a7dbf1af74d52a7c6df963cb12b660d992494ec332d36241051f19cad5ed05bb46f1e2c28922c12e5c1354 SHA512 08cde3d1329276fd4498e46e53056b0dd62169c8ce58ebfd00c927a6fe01149481b4b5faf18059c3026e607183ab7bb3a167d0440f7d43ca6008ff94af8a5761
 EBUILD Nuitka-2.2.3.ebuild 1110 BLAKE2B 53b492316e8b528c48de76d24ccf053bbde27a95e4a7dbf1af74d52a7c6df963cb12b660d992494ec332d36241051f19cad5ed05bb46f1e2c28922c12e5c1354 SHA512 08cde3d1329276fd4498e46e53056b0dd62169c8ce58ebfd00c927a6fe01149481b4b5faf18059c3026e607183ab7bb3a167d0440f7d43ca6008ff94af8a5761
+EBUILD Nuitka-2.3.ebuild 1110 BLAKE2B 53b492316e8b528c48de76d24ccf053bbde27a95e4a7dbf1af74d52a7c6df963cb12b660d992494ec332d36241051f19cad5ed05bb46f1e2c28922c12e5c1354 SHA512 08cde3d1329276fd4498e46e53056b0dd62169c8ce58ebfd00c927a6fe01149481b4b5faf18059c3026e607183ab7bb3a167d0440f7d43ca6008ff94af8a5761
 MISC metadata.xml 943 BLAKE2B d7ab883773e7480dcfb4b79932a3874e2274669169a24a54aa622a2a0ac079e0296da4bd196d166cb11fcff785985da0b10d0fae351032914ccf312c9bb9833c SHA512 625d8760b8e849c6e014856f584cb42f50bb5ebb1fa648cb704a5a1baf175e7d2ce9f43f6f724d11c81a68e364b6ac1c38459540b58f2ccd6a675902af5b1cc9
diff --git a/dev-python/Nuitka/Nuitka-2.3.ebuild b/dev-python/Nuitka/Nuitka-2.3.ebuild
new file mode 100644
index 000000000000..123acd66de1f
--- /dev/null
+++ b/dev-python/Nuitka/Nuitka-2.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 flag-o-matic optfeature pypi
+
+DESCRIPTION="Python to native compiler"
+HOMEPAGE="
+	https://nuitka.net/
+	https://github.com/Nuitka/Nuitka/
+	https://pypi.org/project/Nuitka/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~loong ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-build/scons[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	${RDEPEND}
+	test? ( dev-util/ccache )
+"
+
+distutils-r1_src_prepare() {
+	# remove vendored version of SCons that is Python2 only
+	# this should be removed when upstream removes support for Python2
+	rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die
+	eapply_user
+}
+
+python_install() {
+	distutils-r1_python_install
+	doman doc/nuitka.1 doc/nuitka-run.1
+}
+
+python_test() {
+	append-ldflags -Wl,--no-warn-search-mismatch
+	./tests/basics/run_all.py search || die
+}
+
+pkg_postinst() {
+	optfeature "support for stand-alone executables" dev-util/patchelf
+}
-- 
cgit v1.2.3