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: Mon, 27 Sep 2021 22:16:18
Message-Id: 1632780961.25a6772b9349618504d6923b3d607dbe5354b8ed.mgorny@gentoo
1 commit: 25a6772b9349618504d6923b3d607dbe5354b8ed
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 27 21:27:56 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 27 22:16:01 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25a6772b
7
8 dev-python/nuitka: Bump to 0.6.17
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.17.ebuild | 48 ++++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
17 index df731ca1bc3..30b4ed0f348 100644
18 --- a/dev-python/nuitka/Manifest
19 +++ b/dev-python/nuitka/Manifest
20 @@ -1,2 +1,3 @@
21 DIST Nuitka-0.6.16.3.tar.gz 2965278 BLAKE2B fc015f78912688e3d3b0833e7c126833352aeda7ac2599685a007445c43a7099407c4797eba47d5254fb5befde9482c210b920f4c7e38a2d82dbb5331125abee SHA512 a46af040774fd3523b64c1a113f6d0251c8d45108686017dae07429107f5057025bbcfefc7ed2b86da32c69516285d3af55fe234d25d6949562a96b0eb3f5293
22 DIST Nuitka-0.6.16.4.tar.gz 2963879 BLAKE2B a6a0029f06aac5ea8fb0fec81ac5b1c5b7bb0ed85bdd0f0308ac74140792360684f42cf79f7ff7e604de3729584b335671ff57f0805aac2154ef1ea88bbbf245 SHA512 e2c73b19e459c31b85adf79270e258ca3c431364ec90b51682a7a324aebfeab1ab7703421e8646e18e0bef62f5f5636bbbda74d0ec0e4666e1571d71d41971b2
23 +DIST Nuitka-0.6.17.tar.gz 3144123 BLAKE2B 07d95a987eb6c772cd58f8bd0bb7aca638c475e4e90b6a58af890e63b5d3bec9125efa54ba54925311a38cc06b3c8e60a86ce18be7f189da111798fe77da3bd5 SHA512 8678cb9cbc30d9a9a139f98ae94d7f881295bbfb5f450faafb335cce7243979ad3dbf81946024a67edea177f2baae9d694d9e93abc5389f34dddd06595158eff
24
25 diff --git a/dev-python/nuitka/nuitka-0.6.17.ebuild b/dev-python/nuitka/nuitka-0.6.17.ebuild
26 new file mode 100644
27 index 00000000000..758649696b8
28 --- /dev/null
29 +++ b/dev-python/nuitka/nuitka-0.6.17.ebuild
30 @@ -0,0 +1,48 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8..9} )
37 +inherit distutils-r1 flag-o-matic optfeature
38 +
39 +DESCRIPTION="Python to native compiler"
40 +HOMEPAGE="https://www.nuitka.net"
41 +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz"
42 +S="${WORKDIR}/${P^}"
43 +
44 +LICENSE="Apache-2.0"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +IUSE="test"
48 +RESTRICT="!test? ( test )"
49 +
50 +RDEPEND="dev-util/scons[${PYTHON_USEDEP}]"
51 +BDEPEND="
52 + ${RDEPEND}
53 + test? ( dev-util/ccache )
54 +"
55 +
56 +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf )
57 +
58 +distutils-r1_src_prepare() {
59 + # remove vendored version of SCons that is Python2 only
60 + # this should be removed when upstream removes support for Python2
61 + rm -vR "${S}/${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die
62 + eapply_user
63 +}
64 +
65 +python_install() {
66 + distutils-r1_python_install
67 + python_optimize
68 + doman doc/nuitka.1 doc/nuitka3.1 doc/nuitka3-run.1 doc/nuitka-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 +}