1 |
commit: a00e29dec41047869f155c03c3ca2613ea8a7c6b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Dec 6 22:22:52 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Dec 6 23:07:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00e29de |
7 |
|
8 |
dev-python/nuitka: Bump to 0.6.18.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-0.6.18.1.ebuild | 48 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 49 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest |
17 |
index 60391a0882b2..2f850bc855bf 100644 |
18 |
--- a/dev-python/nuitka/Manifest |
19 |
+++ b/dev-python/nuitka/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST Nuitka-0.6.17.6.tar.gz 3148827 BLAKE2B 4c898cac6ae5934e45ecfd37222670d7665ad9f512ae4e7f4e94eb25d19cd434448dbdf188b74398c49eea3b26a393f4fabfddb879be4d2bd795fc1ae6a8538d SHA512 1e370b083861cc9953ab9b72c98dc81f9d6bbf97196abc69d8229ed2a87f2151101b825c8d34d3656cf3b1cc0cdcbbc5a4aa97fc1c32ce605b0535cbf2d3142f |
22 |
DIST Nuitka-0.6.17.7.tar.gz 3150990 BLAKE2B 130c98e0499380591f3d3a4d6acabd396749624eca7a0ddcaa997e27ce0ae05d22230edb4fc7284b89dd3bfad1ac16092b7db5ae7c7b7e7c7a41c1f5a16ea8f3 SHA512 08f99cafbdedaca2df2967f452038a69827f291ab825c31231b434e80f56da0698b458f129c2639d2820257c7dc86e306b507742d4d695002d5a64ab8747cb3e |
23 |
+DIST Nuitka-0.6.18.1.tar.gz 3688411 BLAKE2B 4ddc98cfb34ff825c628200a72c8cb671a1053c7085a542bf49c96617155c69424b1de924cf6fb7fdaf5a5a52049781f687c1cda909fe4309410296e79f34435 SHA512 3638e6c8dd25a19f69eec3bafed22d758a1ec6c15d0491f91d9c6e5570014b87f6efd6d8944a3e85ade314f49128af8cee15b745e26660cfc466fc22bba3e717 |
24 |
DIST Nuitka-0.6.18.tar.gz 3687825 BLAKE2B f2c5655c610083065cc205c0a92ff9c57edfc87a479592f435c3dd194e2d6d71ff0ee9866bc97f222b3936190a4420e7d69cf9413b5b2a5e9439448dda82004f SHA512 df4c81d890ce9c5dc24e648f65137d4bb91dcb92917859976a3400ace6c297f985cee4932b50cb3c2aedb2eaa806be7529a98a75a32fe3f59ec718ed3281003b |
25 |
|
26 |
diff --git a/dev-python/nuitka/nuitka-0.6.18.1.ebuild b/dev-python/nuitka/nuitka-0.6.18.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..d42d1b9e532c |
29 |
--- /dev/null |
30 |
+++ b/dev-python/nuitka/nuitka-0.6.18.1.ebuild |
31 |
@@ -0,0 +1,48 @@ |
32 |
+# Copyright 1999-2021 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+PYTHON_COMPAT=( python3_{8..9} ) |
38 |
+inherit distutils-r1 flag-o-matic optfeature |
39 |
+ |
40 |
+DESCRIPTION="Python to native compiler" |
41 |
+HOMEPAGE="https://www.nuitka.net" |
42 |
+SRC_URI="https://nuitka.net/releases/${P^}.tar.gz" |
43 |
+S="${WORKDIR}/${P^}" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+RDEPEND="dev-util/scons[${PYTHON_USEDEP}]" |
52 |
+BDEPEND=" |
53 |
+ ${RDEPEND} |
54 |
+ test? ( dev-util/ccache ) |
55 |
+" |
56 |
+ |
57 |
+DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) |
58 |
+ |
59 |
+distutils-r1_src_prepare() { |
60 |
+ # remove vendored version of SCons that is Python2 only |
61 |
+ # this should be removed when upstream removes support for Python2 |
62 |
+ rm -vR "${S}/${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die |
63 |
+ eapply_user |
64 |
+} |
65 |
+ |
66 |
+python_install() { |
67 |
+ distutils-r1_python_install |
68 |
+ python_optimize |
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 |
+} |