commit:     cd7d00ec32ddbae3932349645d55845098595076
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 16 18:33:41 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Aug 16 19:19:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd7d00ec

dev-python/Nuitka: Bump to 2.4.7

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

 dev-python/Nuitka/Manifest            |  1 +
 dev-python/Nuitka/Nuitka-2.4.7.ebuild | 52 +++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest
index de54028c6868..15cdd1811bea 100644
--- a/dev-python/Nuitka/Manifest
+++ b/dev-python/Nuitka/Manifest
@@ -1,2 +1,3 @@
 DIST Nuitka-2.4.4.tar.gz 3719076 BLAKE2B 
513a84e9b8ec222f14df253eab53c82edf2a663e97ac4b272481f2c3df306ad4d9c7b7785295718c68aadb02b04c8a31b0dc58f9ed0418ad2e530dbcff1f1cbf
 SHA512 
9cdcb377d3e7c0a64e7bb76fa3b1ca7ef6b1590c91bae82e34638fd2bab8e1497a6683c4db243e51e4653b105af43dd86e071c5c33c3baf15e58ee81e1388ca0
 DIST Nuitka-2.4.5.tar.gz 3718921 BLAKE2B 
23549ef422c635c644ff65e2a7f63729d538b6d7149d31b31251cc84232d8069be616a2cdf6878f0c54876dce1296afecdc6b76b0046bdec3c62a24bd5145cf0
 SHA512 
f582c9b28e673fd152e9a2cc567457412d7d0da64be94d466933c68e50464346657ed107f4042060eb837a8b1d1f0b182c50bd3e665ffe47b636f467a81a5a82
+DIST Nuitka-2.4.7.tar.gz 3719215 BLAKE2B 
afe2aa119db21d36377f41cbd8a20bdfb732ca5dc111ebc4156c9f4e12f3828d8d17ceb5423e49829fa2554a0e8416822af7148efb1efa14b49628f03b9791fc
 SHA512 
08ab175180ed21ae0341cc88c9644351137054476fba00ee0c857c3c30f1a1da6c240fc9af873a9bc92faee657af11bd4108613a9c721ff27c6d73a603021ad0

diff --git a/dev-python/Nuitka/Nuitka-2.4.7.ebuild 
b/dev-python/Nuitka/Nuitka-2.4.7.ebuild
new file mode 100644
index 000000000000..274aff9ae3b5
--- /dev/null
+++ b/dev-python/Nuitka/Nuitka-2.4.7.ebuild
@@ -0,0 +1,52 @@
+# 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
+PYTHON_COMPAT=( python3_{10..12} )
+
+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}]
+"
+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