diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 906ed860de493..26885f0641975 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,3 +1,4 @@ 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 +DIST nuitka-4.0.5.tar.gz 4420878 BLAKE2B 5e63688afcf533f58c345b110b9710b38fb0a27fcde5fcfe22e71a761bd2e958ebcfaea920f0bd4b468c12fc7a81d18d38d7e193187af03e133e171b668bb49e SHA512 1b2563d06e3585bfc0ad109e0acc076abb75ad2e259eef7fe7ffb504185d15283c9056d9781496a34cb470632e0f834f05526efe32bb222affcbe76975a228c7 diff --git a/dev-python/nuitka/nuitka-4.0.5.ebuild b/dev-python/nuitka/nuitka-4.0.5.ebuild new file mode 100644 index 0000000000000..395b0323c88f1 --- /dev/null +++ b/dev-python/nuitka/nuitka-4.0.5.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 +}