1 |
commit: 231d32e22c0ba5185f3ac039ba0b04a8d6c3cbfb |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 17 12:58:07 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 17 13:33:43 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=231d32e2 |
7 |
|
8 |
dev-python/Nuitka: Bump to 1.5.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/Nuitka/Manifest | 1 + |
13 |
dev-python/Nuitka/Nuitka-1.5.3.ebuild | 54 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest |
17 |
index ff5d25382be5..6c94dafd6915 100644 |
18 |
--- a/dev-python/Nuitka/Manifest |
19 |
+++ b/dev-python/Nuitka/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST Nuitka-1.5.1.tar.gz 4167830 BLAKE2B 751784fac712149ccd180d391333d8431c6492f58a33296fc5f41c00d4908d65760216afefb626ac00b30a29c93acb767abe83a907756cbaa807706c0d9d2ef7 SHA512 ff02439556c193b2e40c6a7edfc42c9178fed4f04c4f1fe01a223f8b2243bc5f66784af5666887c9f07aafcc9428ae785a7174c4c88c73d7b62e56cf2aafde5e |
22 |
+DIST Nuitka-1.5.3.tar.gz 4168230 BLAKE2B 668ba91a166504a6ed3b7b1b63cd836b7e344fc2fbcc35d4270bc797f18d5e391922a940326a24ae832b892914bf8d7b6c34a7b6f65a640600cb08a82ae40bcc SHA512 b2c478a950846e1492af07c64de835ad2fc56dc6a69ddb95402afcace2634ec5986422bc6af92cac1d833df278286f0b58918227b076fc17c32fc5d342efd7a7 |
23 |
|
24 |
diff --git a/dev-python/Nuitka/Nuitka-1.5.3.ebuild b/dev-python/Nuitka/Nuitka-1.5.3.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..f1bec277226a |
27 |
--- /dev/null |
28 |
+++ b/dev-python/Nuitka/Nuitka-1.5.3.ebuild |
29 |
@@ -0,0 +1,54 @@ |
30 |
+# Copyright 1999-2023 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+DISTUTILS_USE_PEP517=setuptools |
36 |
+PYPI_NO_NORMALIZE=1 |
37 |
+PYTHON_COMPAT=( python3_{10..11} ) |
38 |
+ |
39 |
+inherit distutils-r1 flag-o-matic optfeature pypi |
40 |
+ |
41 |
+DESCRIPTION="Python to native compiler" |
42 |
+HOMEPAGE=" |
43 |
+ https://www.nuitka.net/ |
44 |
+ https://github.com/Nuitka/Nuitka/ |
45 |
+ https://pypi.org/project/Nuitka/ |
46 |
+" |
47 |
+ |
48 |
+LICENSE="Apache-2.0" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~loong ~x86" |
51 |
+IUSE="test" |
52 |
+RESTRICT="!test? ( test )" |
53 |
+ |
54 |
+RDEPEND=" |
55 |
+ dev-util/scons[${PYTHON_USEDEP}] |
56 |
+" |
57 |
+BDEPEND=" |
58 |
+ ${RDEPEND} |
59 |
+ test? ( dev-util/ccache ) |
60 |
+" |
61 |
+ |
62 |
+DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) |
63 |
+ |
64 |
+distutils-r1_src_prepare() { |
65 |
+ # remove vendored version of SCons that is Python2 only |
66 |
+ # this should be removed when upstream removes support for Python2 |
67 |
+ rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die |
68 |
+ eapply_user |
69 |
+} |
70 |
+ |
71 |
+python_install() { |
72 |
+ distutils-r1_python_install |
73 |
+ doman doc/nuitka3.1 doc/nuitka3-run.1 |
74 |
+} |
75 |
+ |
76 |
+python_test() { |
77 |
+ append-ldflags -Wl,--no-warn-search-mismatch |
78 |
+ ./tests/basics/run_all.py search || die |
79 |
+} |
80 |
+ |
81 |
+pkg_postinst() { |
82 |
+ optfeature "support for stand-alone executables" app-admin/chrpath |
83 |
+} |