commit: dc46c2677dbc6b7881192dc2270704bf78e98b02
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 13 02:23:15 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct 13 02:55:24 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc46c267
dev-python/nuitka: Bump to 2.8.1
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/nuitka/Manifest | 1 +
dev-python/nuitka/nuitka-2.8.1.ebuild | 55 +++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
index eec5357ade4f..e59de10c6473 100644
--- a/dev-python/nuitka/Manifest
+++ b/dev-python/nuitka/Manifest
@@ -1,3 +1,4 @@
DIST Nuitka-2.7.14.tar.gz 3888306 BLAKE2B
84f2aa6de7d9a29054aa84fbcbebb8724eca882d664980d7a2bc2cf597dc61e1f2416b161baaaa91b5d25a84d5d1e0dbe12d6fd0216bd0c6193352a9bb256063
SHA512
260800d577810eba08dd1ee9a85cfef1a2df4449240d32c7b95016bddde0addb9a6bfa95e5d44a647c85bfdf3372eadcb5cfe7e050bee95069a44f1d2611c4df
DIST Nuitka-2.7.16.tar.gz 3889164 BLAKE2B
1dfdf805e74246d15945fa294910228185796e882f3a34ca0c3706bf172c4aee8b6618ce66a248656fb82f0c9639b251194c1baa6a4e903907eb65d6e95cf77a
SHA512
be729f0e749502d8c82a56af6ea5cdd3a7d228f751154af814febccb3c3682b553add61863e7bfb11032c5772dac6c759008f4b430f8dcb9e1769030c9e479b1
+DIST Nuitka-2.8.1.tar.gz 3884450 BLAKE2B
d6ac886e7854543cca0568a741bfc47379e0d17b9c15e9c877f6f9950b5a0c3d6f048edbfb73fb11df55f3a723ffd8f43624df0b61d8817b88daca783d0e53e4
SHA512
99c1431c29a2da7ac855cd136216b71506b7fc763106d753926c4489365306d7de12ffa9a2ac68b0c42477c3cdfa33e46ac90b246f6956dd9f6d5906b93d511d
DIST Nuitka-2.8.tar.gz 3883900 BLAKE2B
6c5ac2c7a09acec92665795b798d7b50dd3b5bc7add61378753eaa44e7d7f59f7ea791ce96dd042c9a4fa739774cba213b2cdd523699b249710424df23d76a5d
SHA512
d4704c01f01dae48109cad93c9a41520c0cafedaa84d174a963da60a7f9c69e79b75853d5857d91d7e37afdf886d77f02985ba7055149a3673267cc76ce65a3b
diff --git a/dev-python/nuitka/nuitka-2.8.1.ebuild
b/dev-python/nuitka/nuitka-2.8.1.ebuild
new file mode 100644
index 000000000000..56ab4fd312bd
--- /dev/null
+++ b/dev-python/nuitka/nuitka-2.8.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYPI_NO_NORMALIZE=1
+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
+}