commit: 866d69eb97963c966031b3ab01d19111eed0b371
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 02:38:27 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 02:38:27 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=866d69eb
dev-python/nuitka: Bump to 2.6.6
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/nuitka/Manifest | 1 +
dev-python/nuitka/nuitka-2.6.6.ebuild | 55 +++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
index 6d776a484e02..b3303773ea7b 100644
--- a/dev-python/nuitka/Manifest
+++ b/dev-python/nuitka/Manifest
@@ -1 +1,2 @@
DIST Nuitka-2.6.5.tar.gz 3866446 BLAKE2B
6bdbd3e9dd43e061c507dfbc7a7a902a387dcb7695ad9bc340aad448e5e8453ed4afb465a403bb185bcba81125cced21b6f5ba107e3bada1fc29614f0538533b
SHA512
4b96cb29ea59afa90345e5cbeb77c174d4931414a5cd3df8178cdc320b9e29b2316964bc3384d5d4f16ac948cbfc5b3e428e0d826748ce2a04f57cd42defb77e
+DIST Nuitka-2.6.6.tar.gz 3867022 BLAKE2B
30bc28811005426aacb0390cecedc287c6a1a92b17aa594f208b70bc9975c4538d926ce564280a57799a9cbd8a772b8bf2f7598f8163110e3dc64a6d524fc34e
SHA512
e226710ee766acde7e26b4e563f61f4aed41f207bfe2b63c5d8661d5049db2ce61016d1040cadb8602034bc23cac9056d5c7cf2b5bf463d50b4fd3fd48a5b61e
diff --git a/dev-python/nuitka/nuitka-2.6.6.ebuild
b/dev-python/nuitka/nuitka-2.6.6.ebuild
new file mode 100644
index 000000000000..a5b9f247836d
--- /dev/null
+++ b/dev-python/nuitka/nuitka-2.6.6.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
+}