diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-03-12 05:09:10 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-03-12 06:07:54 +0100 |
commit | 5c37c6dff22ae0e68e5bf3d041a1f3602ec2b283 (patch) | |
tree | e66dae9bf34158ab8817fb84f1c158d3095fd254 /dev-python/Nuitka | |
parent | dev-python/hypothesis: Bump to 6.99.4 (diff) | |
download | gentoo-5c37c6dff22ae0e68e5bf3d041a1f3602ec2b283.tar.gz gentoo-5c37c6dff22ae0e68e5bf3d041a1f3602ec2b283.tar.bz2 gentoo-5c37c6dff22ae0e68e5bf3d041a1f3602ec2b283.zip |
dev-python/Nuitka: Bump to 2.1.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/Nuitka')
-rw-r--r-- | dev-python/Nuitka/Manifest | 1 | ||||
-rw-r--r-- | dev-python/Nuitka/Nuitka-2.1.1.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index 6a17cd39aaee..c86254a6d110 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,2 +1,3 @@ DIST Nuitka-2.0.6.tar.gz 3932256 BLAKE2B fd8b00864dc7c5fe2ca9df5c9bf324fa601e5d1e46911e42a6174927c725b27a9b1f52b4e8e33a404489c400003618275a1d49ca3896b342293dabe70dc54467 SHA512 2a2c46dc062e6ca77ddca640771e10f9d597108633e7bd012b3342f74f389653a78de337347f4cb9063da7f089ee78b48300d0de26a4fa9287a6998692bf6477 +DIST Nuitka-2.1.1.tar.gz 3633083 BLAKE2B 7be20fc7a3679eb6ab181138924aa680cbd56f62295a3f96d0c5566fc2b2fd5776f65dc27096f4eaacd55be663a660498821c0543c820925da313904cbf2fe7f SHA512 407bb2390eb45fe6991e19f46d58b4ce179cf2b486f27fac049d7417c54538ab749056492c201495419ce10f173d6613ba4f36f2476d6b057d10f907b0343dd2 DIST Nuitka-2.1.tar.gz 3632504 BLAKE2B 61f40eacea7ac72a93c808da19177ceb98c63fe76958a28fb49418b00eb6fe26bc37a9534ef3790197d075dffbbd62be7a05e50fc0bc6c583697f2d379a812f7 SHA512 95d5a7d0979b32732e9520e1133ea0c78f20153a99a6a1fe66bcfc10b866d54f0ef57c6e08df4383d8a037af831113f67ca64b55a62ab1208b98e3eb381af352 diff --git a/dev-python/Nuitka/Nuitka-2.1.1.ebuild b/dev-python/Nuitka/Nuitka-2.1.1.ebuild new file mode 100644 index 000000000000..123acd66de1f --- /dev/null +++ b/dev-python/Nuitka/Nuitka-2.1.1.ebuild @@ -0,0 +1,52 @@ +# 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 +PYTHON_COMPAT=( python3_{10..11} ) + +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}] +" +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 +} |