Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nuitka/
Date: Sun, 20 Feb 2022 14:03:08
Message-Id: 1645365778.e1ae16a921856a31be242e4d8f3a2ff13eaf1ed8.mgorny@gentoo
1 commit: e1ae16a921856a31be242e4d8f3a2ff13eaf1ed8
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 20 13:28:29 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 20 14:02:58 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1ae16a9
7
8 dev-python/nuitka: Bump to 0.7
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/nuitka/Manifest | 1 +
13 dev-python/nuitka/nuitka-0.7.ebuild | 49 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
17 index e8c0efcdb677..54d569134893 100644
18 --- a/dev-python/nuitka/Manifest
19 +++ b/dev-python/nuitka/Manifest
20 @@ -2,3 +2,4 @@ DIST Nuitka-0.6.19.4.tar.gz 3728051 BLAKE2B 561dd0657b0f5f7c10da18d4b78be09337c9
21 DIST Nuitka-0.6.19.5.tar.gz 3728119 BLAKE2B 8300356499e53185cd2b6a547b8deef818bfd2c775e8ee2517bc79d741f81af1a7745b2eac018d0df3b329b7d4719dbac71159d6efd6ef35ccff4c63daf8e4cc SHA512 bc6b7d41af7bfdeb236143640ab1dc6ea0b811f85eaf10c8d232907d53c9643be25b4c0cdc3946204d6501c7009f8e79f36b5b6318d36a6e77052d9e2c1ec986
22 DIST Nuitka-0.6.19.6.tar.gz 3726831 BLAKE2B d1b10f8a599898824cbc40a43dda6b88d89b8e4e8ae1d32b4458f6f5e9241e088fc2d4b6fb8e68e889abdbb2309f47cba100df78c5fe54a5b5333eb79a2143d7 SHA512 fc537b6c12c2a4f165c59f4fae39fea2894bc2f6221361dac39dc39a120a82b725e22810857c618305799b862b887e314c6dd340650e5c2029923e550143869e
23 DIST Nuitka-0.6.19.7.tar.gz 3728926 BLAKE2B 56d497b8ef556671f3442952a3af32b9401cd5ec52bc082ace472f644a90d42f16bd3831bd430c887c6bd0fb866bf14fc37ac6662a679856801a16723e4f7401 SHA512 f1921c7717247a139ac0b8f3be9ae4f3d40b928da86fcfc671843e0e0e96184489daf3e2ff8c84f3214e4797cb7d6121c05f5d8bc3fceb0ccd85d81675ade97e
24 +DIST Nuitka-0.7.tar.gz 3754689 BLAKE2B 28df135ff6d036c8bf27390d07ccc0bf924d39d924e9515fbf7c99a5a5a4dd837695c37cc0ef0889a8da27d277f48ada6dbcb52cc6b1a041b1f2c0a5e44ca7c5 SHA512 9732178faaf9607af0a37861b3f1eb8e64a2b7b5705351f5e82d3238713325f9dcbcb1a549a012c247cd08e3657e21a95c4d42e8fb1233d3fbb1403b09860235
25
26 diff --git a/dev-python/nuitka/nuitka-0.7.ebuild b/dev-python/nuitka/nuitka-0.7.ebuild
27 new file mode 100644
28 index 000000000000..1a35fde421ee
29 --- /dev/null
30 +++ b/dev-python/nuitka/nuitka-0.7.ebuild
31 @@ -0,0 +1,49 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +
40 +inherit distutils-r1 flag-o-matic optfeature
41 +
42 +DESCRIPTION="Python to native compiler"
43 +HOMEPAGE="https://www.nuitka.net"
44 +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz"
45 +S="${WORKDIR}/${P^}"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="test"
51 +RESTRICT="!test? ( test )"
52 +
53 +RDEPEND="dev-util/scons[${PYTHON_USEDEP}]"
54 +BDEPEND="
55 + ${RDEPEND}
56 + test? ( dev-util/ccache )
57 +"
58 +
59 +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf )
60 +
61 +distutils-r1_src_prepare() {
62 + # remove vendored version of SCons that is Python2 only
63 + # this should be removed when upstream removes support for Python2
64 + rm -vR "${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die
65 + eapply_user
66 +}
67 +
68 +python_install() {
69 + distutils-r1_python_install
70 + doman doc/nuitka3.1 doc/nuitka3-run.1
71 +}
72 +
73 +python_test() {
74 + append-ldflags -Wl,--no-warn-search-mismatch
75 + ./tests/basics/run_all.py search || die
76 +}
77 +
78 +pkg_postinst() {
79 + optfeature "support for stand-alone executables" app-admin/chrpath
80 +}