commit:     de08a7ee95ef2af718ece6d0ffb20f1824efb5c3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  9 13:44:34 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Oct  9 13:59:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de08a7ee

dev-python/Nuitka: Bump to 1.8.4

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

 dev-python/Nuitka/Manifest            |  1 +
 dev-python/Nuitka/Nuitka-1.8.4.ebuild | 52 +++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest
index b63828b2df6b..a8004ba42097 100644
--- a/dev-python/Nuitka/Manifest
+++ b/dev-python/Nuitka/Manifest
@@ -3,4 +3,5 @@ DIST Nuitka-1.7.9.tar.gz 4288768 BLAKE2B 
6069598c4eb9bb134a0d5bcfc4f3b423c0cb4f0
 DIST Nuitka-1.8.1.tar.gz 3603553 BLAKE2B 
eb470569302864ce79a595d15f10ec12786b9a36bcbd5b77eedceacecf9a637bb494292dd0dd8a6177292b6e461da6de446e88812150b4840ceb0640eb27faf0
 SHA512 
3a5a3d9b616f2b594638541bcbcdcef07440e907ed86f8688700a051096dcfa4df8d19dd1dbc58eddbf10249945ed2281f47c84c6bdc35398f029f645cf52e35
 DIST Nuitka-1.8.2.tar.gz 3603724 BLAKE2B 
32ba8e96791b488ec8b65bac6bdb4742dbea1e15f9a4f0620217c165281168c51558e40068e5bdedc31ccb67dc5e8a4805415b343365c099173047c61bfa047a
 SHA512 
bdd14622bf0abe5ea4468672ed9badb28a12cabb7dbb9b1a5fa5da3bf33a1f45e02bd87b0568f10df8523a14bb418d462dea054a77cd462f9ddbea7bf93142d6
 DIST Nuitka-1.8.3.tar.gz 3604342 BLAKE2B 
eeed2776aff583e6d7a717f72bf13b0902d16de6ba774a35cf770c32887617510effcb1a4e437bcc78b85ef0be2e98cc3214ee1e5f2e07b81343e9d56676fd23
 SHA512 
9a44e9f7d26996044bd8147f4f6e1b92818a2f79ee813c2121839c8640074ccc1e4b2a32a838181aa9ee5a27e8952a4be6d47c510348c63cda8d717c536bbfee
+DIST Nuitka-1.8.4.tar.gz 3604833 BLAKE2B 
32a5169e981e1323e0cc30147bbd6327521f496d3a4bcd0e6d3e811b291c596c50a3cf7602221f24b7a6d82936286bab1a045e65abfa4ddb9f366e23edaad9a2
 SHA512 
632453e937ca6c895646910ca650d83f9610e0aa4a28d2b2fe608c1bf4138ea06496c2bd2fee24fb4e6224a844437242ff9d21af2221ad2eed2edc77262050c2
 DIST Nuitka-1.8.tar.gz 3602951 BLAKE2B 
5ae75060b42c494c57fa92e53a8e11c25f0ed243711ad76fab140828c1b835b946201c4d7d19ac24d029d66ddead91f7943527cde5ec823f03735c0fe3a2002e
 SHA512 
1b35405162f64b7ed99f88f223633a8dd643642de052a3ae3a4da25fd310796022394375b13d9f5cc464108791a157618e3c1aa895b0fa3235603a9f2b9b26ec

diff --git a/dev-python/Nuitka/Nuitka-1.8.4.ebuild 
b/dev-python/Nuitka/Nuitka-1.8.4.ebuild
new file mode 100644
index 000000000000..f511685d5ce1
--- /dev/null
+++ b/dev-python/Nuitka/Nuitka-1.8.4.ebuild
@@ -0,0 +1,52 @@
+# 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 )
+"
+
+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