commit:     77c92398a750f4e96942c9fa62c593de6c0e36be
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 11 05:42:33 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Mar 11 05:42:33 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77c92398

dev-python/nuitka: Bump to 4.0.4

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

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

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

diff --git a/dev-python/nuitka/nuitka-4.0.4.ebuild 
b/dev-python/nuitka/nuitka-4.0.4.ebuild
new file mode 100644
index 000000000000..395b0323c88f
--- /dev/null
+++ b/dev-python/nuitka/nuitka-4.0.4.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