commit:     2bac8574a22a7092ac50615b75b7207b30bd4eba
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun May 18 01:42:43 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun May 18 01:42:43 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bac8574

dev-python/nuitka: Bump to 2.7.3

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

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

diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
index f095b568cd3f..b68cf1139929 100644
--- a/dev-python/nuitka/Manifest
+++ b/dev-python/nuitka/Manifest
@@ -1 +1,2 @@
 DIST Nuitka-2.7.2.tar.gz 3883274 BLAKE2B 
6f7d35bbe85aee77419a4ebcd28bcc255220c33e091f0c8a7474330551fea476ae1fe3a42f33432aa335b40e7ebb252bad185b7cac2df4ddf7c5cf0c59259adf
 SHA512 
c66d6afe8b05b9d74c1d66b394196a005913d7d3fb0ad0efe8ec9a4256e671cf19ffff19b56c2597cca8ef8e61e484c697a3181590b7c8589b56af3cbbee5944
+DIST Nuitka-2.7.3.tar.gz 3884010 BLAKE2B 
1c917492c8ec34bb6a96c30a56cc31f0b8370503f8f0c5581445e12e5d3351b23ed39246ad8eea7beae0efbb2592699a880a11902963aac8b4170e8f8fab13a0
 SHA512 
838056e89bc5ff32671ab3f40dfda5f207ea900bc7f19e2152740e9431eff192ad70cbfa6cd67186d98eafecfb7457574497f959541993602e4a6b4b1c545738

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