commit: 0095892a6ccf52fccb6e28bba47c8f9e2da942f2
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 5 06:14:28 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 5 08:05:44 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0095892a
dev-python/nuitka: Bump to 2.6.4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/nuitka/Manifest | 1 +
dev-python/nuitka/nuitka-2.6.4.ebuild | 55 +++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
index 9fab197f892a..aaad4bb26f47 100644
--- a/dev-python/nuitka/Manifest
+++ b/dev-python/nuitka/Manifest
@@ -1 +1,2 @@
DIST Nuitka-2.6.3.tar.gz 3867473 BLAKE2B
77d6d173c130166b26a8cce7ce9b21658f832d86f99022bb43057d8e535d085fabecc0f4541d60eb3fc7b3c6c7785b87d7af789e2d05692408a2e6d9e0550859
SHA512
5e31812dc5351afeb8a172bb3a3b46133d34e8a569940182abe439adb929f6eb810ffdef6b50312e7a5645b97c3b7ec71f5c180ddfc4981b9f4445dc329812e7
+DIST Nuitka-2.6.4.tar.gz 3867647 BLAKE2B
2cac28a64ce52bf9d8f2d60b9cd1741f82a4bda7d34852867683e9d398a1b472b0af00ab67ec8424963318714ccfb07662627ce592999da769bf9836c6da7402
SHA512
a59c966c4f3925c6d2b8914e19c1125fb5efd1e05c32f3a6dbe2600157927e59485216fe990338911c9b1d4dd9e99823a700db5c08f33a836b295c81eb2f719e
diff --git a/dev-python/nuitka/nuitka-2.6.4.ebuild
b/dev-python/nuitka/nuitka-2.6.4.ebuild
new file mode 100644
index 000000000000..a5b9f247836d
--- /dev/null
+++ b/dev-python/nuitka/nuitka-2.6.4.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_{10..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
+}