commit:     9e7042ad89d853d57f9918b22255e376cb77d417
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 22 13:34:09 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Mar 22 14:05:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e7042ad

dev-python/Nuitka: Bump to 2.1.3

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

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

diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest
index ce4c0515eac3..aecf55f6d214 100644
--- a/dev-python/Nuitka/Manifest
+++ b/dev-python/Nuitka/Manifest
@@ -1,4 +1,5 @@
 DIST Nuitka-2.0.6.tar.gz 3932256 BLAKE2B 
fd8b00864dc7c5fe2ca9df5c9bf324fa601e5d1e46911e42a6174927c725b27a9b1f52b4e8e33a404489c400003618275a1d49ca3896b342293dabe70dc54467
 SHA512 
2a2c46dc062e6ca77ddca640771e10f9d597108633e7bd012b3342f74f389653a78de337347f4cb9063da7f089ee78b48300d0de26a4fa9287a6998692bf6477
 DIST Nuitka-2.1.1.tar.gz 3633083 BLAKE2B 
7be20fc7a3679eb6ab181138924aa680cbd56f62295a3f96d0c5566fc2b2fd5776f65dc27096f4eaacd55be663a660498821c0543c820925da313904cbf2fe7f
 SHA512 
407bb2390eb45fe6991e19f46d58b4ce179cf2b486f27fac049d7417c54538ab749056492c201495419ce10f173d6613ba4f36f2476d6b057d10f907b0343dd2
 DIST Nuitka-2.1.2.tar.gz 3633406 BLAKE2B 
adf3cc4bcf1c5d72223f5709dc0a4cbb6e24a59c36483acf6b6da6949025f9bb37b010dbcf79178f886c2cc8c907c45d47d5b615666b824413463fee08a88a21
 SHA512 
04403622bb4071afca1357e9b5603914f9a984af8b4f4af06be0bd476956b41e497a718746b9bcf66576490ae7b4bd75c5b7e6ff5f7240d1c66a6c5396d06d32
+DIST Nuitka-2.1.3.tar.gz 3636137 BLAKE2B 
3842acc34820576e395abbe0c2a76cfffa97f1b2bd28f1d2559a2f89c1fcd14a0edab77e4e05783eb7b8de6daac6328799b124c1fddd5af3e133eaf26799e5c8
 SHA512 
295e20b844a4ee019fea003bc4455c1751cf39ae3104568914e2a39a3665e024b149df64940f84f5717c4c456212ca87f62c5d1e8064d88e1ddfbefa3943b487
 DIST Nuitka-2.1.tar.gz 3632504 BLAKE2B 
61f40eacea7ac72a93c808da19177ceb98c63fe76958a28fb49418b00eb6fe26bc37a9534ef3790197d075dffbbd62be7a05e50fc0bc6c583697f2d379a812f7
 SHA512 
95d5a7d0979b32732e9520e1133ea0c78f20153a99a6a1fe66bcfc10b866d54f0ef57c6e08df4383d8a037af831113f67ca64b55a62ab1208b98e3eb381af352

diff --git a/dev-python/Nuitka/Nuitka-2.1.3.ebuild 
b/dev-python/Nuitka/Nuitka-2.1.3.ebuild
new file mode 100644
index 000000000000..123acd66de1f
--- /dev/null
+++ b/dev-python/Nuitka/Nuitka-2.1.3.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..11} )
+
+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