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, 29 Sep 2021 21:59:54
Message-Id: 1632952777.b22fd79b02d1e49317fc9ec060e4e3831f2f7d64.mgorny@gentoo
1 commit: b22fd79b02d1e49317fc9ec060e4e3831f2f7d64
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 29 21:28:15 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 29 21:59:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b22fd79b
7
8 dev-python/nuitka: Bump to 0.6.17.1
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.1.ebuild | 48 ++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
17 index 30b4ed0f348..ca64d046e94 100644
18 --- a/dev-python/nuitka/Manifest
19 +++ b/dev-python/nuitka/Manifest
20 @@ -1,3 +1,4 @@
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.1.tar.gz 3144303 BLAKE2B 999a391830459fbfd20c52b3d640070bf4b69000ffcaaf0e86d1a0ccbd4602ce7cfb3a47658a5a94a8935f0dba4658f2616a2d7c4c176d5553ad3a488cd7645c SHA512 7d121a03539357f480ffd940699bd5df5ebb038f6914820b3185e0bcf8955ab005e2eacd49c837b94a2f5396a751264cf950764482a523e90a32d321e89ea2d2
24 DIST Nuitka-0.6.17.tar.gz 3144123 BLAKE2B 07d95a987eb6c772cd58f8bd0bb7aca638c475e4e90b6a58af890e63b5d3bec9125efa54ba54925311a38cc06b3c8e60a86ce18be7f189da111798fe77da3bd5 SHA512 8678cb9cbc30d9a9a139f98ae94d7f881295bbfb5f450faafb335cce7243979ad3dbf81946024a67edea177f2baae9d694d9e93abc5389f34dddd06595158eff
25
26 diff --git a/dev-python/nuitka/nuitka-0.6.17.1.ebuild b/dev-python/nuitka/nuitka-0.6.17.1.ebuild
27 new file mode 100644
28 index 00000000000..758649696b8
29 --- /dev/null
30 +++ b/dev-python/nuitka/nuitka-0.6.17.1.ebuild
31 @@ -0,0 +1,48 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +PYTHON_COMPAT=( python3_{8..9} )
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 "${S}/${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 + python_optimize
69 + doman doc/nuitka.1 doc/nuitka3.1 doc/nuitka3-run.1 doc/nuitka-run.1
70 +}
71 +
72 +python_test() {
73 + append-ldflags -Wl,--no-warn-search-mismatch
74 + ./tests/basics/run_all.py search || die
75 +}
76 +
77 +pkg_postinst() {
78 + optfeature "support for stand-alone executables" app-admin/chrpath
79 +}