dev-python/nuitka: Bump to 4.0.7

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2026-03-25 06:32:35 +01:00
parent 83d20b4248
commit 23ee0d03e8
2 changed files with 55 additions and 0 deletions

View File

@@ -1,2 +1,3 @@
DIST nuitka-4.0.5.tar.gz 4420878 BLAKE2B 5e63688afcf533f58c345b110b9710b38fb0a27fcde5fcfe22e71a761bd2e958ebcfaea920f0bd4b468c12fc7a81d18d38d7e193187af03e133e171b668bb49e SHA512 1b2563d06e3585bfc0ad109e0acc076abb75ad2e259eef7fe7ffb504185d15283c9056d9781496a34cb470632e0f834f05526efe32bb222affcbe76975a228c7
DIST nuitka-4.0.6.tar.gz 4421620 BLAKE2B 65ea4fa6b008f52ac0441e44c948e254592b7a67100a2ff7c3fcc1c7b73a7ebda09efd929f0f608fea4ec8b43161057491da1d8fb22a6dba5ff2931fef31af4d SHA512 f4fea6ed273d27086ddc6b9805aae3d5ed341dada0ad798b1a778598fdd6bcc28c24452201bbb13d8e8a0be61421be43389550158ac8af542d82f736a21aa120
DIST nuitka-4.0.7.tar.gz 4421537 BLAKE2B 038d091f2ee8628a1f79f20f2739ea7b9e9e6305e5eb83bbedcc709702eef85061fcf062416991e0ff8b499d1a14a20c2afc84118fdd33a3837c786ed81fe1d8 SHA512 e29c8e037b651310cd8c937ee542b5d1d52e2ebd4b7ee475de87dfbebc47c40c8576a44c00a7d2ce2bcfeee1f13eb942ce1c28a31ae5e779cc5e6f06ca9d6485

View File

@@ -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
}