diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/nuitka/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/nuitka/nuitka-2.7.13.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 0f9035b9784d..2f5faa3bae9c 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1 +1,2 @@ DIST Nuitka-2.7.12.tar.gz 3887702 BLAKE2B d3b642043539edfcd3546345a84cd384ff50b178da42e0fa8ee4e05301ea1be5f6780c1dec451e1aedd7baf3d38c02470d50da6786b1b2ca564a4215d2fb39bc SHA512 f13f830448267ed49860cbbb4777fe40cbf7f441f294044564a1f1d861be6404cc438312dc4b5177180fc55ac46664d316d1d43ffe4f2777c3db478e0508ddd0 +DIST Nuitka-2.7.13.tar.gz 3888165 BLAKE2B c08c64db319f0d92bbe377bb667aa8496a8ff8dda0e5f86da66dedd02aa7341795ffae99a054481402f51058981fbe9c9d6ddd4c1d481ff2b89e61108ccde068 SHA512 6f39c35ed63f7f3598a6684a0ee911f73ae61937c9c630c26154c17fa5d9e6a71180353fd13f337dfd982d2f79071418ba893cf37d722835464c6ccc1b2efadd diff --git a/dev-python/nuitka/nuitka-2.7.13.ebuild b/dev-python/nuitka/nuitka-2.7.13.ebuild new file mode 100644 index 000000000000..56ab4fd312bd --- /dev/null +++ b/dev-python/nuitka/nuitka-2.7.13.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 +} |
