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: Fri, 29 Oct 2021 19:37:54
Message-Id: 1635536267.93eef320fba67ba2d520e6920f3b6ca88492d431.mgorny@gentoo
1 commit: 93eef320fba67ba2d520e6920f3b6ca88492d431
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 29 19:03:23 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 29 19:37:47 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93eef320
7
8 dev-python/nuitka: Bump to 0.6.17.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.17.5.ebuild | 48 ++++++++++++++++++++++++++++++++
14 2 files changed, 49 insertions(+)
15
16 diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
17 index 258bc9f2abc..a5e2c6fae19 100644
18 --- a/dev-python/nuitka/Manifest
19 +++ b/dev-python/nuitka/Manifest
20 @@ -1,2 +1,3 @@
21 DIST Nuitka-0.6.17.3.tar.gz 3147197 BLAKE2B fa72985494a362e430dd5eda0b14b5ff0620eb2d5a607cbae58802b92d9cf73d810864f00c366508dd89d8e7989bfbbdbd07b4309839ec36df224d45fa264a4c SHA512 dcda36320e1c9de269f0407869b15f47b960fada87fd6fb60b2e96cdd637f6a773042f0ca30e3d25c8e111a5fe86e69242424e982651af732ca840afd010a909
22 DIST Nuitka-0.6.17.4.tar.gz 3147951 BLAKE2B b82a28aab93b2ee570820c1e59f15c49649f799d97f17aec9a66e47d60563e30f5028126c3547b69e168ab425991d8e592a6dc8639971a22a44ad83cfb19d32b SHA512 0bee622d516357851cd96fc3df3dd8e550b296d5045548f40a6b02565e95b2b326b6aa6a8ae54c44d16c641ba7113a38966115967c58c6df4ab4a6ed81e9031f
23 +DIST Nuitka-0.6.17.5.tar.gz 3148624 BLAKE2B 41716b4736169eb9706ec0431ce34559c97259c95a02467d1ecc05a7c22cb9a471d96c0a8424a1df5e70a678bc6a5e7ff22dca24b61be891befa343b2ab48ca4 SHA512 aee2b8f1992e4d77c2650dfe02a97c9b402c9fb0d0fd75e47c1ebcc584310285603e850eed7de99e372d430ec59834a437afe613ef8dc9c0b904a80ff3996ca3
24
25 diff --git a/dev-python/nuitka/nuitka-0.6.17.5.ebuild b/dev-python/nuitka/nuitka-0.6.17.5.ebuild
26 new file mode 100644
27 index 00000000000..758649696b8
28 --- /dev/null
29 +++ b/dev-python/nuitka/nuitka-0.6.17.5.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 +}