commit:     0eeeb959dc3829863f38f065ce70246c05a8010f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 18 17:34:19 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 18 18:01:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eeeb959

dev-python/nuitka: Bump to 2.7.9

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

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

diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
index 33d5dc7f1e31..27f4489598a0 100644
--- a/dev-python/nuitka/Manifest
+++ b/dev-python/nuitka/Manifest
@@ -1 +1,2 @@
 DIST Nuitka-2.7.7.tar.gz 3886105 BLAKE2B 
efd2de6ca41eb8f506d471758afc0d04d3425308268cb6e3259397d3d1950bf550d5a8aba6c113670f0569a00e862ccc81e42428052517806ee7433211deed61
 SHA512 
26ee32eb851334dc93177e4e758b27c7a840fd72a679cf10299b587738dd55fc05bf03a462d5dd53ba46321325c18636f0a112fb24a13960575d2632b59d1224
+DIST Nuitka-2.7.9.tar.gz 3886410 BLAKE2B 
c61ac13adc227880a56d51278d9b72d61d5e88cb008682da7f200c74dd0fae2b57f55a65e72a3d4ccde20c4be60c94ba80ce8bb7aad989bb037165775108fc4e
 SHA512 
74d5e446d5704c09d137aff6884f5c82de2c30606b712d34b0321263d4bb042e9711f2320cf03920850cdb0a10d163f7944057e4ae1e72a8c316cee38bb019c0

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

Reply via email to