From 23b5bb4ef8ca0790f3e771bc92dfb50558974d14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 19 Sep 2025 13:31:46 +0200 Subject: [PATCH] dev-python/nuitka: Bump to 2.7.16 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/nuitka/Manifest | 1 + dev-python/nuitka/nuitka-2.7.16.ebuild | 55 ++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 dev-python/nuitka/nuitka-2.7.16.ebuild diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index d1e6982c5ccd5..1bb2e97881935 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1 +1,2 @@ DIST Nuitka-2.7.14.tar.gz 3888306 BLAKE2B 84f2aa6de7d9a29054aa84fbcbebb8724eca882d664980d7a2bc2cf597dc61e1f2416b161baaaa91b5d25a84d5d1e0dbe12d6fd0216bd0c6193352a9bb256063 SHA512 260800d577810eba08dd1ee9a85cfef1a2df4449240d32c7b95016bddde0addb9a6bfa95e5d44a647c85bfdf3372eadcb5cfe7e050bee95069a44f1d2611c4df +DIST Nuitka-2.7.16.tar.gz 3889164 BLAKE2B 1dfdf805e74246d15945fa294910228185796e882f3a34ca0c3706bf172c4aee8b6618ce66a248656fb82f0c9639b251194c1baa6a4e903907eb65d6e95cf77a SHA512 be729f0e749502d8c82a56af6ea5cdd3a7d228f751154af814febccb3c3682b553add61863e7bfb11032c5772dac6c759008f4b430f8dcb9e1769030c9e479b1 diff --git a/dev-python/nuitka/nuitka-2.7.16.ebuild b/dev-python/nuitka/nuitka-2.7.16.ebuild new file mode 100644 index 0000000000000..56ab4fd312bdd --- /dev/null +++ b/dev-python/nuitka/nuitka-2.7.16.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYPI_PN=${PN^} +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 flag-o-matic optfeature pypi + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://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-build/scons[${PYTHON_USEDEP}] + >=dev-python/ordered-set-4.1.0[${PYTHON_USEDEP}] + >=dev-python/zstandard-0.15[${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/nuitka.1 doc/nuitka-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" dev-util/patchelf +}