diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-02-14 05:46:28 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-02-14 05:57:38 +0100 |
commit | e0908d6f9b233b841e85b651fde4010f53256ca0 (patch) | |
tree | 73d7947d5d463c909bd62cf3fd20f5ca0d1dd67a /dev-python/Nuitka | |
parent | dev-python/Faker: Bump to 17.0.0 (diff) | |
download | gentoo-e0908d6f9b233b841e85b651fde4010f53256ca0.tar.gz gentoo-e0908d6f9b233b841e85b651fde4010f53256ca0.tar.bz2 gentoo-e0908d6f9b233b841e85b651fde4010f53256ca0.zip |
dev-python/Nuitka: Bump to 1.4.7
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.4.7.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index 6285ff1e7932..6f777eb510f5 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,2 +1,3 @@ DIST Nuitka-1.4.5.tar.gz 4131887 BLAKE2B b4eaea811a98f1ea5618a477841e2fd2ef41eb4c78635576fadae8a645456f9d47741d1b8c0c102e2774e1802d210785f31a10889d87441693215d84d06cabdd SHA512 fc628be6579f2b290d126fc9f16e16a2fcdd5457a28cb2caa1b2d4e23426933e502a3487485e54cf4e0f67d2d5bca97567d5502070e7ad46a03c513a1f6f9c9f DIST Nuitka-1.4.6.tar.gz 4131786 BLAKE2B a72d8b8925dfdd7ca6416912d725cd711c1f8cedabbdc4ea1764645d935529c2b1561c561c6fe8b8cd2babdadd0b6cd3c239ff7e844bd745cebc3b2d94cfbd63 SHA512 883806d787bd35c687bd0771a0f3182d1d157c4c0f403c5b60a03536631823fbdfbaf32c3c29f484aa7de3dacf01056183607109036f60c5602ab08072d8e40d +DIST Nuitka-1.4.7.tar.gz 4132335 BLAKE2B 5c9e653c8ffa7ad9e757a20d4008e4e2a3083cfefcbce826f0904c0281a9be95dbfb78ad1aab2dd0819b9bf3a800a3b35ee422e38672655fdd900162f9c0d090 SHA512 fb219f5a53bc173365d23f4eae0814fa051c1312bc732ac2b717924dd2336bf140af0237834062223294c840f63b6b4766422f8fd189151ab73877eeb9c39ee6 diff --git a/dev-python/Nuitka/Nuitka-1.4.7.ebuild b/dev-python/Nuitka/Nuitka-1.4.7.ebuild new file mode 100644 index 000000000000..6f373b0022b9 --- /dev/null +++ b/dev-python/Nuitka/Nuitka-1.4.7.ebuild @@ -0,0 +1,54 @@ +# 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 ) + +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 ) +" + +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) + +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 +} |