commit: d5a307bd919619d72367d72d86a39791679728fa
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 6 03:15:32 2024 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Dec 6 03:15:32 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5a307bd
dev-python/nuitka: Bump to 2.5.6
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/nuitka/Manifest | 1 +
dev-python/nuitka/nuitka-2.5.6.ebuild | 55 +++++++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
index 8b24cefe8569..6bdf81276c2c 100644
--- a/dev-python/nuitka/Manifest
+++ b/dev-python/nuitka/Manifest
@@ -1 +1,2 @@
DIST Nuitka-2.5.4.tar.gz 3779553 BLAKE2B
8992eb64d182c2c1dd33a55c3985a135ca953b01083785ababac8ec6385ad49102be8f4936f4aaa920dd12ec2437b4b4a88d253425d507c715cc722b30d5cab2
SHA512
81b5b0d0b935474255bd8d175a47166104ec44631f992915583e981a4a69b0a68fb390e7cb3b13ed21e061414112cc2e47d6c08a8596fcd760837c7bdb3e345b
+DIST Nuitka-2.5.6.tar.gz 3776178 BLAKE2B
f19d777820be2e097c787252842721d06be1a4f3bf8ae298c94d9772f1b2f11baff835b1fb610fd42549911b48c42ee0d2ea7ad9afbf5c3f0e137d1c5ec85603
SHA512
cec3801cc8d30d149f3057d65286d7169378c0e9717a8abd142ab6e4ee5411982688ac43876ca3d94b993ed0f2d14d8e315a8d786f2ecb6ca2c2edf96628ec00
diff --git a/dev-python/nuitka/nuitka-2.5.6.ebuild
b/dev-python/nuitka/nuitka-2.5.6.ebuild
new file mode 100644
index 000000000000..d79d86fa299c
--- /dev/null
+++ b/dev-python/nuitka/nuitka-2.5.6.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2024 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
+}