1 |
commit: e495eff80f76fa924f65a68a56f7f6cf5b58d0db |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Aug 27 18:27:53 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 27 18:28:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e495eff8 |
7 |
|
8 |
dev-python/nuitka: add 1.0.6 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/nuitka/Manifest | 1 + |
13 |
dev-python/nuitka/nuitka-1.0.6.ebuild | 49 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 50 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest |
17 |
index 889c4609e3ff..6d5fc45af232 100644 |
18 |
--- a/dev-python/nuitka/Manifest |
19 |
+++ b/dev-python/nuitka/Manifest |
20 |
@@ -2,3 +2,4 @@ DIST Nuitka-1.0.1.tar.gz 3893766 BLAKE2B 7d48344231fca1efce8d783a197813a1aa77c99 |
21 |
DIST Nuitka-1.0.2.tar.gz 3893195 BLAKE2B 7d3f154ecb128da34f1495d977ec81bc54dcd95d5d53d3ef437a0a55f11f91529eb12c985eba6256d53d2746e0b2925a50ab4fd19967f602c552a57c1ec51408 SHA512 a1cd4ba3b2ced48fd2b8fdd2438f8b6108ce3638fb59507bd2398cc8d3e9c9eb9b93d86446e960d26df351c2769799df3a8ca248482eee531dd6bbc276036a90 |
22 |
DIST Nuitka-1.0.3.tar.gz 3894225 BLAKE2B 9e29cfc23c4c1fda50330a6ebfb30fe8a13b18486a87965e9b4daddedd6fb38f6f3c89c606ff63d7a0888bc1c329c593a92d36cfc6b0d2b46a289fa4fd6fc8f5 SHA512 68bab7f431e2469c01c8e3272ea75eff8bffe7a070768759949206109fc4bb035243e3b2511372ec449fe07aff9bc94185f2b3c3301d5e847d091fa340522362 |
23 |
DIST Nuitka-1.0.5.tar.gz 3893771 BLAKE2B 50c4498d13e9fbcf3df9fbf98acd96021dc4c01ef63e1c116ffbbfd878c0b2fc1066470b3f7283652430beefb1f64353b6f6421399654066b9fbd7990f3f4889 SHA512 d8416e8134512c7bb28a0e132942a6832fe7fd8b28bb96b38c2896e7f77fa6d0b1fde71621bb3c909b4877602f77b2e152885245c313097e12accab397cc2a61 |
24 |
+DIST Nuitka-1.0.6.tar.gz 3890331 BLAKE2B 4a8240123b61ff7c8ec274e6c318ade2b5057f56b0b766f1a555451f501a194c137696bd51dff23bdd125e1ffa3679f790e3ad50b9c15e85ba5358f56d47b34f SHA512 f431c976b28b80ad10cdbc27c8f0d3321aadace08a104d18089c38d00b80ee96fd3aa051dd50eb668ed57f6aca25e4f918f07d065df00627c139bc34afdcb52c |
25 |
|
26 |
diff --git a/dev-python/nuitka/nuitka-1.0.6.ebuild b/dev-python/nuitka/nuitka-1.0.6.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..5b987e13729d |
29 |
--- /dev/null |
30 |
+++ b/dev-python/nuitka/nuitka-1.0.6.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 ~loong ~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 |
+} |