diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-10-30 17:58:47 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-10-30 19:04:31 +0100 |
commit | 8d4865d0d2e315d405d42fbee4832834aa177333 (patch) | |
tree | 6a9d4129deabc6116b34fd2de3c3b80115887fdf /dev-python/Nuitka | |
parent | dev-python/Nuitka: Remove old (diff) | |
download | gentoo-8d4865d0d2e315d405d42fbee4832834aa177333.tar.gz gentoo-8d4865d0d2e315d405d42fbee4832834aa177333.tar.bz2 gentoo-8d4865d0d2e315d405d42fbee4832834aa177333.zip |
dev-python/Nuitka: Bump to 1.8.5
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-1.8.5.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index c4e4794688f3..fdb6f95c8285 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1 +1,2 @@ DIST Nuitka-1.8.4.tar.gz 3604833 BLAKE2B 32a5169e981e1323e0cc30147bbd6327521f496d3a4bcd0e6d3e811b291c596c50a3cf7602221f24b7a6d82936286bab1a045e65abfa4ddb9f366e23edaad9a2 SHA512 632453e937ca6c895646910ca650d83f9610e0aa4a28d2b2fe608c1bf4138ea06496c2bd2fee24fb4e6224a844437242ff9d21af2221ad2eed2edc77262050c2 +DIST Nuitka-1.8.5.tar.gz 3604649 BLAKE2B 146e4f5fafb37fee7c7824fe448db85d3d77d57cadad63c10f237cba969ad81cc7c73eecbf68fcbfb8a1b2e0d8a9439c2435c5c7db16dde04324c3dd0ddb1770 SHA512 660f1480835491473cb4c512ce14109a9d27887e64fdfdfe6c92a59cf59445e7d6068c7859af9942330345b918fe81593c52f8f3b6166d55bad8bbbf362cc05c diff --git a/dev-python/Nuitka/Nuitka-1.8.5.ebuild b/dev-python/Nuitka/Nuitka-1.8.5.ebuild new file mode 100644 index 000000000000..f511685d5ce1 --- /dev/null +++ b/dev-python/Nuitka/Nuitka-1.8.5.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2023 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://www.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-util/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/nuitka3.1 doc/nuitka3-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" app-admin/chrpath +} |