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