diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index ef2e2ddce4d14..5ed1700fcb537 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1 +1,2 @@ DIST nuitka-4.0.5.tar.gz 4420878 BLAKE2B 5e63688afcf533f58c345b110b9710b38fb0a27fcde5fcfe22e71a761bd2e958ebcfaea920f0bd4b468c12fc7a81d18d38d7e193187af03e133e171b668bb49e SHA512 1b2563d06e3585bfc0ad109e0acc076abb75ad2e259eef7fe7ffb504185d15283c9056d9781496a34cb470632e0f834f05526efe32bb222affcbe76975a228c7 +DIST nuitka-4.0.6.tar.gz 4421620 BLAKE2B 65ea4fa6b008f52ac0441e44c948e254592b7a67100a2ff7c3fcc1c7b73a7ebda09efd929f0f608fea4ec8b43161057491da1d8fb22a6dba5ff2931fef31af4d SHA512 f4fea6ed273d27086ddc6b9805aae3d5ed341dada0ad798b1a778598fdd6bcc28c24452201bbb13d8e8a0be61421be43389550158ac8af542d82f736a21aa120 diff --git a/dev-python/nuitka/nuitka-4.0.6.ebuild b/dev-python/nuitka/nuitka-4.0.6.ebuild new file mode 100644 index 0000000000000..395b0323c88f1 --- /dev/null +++ b/dev-python/nuitka/nuitka-4.0.6.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 +}