commit: 565ef705bbc3fc731f75771fb99d6abf92df3fcf
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 27 15:42:37 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jul 27 15:42:37 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=565ef705
dev-python/Nuitka: Bump to 1.7.7
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/Nuitka/Manifest | 1 +
dev-python/Nuitka/Nuitka-1.7.7.ebuild | 54 +++++++++++++++++++++++++++++++++++
2 files changed, 55 insertions(+)
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest
index 4f7296e314da..c534f34fa784 100644
--- a/dev-python/Nuitka/Manifest
+++ b/dev-python/Nuitka/Manifest
@@ -1 +1,2 @@
DIST Nuitka-1.7.6.tar.gz 4278626 BLAKE2B
bf5865e91b8d30e81963ff053fccbc377846fa14353534bb60243536a3fbbe68afb2811acd2930f3a0d0e2cad55ee288f47e0fdcb3bacb9c5cb4be11600e0a7a
SHA512
859e3b48c0fdc655013e656f75620b556a59d620465fe659d3a60b0a45eb8273a528e7c689c8113a6ab7cf3065976de83c28fe501b319cdc7e04581eb2bd4ac3
+DIST Nuitka-1.7.7.tar.gz 4278709 BLAKE2B
a9e44c55b2e02ef700f8adb4ab460ed80073fb8e1865c1a32b031aa4d0392569d097f3d5e18309729cf8c90963e5854e5eb6e42cac3971b1874c0db8fc75f9b9
SHA512
1dcf347351233b75a1e1858b25f2faf4a59be6ca46c2db08435d676f3bcaa882405852e4149743c0989ea2a8fdc7e9601383e2a2c83b69f49b8e1a057bec2195
diff --git a/dev-python/Nuitka/Nuitka-1.7.7.ebuild
b/dev-python/Nuitka/Nuitka-1.7.7.ebuild
new file mode 100644
index 000000000000..f1bec277226a
--- /dev/null
+++ b/dev-python/Nuitka/Nuitka-1.7.7.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
+}