commit:     7fc1077e6c925d633bc8778ebbc799ba682c30ff
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 15 02:31:18 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 15 02:31:18 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fc1077e

dev-python/nuitka: Bump to 4.0.1

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

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

diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
index a979e7975724..1c6c1dcf51ae 100644
--- a/dev-python/nuitka/Manifest
+++ b/dev-python/nuitka/Manifest
@@ -1 +1,2 @@
+DIST nuitka-4.0.1.tar.gz 4417011 BLAKE2B 
44ecd463d3de3143880ec814cc6da458675b0343e61e044a5dc0eb9438b697f2769b4e17427a7e56064ec8228db7e5cb0cbafac50d53c10c495ff718170c4d2f
 SHA512 
4d7ea97b1cf969060bb2e543d1e404aeac9b275cc69178792b4eb0844a63683dd5a9af909260f743c534053c9eca71b6aee3afd9106d02d501bdf9df06623c5c
 DIST nuitka-4.0.tar.gz 4410008 BLAKE2B 
2359e1c48a83b3f0461dc4da1abe34a861fcee1c5a2987a2d32a72bb19b3c8868bfb79f7cf69f0aef351e061af80dd0874f338aa601a751b243f998115272f2c
 SHA512 
ed9e25fa3d81ebe8f0fec104154b8d59853ad898c94b4e49056fda111ccf9bb1c701fa13e9757ac7dc26858d16637ba3ac12065322cddc9f0f3506b25d120f5c

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