commit:     beef512c169684974779e38ec656f834fe7bdb01
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 15 01:59:06 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 15 03:04:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beef512c

dev-python/Nuitka: Bump to 1.7.5

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

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

diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest
index c5adcd72f9a2..8b6b0fd9a652 100644
--- a/dev-python/Nuitka/Manifest
+++ b/dev-python/Nuitka/Manifest
@@ -1 +1,2 @@
 DIST Nuitka-1.7.4.tar.gz 4275740 BLAKE2B 
d77b84588df9b5e58d474ed20871e1d63b29287114d166138347c891d3b87e4dc086ce4fe0ded658c1a378746bd308af177f617383b7780a6a01a3ebd10f466a
 SHA512 
26f33fa83d19992d02da27bcacfdbc0494920ebf2e9212253a11856f62e88e74cce0aa2efefe18db7520107e2b9c8db67d56a508749527863fb85a5998caefac
+DIST Nuitka-1.7.5.tar.gz 4275825 BLAKE2B 
88dafe918ea5f4905282c23562a0e67ede9ea3e57f90feeae4a55a2a42e10747496507e7efe1d751563c152b0d3a718fa3aeb8b7579eaf38485efd454a039486
 SHA512 
a6d37283a979a229349fe44adaf953c7c755f495a8cbafc8425f156012f7d1a86f6bca796332b8fab3134384d416c43db25e868c8cfcda1f17563cd464b06259

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