1 |
commit: 13902d3d88ce915a8d4601d14a19d3758852023b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 30 06:59:28 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 30 06:59:28 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13902d3d |
7 |
|
8 |
dev-python/Nuitka: Bump to 1.4.1 |
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.4.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 38fbbffdac37..5cd9d6e2475c 100644 |
18 |
--- a/dev-python/Nuitka/Manifest |
19 |
+++ b/dev-python/Nuitka/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST Nuitka-1.4.1.tar.gz 4122973 BLAKE2B edd3722a3e9d534c1802a4be6d1b3d21ce5a926803e4342620a87597d8ad5e03b0e84c83a17a95a36c3716a25197e7a32704d29813a2bccfed490ae0e019d5ce SHA512 99bd491519e4e3e754e5678d293a39ed36438e19aa026263c2b3fde5cc82ffc886b35629146ed11fa93860598901e91644c6e93456d1e76ba97a21d304165e67 |
22 |
DIST Nuitka-1.4.tar.gz 4121399 BLAKE2B 6f431ce01e5efc18cb71fffa8d4db1479adaab48f91c5943fe97d9252dd80ec6a875e0fbc480b13b38167534254a9fb589664d7d95b7e679b22e3c4ef27f5a5a SHA512 cc07b8c35e75c3d34566d335e27789900095c35bf411e284c262f7a85f54ee9922b8f2aa0a75e72e2b77559f594183ea84aeba5691e600181fc706680bb55136 |
23 |
|
24 |
diff --git a/dev-python/Nuitka/Nuitka-1.4.1.ebuild b/dev-python/Nuitka/Nuitka-1.4.1.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..3ad289dde538 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/Nuitka/Nuitka-1.4.1.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 |
+PYTHON_COMPAT=( python3_10 ) |
37 |
+ |
38 |
+inherit distutils-r1 flag-o-matic optfeature |
39 |
+ |
40 |
+DESCRIPTION="Python to native compiler" |
41 |
+HOMEPAGE=" |
42 |
+ https://www.nuitka.net/ |
43 |
+ https://github.com/Nuitka/Nuitka/ |
44 |
+ https://pypi.org/project/Nuitka/ |
45 |
+" |
46 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
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 |
+} |