commit:     033fc0363d9b4daa86c021649218ed7d3cd9ced3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 12 03:26:35 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul 12 04:04:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=033fc036

dev-python/Nuitka: Bump to 1.7.4

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

 dev-python/Nuitka/Manifest            |  1 +
 dev-python/Nuitka/Nuitka-1.7.4.ebuild | 54 +++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest
index f7a7aec2dfda..3c95ce63b997 100644
--- a/dev-python/Nuitka/Manifest
+++ b/dev-python/Nuitka/Manifest
@@ -4,4 +4,5 @@ DIST Nuitka-1.6.6.tar.gz 4250403 BLAKE2B 
027ccbaca57e5306ba150b5f9dbf31f2d8dc447
 DIST Nuitka-1.7.1.tar.gz 4275626 BLAKE2B 
8cad1de66cfb540e0b536ca27278213a5192aecee56be34c52a9fca6cb493c8c1069823135d6d27dc8f0c1fe1d9d08faad3a9fafa6e4c01b0d04af5b818de495
 SHA512 
cf8a05e71d6fb62b2208b3b7e3c4e961cd46933e29e4c61b66fd1d39d6c6a10e37bff5a9d7822c9709623f4e1eb5303c58c33b34ad0ebe1b87615397f3e22b30
 DIST Nuitka-1.7.2.tar.gz 4275682 BLAKE2B 
10f10cdfe00f7655f335a565b1e63c3d0ab90843cb60abe78dcbc8e2f0258160405be011c55aeffb18800af9bc7e16498e8eb8c73031f97e2586788b8675cc53
 SHA512 
3c95c70b5a66f614d302bbae50e3fff960aecb65c97ce1d77ad39080a8d27ac8f1c51b90e74c63ecf16f621fc06280ae0610ebe8f9615dd25a80d3beb4d23fa7
 DIST Nuitka-1.7.3.tar.gz 4275701 BLAKE2B 
234b80253280b99b721c72338f95f2d51663680b974a29c4c66b63b5c67302ac02c2a465cff4be939a4a6c87b1c043bd6ba6e51d1aec1ac854886f0cc76820d3
 SHA512 
3e16e6a1ff51f87b420ff4430e6fb5a6b0d674414735965613651ce4f22c253b3d56aca0741fac8c9e66f22590bede09381c171dcee267acf05dcf0fc1024e81
+DIST Nuitka-1.7.4.tar.gz 4275740 BLAKE2B 
d77b84588df9b5e58d474ed20871e1d63b29287114d166138347c891d3b87e4dc086ce4fe0ded658c1a378746bd308af177f617383b7780a6a01a3ebd10f466a
 SHA512 
26f33fa83d19992d02da27bcacfdbc0494920ebf2e9212253a11856f62e88e74cce0aa2efefe18db7520107e2b9c8db67d56a508749527863fb85a5998caefac
 DIST Nuitka-1.7.tar.gz 4275155 BLAKE2B 
b293075412c8d858e157598d4fd5b6e776f09a62d2d03cf81c55fb5b22d336551d12173bc3cd3817849b6d83efff996d9d259dedaf5cc119eea2fc8e86916e22
 SHA512 
1b973550787c67ce507744f8e3df88cc91cdae61663aaa38c46acd6644ae1b3b425b1d88fe75867275845ea2022fc8ac3481685fe6056e5c932d407109b96084

diff --git a/dev-python/Nuitka/Nuitka-1.7.4.ebuild 
b/dev-python/Nuitka/Nuitka-1.7.4.ebuild
new file mode 100644
index 000000000000..f1bec277226a
--- /dev/null
+++ b/dev-python/Nuitka/Nuitka-1.7.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
+}

Reply via email to