Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nuitka/
Date: Sun, 03 Jul 2022 19:14:43
Message-Id: 1656875669.49591ae491f5db308fb772457bfa702e25c9be62.arthurzam@gentoo
1 commit: 49591ae491f5db308fb772457bfa702e25c9be62
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jul 3 19:14:16 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Sun Jul 3 19:14:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49591ae4
7
8 dev-python/nuitka: add 0.9.3
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/nuitka/Manifest | 1 +
13 dev-python/nuitka/nuitka-0.9.3.ebuild | 49 +++++++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
17 index 867af6e8124f..41443c7f41cc 100644
18 --- a/dev-python/nuitka/Manifest
19 +++ b/dev-python/nuitka/Manifest
20 @@ -1,4 +1,5 @@
21 DIST Nuitka-0.8.4.tar.gz 3828278 BLAKE2B dbd6abb945f66ab6a5a359b8370fd3d5d36fbdc2c232b5002356f59ffbfa531180b96467b67a2edbb7a779c75ebe58789e9ae0ff806b5649eea4a5b7d9c0934c SHA512 683918e60f2f65d22911f894c2e4fedeafd9d0ef0cacd48bb66422fa2077f225c7c861186b83b9c0fd50eb965b956a1b26342249b3db2af599250c16fe84a152
22 DIST Nuitka-0.9.1.tar.gz 3856232 BLAKE2B 61d92ce8eba7b6832cb8fab4e612f66cc6c26986e45c540f7bb07e806cffd70b0348d6c2e0163bfe046a16e2002355264dd8f1c43c8e1741d4c55ca84ade136c SHA512 b9dd496dd0239a954935a55bab95c4bdb5cf2943e7660983d4169f5d0fe53d62cb81ee814b04548ce594004eae658f388e85b675ccbdf3efca79376f13d59f66
23 DIST Nuitka-0.9.2.tar.gz 3856931 BLAKE2B daeb80c4682b8cf86335e13d6441169ec342dbd2fd245819eedd91451e84f28de395014a899614c0129df61316583813670614be0054a36406f8172f90d45bd3 SHA512 42fedde68ece78d01d0c5ec891a7a189e895bb3da6e25f944971f081f3b13b23f6553fe99d02a45a90474bf0044d61921ae88a82c787a3e5db24ac1331ccf3ca
24 +DIST Nuitka-0.9.3.tar.gz 3856951 BLAKE2B 7a2eb127505c001bf8b70c03bd2ad4295f74ff4e85a9156e4f131d321fdad7195637888cea3c1773939c2135bf7cd3a7f4eae3fc0e5ab4add203d97ea39cefc6 SHA512 a14b2b418590fe190954bf2e04b3b017b3b319b797cbd06957d25cff10d3f0262a12dc648b15bf4f26cb024e3d06ed5f52cdf83f535d84dde205cbd0a8d9b44c
25 DIST Nuitka-0.9.tar.gz 3855240 BLAKE2B 59a508aabb04af0b841879a4de23fe9f9f8ea2588125127834319da21ef22ab530d8e39a2baba1b49043e9997dff9a20004fc548af5b09456b5eb3cd8f1d30a8 SHA512 ae2903e89233b7944e1ee1aa846897d30c352302bb8b064a31ab69237dc15ed0e451bba63db5530968e10f60b8da745bf7d7f1f130ff039d9aac2329f628f32f
26
27 diff --git a/dev-python/nuitka/nuitka-0.9.3.ebuild b/dev-python/nuitka/nuitka-0.9.3.ebuild
28 new file mode 100644
29 index 000000000000..5b987e13729d
30 --- /dev/null
31 +++ b/dev-python/nuitka/nuitka-0.9.3.ebuild
32 @@ -0,0 +1,49 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +DISTUTILS_USE_PEP517=setuptools
39 +PYTHON_COMPAT=( python3_{8..10} )
40 +
41 +inherit distutils-r1 flag-o-matic optfeature
42 +
43 +DESCRIPTION="Python to native compiler"
44 +HOMEPAGE="https://www.nuitka.net"
45 +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz"
46 +S="${WORKDIR}/${P^}"
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~loong ~x86"
51 +IUSE="test"
52 +RESTRICT="!test? ( test )"
53 +
54 +RDEPEND="dev-util/scons[${PYTHON_USEDEP}]"
55 +BDEPEND="
56 + ${RDEPEND}
57 + test? ( dev-util/ccache )
58 +"
59 +
60 +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf )
61 +
62 +distutils-r1_src_prepare() {
63 + # remove vendored version of SCons that is Python2 only
64 + # this should be removed when upstream removes support for Python2
65 + rm -vR "${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die
66 + eapply_user
67 +}
68 +
69 +python_install() {
70 + distutils-r1_python_install
71 + doman doc/nuitka3.1 doc/nuitka3-run.1
72 +}
73 +
74 +python_test() {
75 + append-ldflags -Wl,--no-warn-search-mismatch
76 + ./tests/basics/run_all.py search || die
77 +}
78 +
79 +pkg_postinst() {
80 + optfeature "support for stand-alone executables" app-admin/chrpath
81 +}