commit: 22686f4492b765588df002345ea044ac350f67dd Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Sun Dec 29 02:40:35 2024 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Sun Dec 29 03:21:25 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22686f44
dev-python/nuitka: Bump to 2.5.9 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/nuitka/Manifest | 1 + dev-python/nuitka/nuitka-2.5.9.ebuild | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 1574a617d5ad..e223dfa8e11a 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1 +1,2 @@ DIST Nuitka-2.5.8.tar.gz 3777360 BLAKE2B 77a7c4cb3b71c6e0d5ae5fc3467c75afa4374593a187312ddb7caf54053eca9dbd17744c323b55954699e491fd28810b660ea44c2b25aa69d2b595000fb0ab11 SHA512 024d32b28e312baff1a68e654a78c4581ad09dace681202d0077c46c2d9117f7666a87288a5cc1005604fd535ce0ae8409c2002b37694edab95788b38fcee30c +DIST Nuitka-2.5.9.tar.gz 3777278 BLAKE2B 1140c02c0f204f70d6646efcf88178a59cd6ad4c7848855711a0ca7462f5e173f2260f7106552e785120c8f0f1926b45f459047b0053a6a1718ae793829c9232 SHA512 ef3645d9ed35579c2021c185418eb8e1a78390b80b88669e271703fd04910ee5e8d2203ef3c3dddc432bf5ab4f51f2ecb4d8b6c60c3ac02dc43545ce32c01606 diff --git a/dev-python/nuitka/nuitka-2.5.9.ebuild b/dev-python/nuitka/nuitka-2.5.9.ebuild new file mode 100644 index 000000000000..d79d86fa299c --- /dev/null +++ b/dev-python/nuitka/nuitka-2.5.9.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2024 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_{10..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 +}