1 |
commit: 25085f9ab7330acdb4130d0b80dce9999046ea3b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 2 14:33:45 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 2 14:54:20 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25085f9a |
7 |
|
8 |
dev-python/Nuitka: Bump to 1.3.5 |
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.3.5.ebuild | 54 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest |
17 |
index 18e0bb2fddf9..048ae79cf736 100644 |
18 |
--- a/dev-python/Nuitka/Manifest |
19 |
+++ b/dev-python/Nuitka/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST Nuitka-1.3.4.tar.gz 4028710 BLAKE2B 5cf02644524f612cd4403147323ce0e4d121efd91d8a9da3f55e81117e088337ce9d56f801691b52236bb17bb7ffc3987e98c8d23bad1c84b4bae61fae41b5cd SHA512 7c3562a264833ba2b5ed09a43d91113f59ece8a088480ac03517fe66b380d354faf465845fb7218d34f328114d8bdee92d4374651182f85f50593ce9294e8796 |
22 |
+DIST Nuitka-1.3.5.tar.gz 4019765 BLAKE2B dc169a318400e23021a2712f41c49e8d045352c2b6ab946a289d479ee3aeb887456cb0218e762ea091885ce4204d1c3d59e6d228a58b596a70387400e5f31c35 SHA512 edc603b3b38e68473d3002641e61d969cd1fe9626aaa45023c017b2c2ed288d61ee5e537e9b96ca53efc5e052e689df37849bb0b1da65d0b31d38152645ced25 |
23 |
|
24 |
diff --git a/dev-python/Nuitka/Nuitka-1.3.5.ebuild b/dev-python/Nuitka/Nuitka-1.3.5.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..3ad289dde538 |
27 |
--- /dev/null |
28 |
+++ b/dev-python/Nuitka/Nuitka-1.3.5.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 |
+} |