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