Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nuitka/
Date: Sat, 10 Oct 2020 07:23:06
Message-Id: 1602314554.6ab9533a3dffce912e57f45c393169f333761dd1.juippis@gentoo
1 commit: 6ab9533a3dffce912e57f45c393169f333761dd1
2 Author: Oz N Tiram <oz.tiram <AT> gmail <DOT> com>
3 AuthorDate: Fri Oct 2 03:22:37 2020 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 10 07:22:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ab9533a
7
8 dev-python/nuitka: bump version to 0.6.9.1
9
10 Package-Manager: Portage-3.0.4, Repoman-2.3.23
11 Signed-off-by: Oz Tiram <oz.tiram <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/17743
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 dev-python/nuitka/Manifest | 1 +
16 dev-python/nuitka/nuitka-0.6.9.1.ebuild | 43 +++++++++++++++++++++++++++++++++
17 2 files changed, 44 insertions(+)
18
19 diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
20 index a09d8320f25..8e0a38767cb 100644
21 --- a/dev-python/nuitka/Manifest
22 +++ b/dev-python/nuitka/Manifest
23 @@ -1 +1,2 @@
24 DIST Nuitka-0.6.8.tar.gz 2390759 BLAKE2B 5f207a2dcac6a2825143268d3c28eab113705c050b67dbbfd3b655a0221ca3c04b2b206f3e8a85b4f17d28db52c11f19ea6260d2e7853c382942a76a15dc1973 SHA512 d9a9add759736c35fda57bbf82382effbcebce954228e56bf7c124502b96513f17a7083ded66da3ee33c52443b18c92839bff59a5c081d8fe44d6eec6c15fe54
25 +DIST Nuitka-0.6.9.1.tar.gz 2470517 BLAKE2B b3162eed308d98846a6266fa822d851757773ef9910a250644d61627d70dcc29706f5127221e2c09b1f856b74262c64f10cc638ec336a53d1fd6a10ad53e4e29 SHA512 a94a2e7f86abdbbdaa0147e569ff873c4d0f439378afb0f55ce78ea6e22a16ac759b62fd617944e0a4cf98fbe3294db5e56c3b3a6bd8cb78bd1c1132d557f6a9
26
27 diff --git a/dev-python/nuitka/nuitka-0.6.9.1.ebuild b/dev-python/nuitka/nuitka-0.6.9.1.ebuild
28 new file mode 100644
29 index 00000000000..0b8a77447b0
30 --- /dev/null
31 +++ b/dev-python/nuitka/nuitka-0.6.9.1.ebuild
32 @@ -0,0 +1,43 @@
33 +# Copyright 1999-2020 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +DISTUTILS_USE_SETUPTOOLS="rdepend"
39 +
40 +PYTHON_COMPAT=( python3_{6,7,8} )
41 +
42 +inherit distutils-r1 optfeature
43 +
44 +DESCRIPTION="Python to native compiler"
45 +HOMEPAGE="https://www.nuitka.net"
46 +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz"
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~x86"
51 +
52 +BDEPEND="dev-util/scons[${PYTHON_USEDEP}]"
53 +
54 +RDEPEND="${BDEPEND}
55 + dev-python/appdirs[${PYTHON_USEDEP}]"
56 +
57 +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf )
58 +S="${WORKDIR}/${P^}"
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 +pkg_postinst() {
74 + optfeature "support for stand-alone executables" app-admin/chrpath
75 +}