diff options
| author | Michał Górny <mgorny@gentoo.org> | 2024-11-25 04:10:22 +0100 |
|---|---|---|
| committer | Michał Górny <mgorny@gentoo.org> | 2024-11-25 05:02:42 +0100 |
| commit | 089a317f13a9704af8c8a722da1adfd2dc758c71 (patch) | |
| tree | 2b7f3ad0033eab909aa8e87576c00b4f62c9a765 /dev-python | |
| parent | 20d7d401671ea2e4c06bb8cda7acda560d647404 (diff) | |
| download | gentoo-089a317f13a9704af8c8a722da1adfd2dc758c71.tar.gz gentoo-089a317f13a9704af8c8a722da1adfd2dc758c71.tar.bz2 gentoo-089a317f13a9704af8c8a722da1adfd2dc758c71.zip | |
dev-python/nuitka: Bump to 2.5.3
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
| -rw-r--r-- | dev-python/nuitka/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/nuitka/nuitka-2.5.3.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 61eaa8fd05fb..867cec10de30 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,2 +1,3 @@ DIST Nuitka-2.5.1.tar.gz 3776847 BLAKE2B a6c36e736cf8aaa830cb5a47a2ae9ea9394c2afb5163e7955c196fb9ee9c37c61edc085c65f258bac0e27468bd97e5fb93bdeb8776fee85b99fd8c45076166b6 SHA512 ddf86589e2e576ae79b4e88fecac0668ef8e8c720d79d83799a15647c664c0d026f1241bcbc29036fab821611079ae808c22cb81ef14781bc7d0f96c3dba0428 DIST Nuitka-2.5.2.tar.gz 3779445 BLAKE2B a670a06cab84bf0c6fde599afd50cbd713c780f782240c2349d9636a683fff05a842cd1f9c6c6d7124472ca0bb2a117b5eaa95564d453cdace2a5c672748db68 SHA512 3a112268274931870a11ef00ff17a10e16175b33427babb1159b08cadfe430ff76ca3f5682e238d0813ce1d09c463ea35155c44a1b23fa6b0d3f813bd5c88f7a +DIST Nuitka-2.5.3.tar.gz 3778941 BLAKE2B 29df71eafcc7088182ec77d6f28bd3a702554e1742b04de91bd3140e12b5b2198ec1ce319a10592456ba638ed129749fc56b2a411a2dfa686580987d0d19e604 SHA512 1e8724182fa3637f5868ac626672bf66929f82737544586c390ba68d888ce5e70315d81be5f37a28d03303c5e13be652b14f45244a582f19b65924adfb12571b diff --git a/dev-python/nuitka/nuitka-2.5.3.ebuild b/dev-python/nuitka/nuitka-2.5.3.ebuild new file mode 100644 index 000000000000..d79d86fa299c --- /dev/null +++ b/dev-python/nuitka/nuitka-2.5.3.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 +} |
