From 422f567218f5d744b29eed05986ecd5e90aba740 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Wed, 11 Jun 2025 06:42:57 +0200 Subject: dev-python/nuitka: Bump to 2.7.7 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.7.ebuild | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 dev-python/nuitka/nuitka-2.7.7.ebuild (limited to 'dev-python') diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 7f34a0479f5f..ebc13a55de12 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1 +1,2 @@ DIST Nuitka-2.7.6.tar.gz 3885618 BLAKE2B 14425702c4940fd4c7bbf2e02fa717ec9b2d6fd5de2b15e736d74e8ac78617fd9749154ec14395da1ddb465526cc60ec53c55b6d7ec4af71c3da3cf49127f268 SHA512 65e35fd48de4f0cb4655d819d05161a36a73e5d2725e0d3dac3d86a42571c924d6568c4b3dda4b284240ae82575bf677daaddc74d30f94d3af70aea286eea8b3 +DIST Nuitka-2.7.7.tar.gz 3886105 BLAKE2B efd2de6ca41eb8f506d471758afc0d04d3425308268cb6e3259397d3d1950bf550d5a8aba6c113670f0569a00e862ccc81e42428052517806ee7433211deed61 SHA512 26ee32eb851334dc93177e4e758b27c7a840fd72a679cf10299b587738dd55fc05bf03a462d5dd53ba46321325c18636f0a112fb24a13960575d2632b59d1224 diff --git a/dev-python/nuitka/nuitka-2.7.7.ebuild b/dev-python/nuitka/nuitka-2.7.7.ebuild new file mode 100644 index 000000000000..56ab4fd312bd --- /dev/null +++ b/dev-python/nuitka/nuitka-2.7.7.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 +} -- cgit v1.2.3