commit:     f851df3cdef29209abb0ca005110fe9387be9c75
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  7 05:37:23 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Mar  7 07:06:25 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f851df3c

dev-python/nuitka: Bump to 4.0.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/nuitka/Manifest            |  1 +
 dev-python/nuitka/nuitka-4.0.3.ebuild | 54 +++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
index de67767d601e..fcc1d13a3626 100644
--- a/dev-python/nuitka/Manifest
+++ b/dev-python/nuitka/Manifest
@@ -1 +1,2 @@
 DIST nuitka-4.0.2.tar.gz 4419359 BLAKE2B 
34490a1d7ad4a443da3bdbf6c37c7e96268b18dd68efc621c778964860febd340b2cfc800945929c229b697c858c48b57e59706ea2c775d6a7e28766bdf8835c
 SHA512 
d605a6860e11e2a9677d3b4bf30f1564256fd37306cfea12d7e64fb68f39844097cdc385236ef4f1a8fa12ad7ab15f4aac762e77aea7cf98722baec8473e1ac0
+DIST nuitka-4.0.3.tar.gz 4420169 BLAKE2B 
f57d371c68210a2ebb4ea3336935c510e90f47326c86c92bb2df5d60d3bb27ea345099e4d073c00562a55dfdb71feb2b215b35cefcb216c7c5510082d1182db0
 SHA512 
06690b5b4786bb1f3f47c8b168118a94ebd91e2830d17a5067722ae0d67ac50a6a0f126ff7635fc9b7edbe9f7c9561a1481fb969db4d89508a0f43a74314ff44

diff --git a/dev-python/nuitka/nuitka-4.0.3.ebuild 
b/dev-python/nuitka/nuitka-4.0.3.ebuild
new file mode 100644
index 000000000000..395b0323c88f
--- /dev/null
+++ b/dev-python/nuitka/nuitka-4.0.3.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_PN=${PN^}
+PYTHON_COMPAT=( python3_{11..13} )
+
+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}]
+       >=dev-python/ordered-set-4.1.0[${PYTHON_USEDEP}]
+       >=dev-python/zstandard-0.15[${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
+}

Reply via email to