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: Sun, 03 Apr 2022 21:54:56
Message-Id: 1649022889.b951ebd3b4a2ad104d7b34222452b88df8155b3d.mgorny@gentoo
1 commit: b951ebd3b4a2ad104d7b34222452b88df8155b3d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 3 20:28:29 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 3 21:54:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b951ebd3
7
8 dev-python/nuitka: Bump to 0.7.7
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.7.7.ebuild | 49 +++++++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
17 index d693d01db2af..afd746d392a8 100644
18 --- a/dev-python/nuitka/Manifest
19 +++ b/dev-python/nuitka/Manifest
20 @@ -4,3 +4,4 @@ DIST Nuitka-0.7.3.tar.gz 3784700 BLAKE2B 016c8c88c40c07e97e56c8a37f60c4a6a1a1a1b
21 DIST Nuitka-0.7.4.tar.gz 3785037 BLAKE2B 4bf1e5980071ca34059e5c4aec098a3ab2e2d33884f2bd4673972dbff490f6ed20b200525c3220d0652ede8c06374d0e086fee8c611e9ecd663c9ac4a13f016e SHA512 5066f01cb4ffc99550d0bef816201cb988180144ac9d0d4aa587fb894196c286c44a96637d956f8ef05b803d3bdc79f4d926ccf3db4a320eabd02fe5bd984beb
22 DIST Nuitka-0.7.5.tar.gz 3785194 BLAKE2B a97a617dcf55fd12966b9e464398f5bda770a6bf7a026e90aa2adbe3ed43f1e0a6feb0741626f6eb24b07f5a8acfc1e17b54f53720a9a33f24f7da4fe321a9c1 SHA512 e31b2d4014cd533f916e5f023a9633d7f96ae7f4ca8da6bc3911dd23864c42e62f73d8f7e13345d0cdbfdfec0205be2ba75d6acbfd687949ed4091e978e6d455
23 DIST Nuitka-0.7.6.tar.gz 3785026 BLAKE2B f8e3f58dedbe9688ae86741b61fd8a56a0d87ba8a2323d0379f09aa93aa954a4b8bc5f6aa736dc57bfd5bfeef2cc06ce76321d7af7cec585904111aaa86c0083 SHA512 dc30e29d671704f6be0c15a9da5d0122dd8b2ee1a764e0274529959cea0a6cb8d0e923027d91a7f4a58dfa2886a5d5a93afacf60354ced66b7f723310bedf188
24 +DIST Nuitka-0.7.7.tar.gz 3785340 BLAKE2B e856bcb3ecf69ecaa447ea73219f544bfceae8ee3a480fbd13b0a763efb8c8ec3c856a6142cff6a91273a88fc0aec15a6bb6c28fab1d9ca0c4dfeca229c11b68 SHA512 124e2d405b1104d0ba42a69b20a5c6168bb0643a13a4de789279401e09c30091853a8e464d9c4877a01f93a5a63934617cf52678994d0ae179560cd21d5b196e
25
26 diff --git a/dev-python/nuitka/nuitka-0.7.7.ebuild b/dev-python/nuitka/nuitka-0.7.7.ebuild
27 new file mode 100644
28 index 000000000000..1a35fde421ee
29 --- /dev/null
30 +++ b/dev-python/nuitka/nuitka-0.7.7.ebuild
31 @@ -0,0 +1,49 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +DISTUTILS_USE_PEP517=setuptools
38 +PYTHON_COMPAT=( python3_{8..10} )
39 +
40 +inherit distutils-r1 flag-o-matic optfeature
41 +
42 +DESCRIPTION="Python to native compiler"
43 +HOMEPAGE="https://www.nuitka.net"
44 +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz"
45 +S="${WORKDIR}/${P^}"
46 +
47 +LICENSE="Apache-2.0"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="test"
51 +RESTRICT="!test? ( test )"
52 +
53 +RDEPEND="dev-util/scons[${PYTHON_USEDEP}]"
54 +BDEPEND="
55 + ${RDEPEND}
56 + test? ( dev-util/ccache )
57 +"
58 +
59 +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf )
60 +
61 +distutils-r1_src_prepare() {
62 + # remove vendored version of SCons that is Python2 only
63 + # this should be removed when upstream removes support for Python2
64 + rm -vR "${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die
65 + eapply_user
66 +}
67 +
68 +python_install() {
69 + distutils-r1_python_install
70 + doman doc/nuitka3.1 doc/nuitka3-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 +}