commit:     2bae62615e4dd70b3f971bd23730146d00619aa0
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 24 03:29:10 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 03:33:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bae6261

dev-python/Nuitka: Bump to 1.7.6

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

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

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

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