commit:     ea9489557790b4b08c6fa9254ea06435f631d46c
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 11 05:38:24 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 11 08:47:19 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea948955

dev-python/nuitka: Bump to 2.6.8

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/nuitka/Manifest            |  1 +
 dev-python/nuitka/nuitka-2.6.8.ebuild | 55 +++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
index ecf3a7ada16c..ac9b51f5b37b 100644
--- a/dev-python/nuitka/Manifest
+++ b/dev-python/nuitka/Manifest
@@ -1 +1,2 @@
 DIST Nuitka-2.6.7.tar.gz 3868800 BLAKE2B 
54dac08c3e5d7b65088ef4883bea3595cb23f05906daf9e8f8229c00bd6e1a7498964441440d4c34350c7eaa10b817211d5f64c2580d9e8422593baf96f64a98
 SHA512 
a8f4fd4fada216453bafe45bff60426a4ddad00022acc06a7308e154161176cad50e734552edd3a712b84b5005a6e0ba230eb075991006b25490976b66f8440f
+DIST Nuitka-2.6.8.tar.gz 3869248 BLAKE2B 
5dbb0886a472806adbe19a4928b9608a0827d63e7f3663ae0e04c1debe4d974cd84ddf65eba13e52e9292f33e16ef8b65876fb97af682d9c6d1e3233684ccfcf
 SHA512 
6cc5f2db40ec0b61a7324d27c6c14c40a7c1e0d305ab36bce4b4c90ed66d3098592a5c2e290cebf39487b9412206cefbbc9e85ed4631cb66e3c64f3eb5854e8d

diff --git a/dev-python/nuitka/nuitka-2.6.8.ebuild 
b/dev-python/nuitka/nuitka-2.6.8.ebuild
new file mode 100644
index 000000000000..a5b9f247836d
--- /dev/null
+++ b/dev-python/nuitka/nuitka-2.6.8.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
+}

Reply via email to