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: Wed, 15 Mar 2023 18:34:06
Message-Id: 1678905233.60afb66b3af3e80d5f4aa7d903896f726f10bb73.arthurzam@gentoo
1 commit: 60afb66b3af3e80d5f4aa7d903896f726f10bb73
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 15 18:26:16 2023 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 15 18:33:53 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60afb66b
7
8 dev-python/Nuitka: add 1.5.1
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/Nuitka/Manifest | 1 +
13 dev-python/Nuitka/Nuitka-1.5.1.ebuild | 54 +++++++++++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest
17 index 095d3f5751a9..fc1e9247d5ad 100644
18 --- a/dev-python/Nuitka/Manifest
19 +++ b/dev-python/Nuitka/Manifest
20 @@ -2,4 +2,5 @@ DIST Nuitka-1.4.5.tar.gz 4131887 BLAKE2B b4eaea811a98f1ea5618a477841e2fd2ef41eb4
21 DIST Nuitka-1.4.6.tar.gz 4131786 BLAKE2B a72d8b8925dfdd7ca6416912d725cd711c1f8cedabbdc4ea1764645d935529c2b1561c561c6fe8b8cd2babdadd0b6cd3c239ff7e844bd745cebc3b2d94cfbd63 SHA512 883806d787bd35c687bd0771a0f3182d1d157c4c0f403c5b60a03536631823fbdfbaf32c3c29f484aa7de3dacf01056183607109036f60c5602ab08072d8e40d
22 DIST Nuitka-1.4.7.tar.gz 4132335 BLAKE2B 5c9e653c8ffa7ad9e757a20d4008e4e2a3083cfefcbce826f0904c0281a9be95dbfb78ad1aab2dd0819b9bf3a800a3b35ee422e38672655fdd900162f9c0d090 SHA512 fb219f5a53bc173365d23f4eae0814fa051c1312bc732ac2b717924dd2336bf140af0237834062223294c840f63b6b4766422f8fd189151ab73877eeb9c39ee6
23 DIST Nuitka-1.4.8.tar.gz 4132731 BLAKE2B 8e02acdb96596d5e74c486ae069ad4dba2ddff5e5b530d28f67551914eee8dc559fbe25d51454a18977d6e2877cdf9d3626cb5aad8942d0eb17b3e804ca0da21 SHA512 0d5646bf4b7f1de6f3015a59186ef2ff775f45326be6a83ede665e9a10003ed5c481b68016e863f196e5ab5cb2866ad1c6dacbe77edbfdecabab045ae1480b14
24 +DIST Nuitka-1.5.1.tar.gz 4167830 BLAKE2B 751784fac712149ccd180d391333d8431c6492f58a33296fc5f41c00d4908d65760216afefb626ac00b30a29c93acb767abe83a907756cbaa807706c0d9d2ef7 SHA512 ff02439556c193b2e40c6a7edfc42c9178fed4f04c4f1fe01a223f8b2243bc5f66784af5666887c9f07aafcc9428ae785a7174c4c88c73d7b62e56cf2aafde5e
25 DIST Nuitka-1.5.tar.gz 4169208 BLAKE2B 9a0fed364ba69c01df309a23e08258c8149be81dcdfc26cbe2e5a08081eb98d1a6e2ce393dd372f30ee9f886c2d3f4f181387ab788f6393dd88799ea5298a8f8 SHA512 33c9cad89c021e4472194b769c54e84b965eab5f0c8715482ef33e3c94916b770dee1a9f400e402395fdc854322fd486c385d6e4f99fb328ac245e230db104e0
26
27 diff --git a/dev-python/Nuitka/Nuitka-1.5.1.ebuild b/dev-python/Nuitka/Nuitka-1.5.1.ebuild
28 new file mode 100644
29 index 000000000000..f1bec277226a
30 --- /dev/null
31 +++ b/dev-python/Nuitka/Nuitka-1.5.1.ebuild
32 @@ -0,0 +1,54 @@
33 +# Copyright 1999-2023 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 +PYPI_NO_NORMALIZE=1
40 +PYTHON_COMPAT=( python3_{10..11} )
41 +
42 +inherit distutils-r1 flag-o-matic optfeature pypi
43 +
44 +DESCRIPTION="Python to native compiler"
45 +HOMEPAGE="
46 + https://www.nuitka.net/
47 + https://github.com/Nuitka/Nuitka/
48 + https://pypi.org/project/Nuitka/
49 +"
50 +
51 +LICENSE="Apache-2.0"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~loong ~x86"
54 +IUSE="test"
55 +RESTRICT="!test? ( test )"
56 +
57 +RDEPEND="
58 + dev-util/scons[${PYTHON_USEDEP}]
59 +"
60 +BDEPEND="
61 + ${RDEPEND}
62 + test? ( dev-util/ccache )
63 +"
64 +
65 +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf )
66 +
67 +distutils-r1_src_prepare() {
68 + # remove vendored version of SCons that is Python2 only
69 + # this should be removed when upstream removes support for Python2
70 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die
71 + eapply_user
72 +}
73 +
74 +python_install() {
75 + distutils-r1_python_install
76 + doman doc/nuitka3.1 doc/nuitka3-run.1
77 +}
78 +
79 +python_test() {
80 + append-ldflags -Wl,--no-warn-search-mismatch
81 + ./tests/basics/run_all.py search || die
82 +}
83 +
84 +pkg_postinst() {
85 + optfeature "support for stand-alone executables" app-admin/chrpath
86 +}