commit: 0efc5722665f03154356205ecf4624fc34b64c49
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 21 03:39:37 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jun 21 04:14:43 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0efc5722
dev-python/Nuitka: Bump to 1.6.4
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/Nuitka/Manifest | 1 +
dev-python/Nuitka/Nuitka-1.6.4.ebuild | 54 +++++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+)
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest
index 45a6e146e554..3f708e4e20c4 100644
--- a/dev-python/Nuitka/Manifest
+++ b/dev-python/Nuitka/Manifest
@@ -5,4 +5,5 @@ DIST Nuitka-1.5.8.tar.gz 4172897 BLAKE2B
1b4a50c6aacb6c41b4e068bc369a1c43839c8bc
DIST Nuitka-1.6.1.tar.gz 4251346 BLAKE2B
e35fd67cf6d5e30ad2f9c9271fbb3309e5520af77dc6c62f407378e68785f2dcaae92d1723d797178a5171407daec3eda64c00d80845d83ea8e3f49bd14c31cf
SHA512
6f47cec56eefd14dd6902fbb59aebf5a46513b45cf774ddce9e5b71ce374befae17c4c86cccb92c70c8f18a2e8595e5e9a1e78fa7bb5a5008cd86289185f3f4f
DIST Nuitka-1.6.2.tar.gz 4225206 BLAKE2B
52422f996f8e00f77fa87b127076ba2379b4b9ab2063a296b0714a2353a044307fb22ccf2bfcf37f49bae6b029d145dfbcbbeca1a7b2cc2e92ad5ad657f6843d
SHA512
49ce4ddbce2019f4e0b0af041449c4f962f9919ede00f3fe200a2343e9a22b0b0070079d00bd4ff1d40436624ad1abd1c2a4b5e9da3ac3b3f46205a4ac2f5972
DIST Nuitka-1.6.3.tar.gz 4225582 BLAKE2B
55b8fe4cba1c83cf50bd9c13a441c39000b50dbf8282124dbb6e4536636a447817fdcbabba09f2fa9ffd5a03da28f37072f9dce0a5b22f7e87e6ffe881ac9298
SHA512
2337c01fde5211dcec5c11ad2f0dbce413033fe795a6e1e042fce00153043d443d5dbb3403aca235996d67f39303a1f7abe21e79c6c985c85fdd9b95a1c71ba7
+DIST Nuitka-1.6.4.tar.gz 4254226 BLAKE2B
ec20d567f83bd80c662fefd897c224712735b11df8716fbc039f2413a5cb14433fcf3a893003109065a186911af71cd837892d9c767e92447b3a73bc09afcbf2
SHA512
5fed27a7bea2632ffd6bd802880dcf2372da72f5b1b02221d25322f49c130a1191469495d023c0dd1e25d2326d24385b978c6e9e36e0326c47127001715234c9
DIST Nuitka-1.6.tar.gz 4222249 BLAKE2B
c4451092bfeee7b632e5ebb7162ba46f9fad29d9837f4913948aafb84b4fc6e69845fe52886962c053b419ad3307e5929fa201a4aad5c7e80dd388e41f1504d6
SHA512
3951e354acc76b63c9d61267d4f14ee75d97bc3ec838326b33d59d2ad1809a7a33605e1a6544f6c5d23a57b97fe067b9ca154744ee90d5bc77c53b90b128ecbc
diff --git a/dev-python/Nuitka/Nuitka-1.6.4.ebuild
b/dev-python/Nuitka/Nuitka-1.6.4.ebuild
new file mode 100644
index 000000000000..f1bec277226a
--- /dev/null
+++ b/dev-python/Nuitka/Nuitka-1.6.4.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2023 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://www.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-util/scons[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ ${RDEPEND}
+ test? ( dev-util/ccache )
+"
+
+DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf )
+
+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/nuitka3.1 doc/nuitka3-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" app-admin/chrpath
+}