diff options
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/nuitka/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/nuitka/nuitka-2.6.5.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index aaad4bb26f47..814fb5a0a68e 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,2 +1,3 @@ DIST Nuitka-2.6.3.tar.gz 3867473 BLAKE2B 77d6d173c130166b26a8cce7ce9b21658f832d86f99022bb43057d8e535d085fabecc0f4541d60eb3fc7b3c6c7785b87d7af789e2d05692408a2e6d9e0550859 SHA512 5e31812dc5351afeb8a172bb3a3b46133d34e8a569940182abe439adb929f6eb810ffdef6b50312e7a5645b97c3b7ec71f5c180ddfc4981b9f4445dc329812e7 DIST Nuitka-2.6.4.tar.gz 3867647 BLAKE2B 2cac28a64ce52bf9d8f2d60b9cd1741f82a4bda7d34852867683e9d398a1b472b0af00ab67ec8424963318714ccfb07662627ce592999da769bf9836c6da7402 SHA512 a59c966c4f3925c6d2b8914e19c1125fb5efd1e05c32f3a6dbe2600157927e59485216fe990338911c9b1d4dd9e99823a700db5c08f33a836b295c81eb2f719e +DIST Nuitka-2.6.5.tar.gz 3866446 BLAKE2B 6bdbd3e9dd43e061c507dfbc7a7a902a387dcb7695ad9bc340aad448e5e8453ed4afb465a403bb185bcba81125cced21b6f5ba107e3bada1fc29614f0538533b SHA512 4b96cb29ea59afa90345e5cbeb77c174d4931414a5cd3df8178cdc320b9e29b2316964bc3384d5d4f16ac948cbfc5b3e428e0d826748ce2a04f57cd42defb77e diff --git a/dev-python/nuitka/nuitka-2.6.5.ebuild b/dev-python/nuitka/nuitka-2.6.5.ebuild new file mode 100644 index 000000000000..a5b9f247836d --- /dev/null +++ b/dev-python/nuitka/nuitka-2.6.5.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_{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 +} |
