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