diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-03-14 22:22:00 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-03-14 23:00:11 +0200 |
commit | ae83ff178d01f1d7a6be4b1f62052657890edd06 (patch) | |
tree | f9cfd5670a436c7301f205101f1d22a980156688 /dev-python/nuitka | |
parent | dev-python/Faker: add 13.3.2 (diff) | |
download | gentoo-ae83ff178d01f1d7a6be4b1f62052657890edd06.tar.gz gentoo-ae83ff178d01f1d7a6be4b1f62052657890edd06.tar.bz2 gentoo-ae83ff178d01f1d7a6be4b1f62052657890edd06.zip |
dev-python/nuitka: add 0.7.5
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/nuitka')
-rw-r--r-- | dev-python/nuitka/Manifest | 1 | ||||
-rw-r--r-- | dev-python/nuitka/nuitka-0.7.5.ebuild | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 931315125f32..f98b62cc085a 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -2,3 +2,4 @@ DIST Nuitka-0.7.1.tar.gz 3753656 BLAKE2B 3df355bec346442a76a73e73a17b923fda43404 DIST Nuitka-0.7.2.tar.gz 3754512 BLAKE2B 6d4dfbc51ab5144f5690864abd8ff1e143f98384c859011f43f91b7e25ec6802531c0f017381c5a99b12d0051c716a06fa8f1cc7ceb4e1c46881fea359eb0ab3 SHA512 65a2fe6f51593a717aab3738979b3870ba21fda8b25df88ab99f0b27f58b261cb68511cb45b0bccd0a9eafdf1bf96c4a93d735efc80f882e44dbbef76298db02 DIST Nuitka-0.7.3.tar.gz 3784700 BLAKE2B 016c8c88c40c07e97e56c8a37f60c4a6a1a1a1b0895adba5110b508d07f8ae8561c295b5611408ad571e0fa2df7d874a9f5a4180f2d8a62eb355eb4bbc02fcd0 SHA512 d9c672310cfd05f054dad3cd7fb628415f78b0d8aa2551577e880f30fbc836cc08f49041b709b7b1ed41452651743a2d1ac719a6a214792cb749bc2dd6a3bff6 DIST Nuitka-0.7.4.tar.gz 3785037 BLAKE2B 4bf1e5980071ca34059e5c4aec098a3ab2e2d33884f2bd4673972dbff490f6ed20b200525c3220d0652ede8c06374d0e086fee8c611e9ecd663c9ac4a13f016e SHA512 5066f01cb4ffc99550d0bef816201cb988180144ac9d0d4aa587fb894196c286c44a96637d956f8ef05b803d3bdc79f4d926ccf3db4a320eabd02fe5bd984beb +DIST Nuitka-0.7.5.tar.gz 3785194 BLAKE2B a97a617dcf55fd12966b9e464398f5bda770a6bf7a026e90aa2adbe3ed43f1e0a6feb0741626f6eb24b07f5a8acfc1e17b54f53720a9a33f24f7da4fe321a9c1 SHA512 e31b2d4014cd533f916e5f023a9633d7f96ae7f4ca8da6bc3911dd23864c42e62f73d8f7e13345d0cdbfdfec0205be2ba75d6acbfd687949ed4091e978e6d455 diff --git a/dev-python/nuitka/nuitka-0.7.5.ebuild b/dev-python/nuitka/nuitka-0.7.5.ebuild new file mode 100644 index 000000000000..1a35fde421ee --- /dev/null +++ b/dev-python/nuitka/nuitka-0.7.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 flag-o-matic optfeature + +DESCRIPTION="Python to native compiler" +HOMEPAGE="https://www.nuitka.net" +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz" +S="${WORKDIR}/${P^}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~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 "${PN}/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 +} |