1 |
commit: c0236b3673fd36df7a5d065fee411e3add4b653c |
2 |
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Feb 3 20:39:10 2022 +0000 |
4 |
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Feb 3 20:39:26 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0236b36 |
7 |
|
8 |
dev-python/nuitka: add 0.6.19.6 |
9 |
|
10 |
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> |
11 |
|
12 |
dev-python/nuitka/Manifest | 1 + |
13 |
dev-python/nuitka/nuitka-0.6.19.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 e54b21ef7d2b..0c41eadbee63 100644 |
18 |
--- a/dev-python/nuitka/Manifest |
19 |
+++ b/dev-python/nuitka/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST Nuitka-0.6.19.4.tar.gz 3728051 BLAKE2B 561dd0657b0f5f7c10da18d4b78be09337c998951542c767e2888648a76e1332d71b83952cff3aa6fb64ceb5c6f1103f26fa9d9b0661c7b8cdf76c20d75cf51f SHA512 3b7a5a5d5191b93ee96e9cb98822a26462c6a4c5fdbc7abaf9553238653e2debc986a1b307c62ffcaccc8618adadb5c794d436f75c957c733d8471612820c7be |
22 |
DIST Nuitka-0.6.19.5.tar.gz 3728119 BLAKE2B 8300356499e53185cd2b6a547b8deef818bfd2c775e8ee2517bc79d741f81af1a7745b2eac018d0df3b329b7d4719dbac71159d6efd6ef35ccff4c63daf8e4cc SHA512 bc6b7d41af7bfdeb236143640ab1dc6ea0b811f85eaf10c8d232907d53c9643be25b4c0cdc3946204d6501c7009f8e79f36b5b6318d36a6e77052d9e2c1ec986 |
23 |
+DIST Nuitka-0.6.19.6.tar.gz 3726831 BLAKE2B d1b10f8a599898824cbc40a43dda6b88d89b8e4e8ae1d32b4458f6f5e9241e088fc2d4b6fb8e68e889abdbb2309f47cba100df78c5fe54a5b5333eb79a2143d7 SHA512 fc537b6c12c2a4f165c59f4fae39fea2894bc2f6221361dac39dc39a120a82b725e22810857c618305799b862b887e314c6dd340650e5c2029923e550143869e |
24 |
|
25 |
diff --git a/dev-python/nuitka/nuitka-0.6.19.6.ebuild b/dev-python/nuitka/nuitka-0.6.19.6.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..1a0e8e46dbbb |
28 |
--- /dev/null |
29 |
+++ b/dev-python/nuitka/nuitka-0.6.19.6.ebuild |
30 |
@@ -0,0 +1,49 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+DISTUTILS_USE_PEP517=setuptools |
37 |
+PYTHON_COMPAT=( python3_{8..9} ) |
38 |
+ |
39 |
+inherit distutils-r1 flag-o-matic optfeature |
40 |
+ |
41 |
+DESCRIPTION="Python to native compiler" |
42 |
+HOMEPAGE="https://www.nuitka.net" |
43 |
+SRC_URI="https://nuitka.net/releases/${P^}.tar.gz" |
44 |
+S="${WORKDIR}/${P^}" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+KEYWORDS="~amd64 ~x86" |
49 |
+IUSE="test" |
50 |
+RESTRICT="!test? ( test )" |
51 |
+ |
52 |
+RDEPEND="dev-util/scons[${PYTHON_USEDEP}]" |
53 |
+BDEPEND=" |
54 |
+ ${RDEPEND} |
55 |
+ test? ( dev-util/ccache ) |
56 |
+" |
57 |
+ |
58 |
+DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) |
59 |
+ |
60 |
+distutils-r1_src_prepare() { |
61 |
+ # remove vendored version of SCons that is Python2 only |
62 |
+ # this should be removed when upstream removes support for Python2 |
63 |
+ rm -vR "${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die |
64 |
+ eapply_user |
65 |
+} |
66 |
+ |
67 |
+python_install() { |
68 |
+ distutils-r1_python_install |
69 |
+ doman doc/nuitka3.1 doc/nuitka3-run.1 |
70 |
+} |
71 |
+ |
72 |
+python_test() { |
73 |
+ append-ldflags -Wl,--no-warn-search-mismatch |
74 |
+ ./tests/basics/run_all.py search || die |
75 |
+} |
76 |
+ |
77 |
+pkg_postinst() { |
78 |
+ optfeature "support for stand-alone executables" app-admin/chrpath |
79 |
+} |