Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nuitka/
Date: Wed, 08 Jun 2022 05:35:07
Message-Id: 1654666489.a800517e418c3428dfe0b7ce400b5cc143ad7a55.mgorny@gentoo
1 commit: a800517e418c3428dfe0b7ce400b5cc143ad7a55
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jun 8 04:36:26 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 8 05:34:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a800517e
7
8 dev-python/nuitka: Bump to 0.8.4
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.8.4.ebuild | 49 +++++++++++++++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
17 index 3b0b5e69cea6..f7d2d7dd9f77 100644
18 --- a/dev-python/nuitka/Manifest
19 +++ b/dev-python/nuitka/Manifest
20 @@ -2,4 +2,5 @@ DIST Nuitka-0.7.7.tar.gz 3785340 BLAKE2B e856bcb3ecf69ecaa447ea73219f544bfceae8e
21 DIST Nuitka-0.8.1.tar.gz 3831036 BLAKE2B 3215344e0d46da8bee8a9c3246d2a6a8be86882a446f4e6d84ad924db821c051cd7d428f3e5372af69049e36ffc4a5b0e812f2ae3ea311b2759fbe42f87e2d6d SHA512 69c84d962ec03fb8dbd086c50076f656a99563985cc1750fcb0aebfde50ed68e6982ce2b0f2c3ce84151e9ea2d0cd679370a52c1f1dd0b8f943fc5f5938f9e15
22 DIST Nuitka-0.8.2.tar.gz 3828013 BLAKE2B b5f3b59ea641714a9e437b29dc4b8db6b9f9c09d9b326b5eccc8e302bc5d205e561069c353c337ebd0d81434338244ae27caffb0e246ace0e809ebed0ae28e45 SHA512 7156745a83c9fd18a9564883e8ed7972002b19026d790b864a1383e8a131eb2adf271f403190909e2586ea3a7eb2d28bc3e469770fbae0d392617b26b3e63d25
23 DIST Nuitka-0.8.3.tar.gz 3826774 BLAKE2B addc91ea87dfc2bc8cef5fe4f1285935c9f09cf8e3d88900fce004c4c5e83a0c3052c8848e61f2160ea12136860849c907d80930e0589a6ab5195c586102817a SHA512 0f0b648eaff3e7d8d2af5f554a7b2e7970aa01036e5299ee2b72e85529d70750bf54f78dc8fa5cd7dcfa77e15b578cefa2586b71401fb8b20331db418afdef24
24 +DIST Nuitka-0.8.4.tar.gz 3828278 BLAKE2B dbd6abb945f66ab6a5a359b8370fd3d5d36fbdc2c232b5002356f59ffbfa531180b96467b67a2edbb7a779c75ebe58789e9ae0ff806b5649eea4a5b7d9c0934c SHA512 683918e60f2f65d22911f894c2e4fedeafd9d0ef0cacd48bb66422fa2077f225c7c861186b83b9c0fd50eb965b956a1b26342249b3db2af599250c16fe84a152
25 DIST Nuitka-0.8.tar.gz 3829530 BLAKE2B 051be63639e491fb26e7ef36b7e034715d0dd0e39417b59c30b0c5628e78d6c655978a2198d7192b431f176a24060fa899fb9c17ff6dc02fedb64865ad37af5a SHA512 f4eef21a32b68d52363ede1f68afa0247bf61a142fc86763f28805ca3a611195bb87bd1229a31a4d0ce47bbae7f70cc18580ebab528772f0908f122d8341bc6c
26
27 diff --git a/dev-python/nuitka/nuitka-0.8.4.ebuild b/dev-python/nuitka/nuitka-0.8.4.ebuild
28 new file mode 100644
29 index 000000000000..5b987e13729d
30 --- /dev/null
31 +++ b/dev-python/nuitka/nuitka-0.8.4.ebuild
32 @@ -0,0 +1,49 @@
33 +# Copyright 1999-2022 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +DISTUTILS_USE_PEP517=setuptools
39 +PYTHON_COMPAT=( python3_{8..10} )
40 +
41 +inherit distutils-r1 flag-o-matic optfeature
42 +
43 +DESCRIPTION="Python to native compiler"
44 +HOMEPAGE="https://www.nuitka.net"
45 +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz"
46 +S="${WORKDIR}/${P^}"
47 +
48 +LICENSE="Apache-2.0"
49 +SLOT="0"
50 +KEYWORDS="~amd64 ~loong ~x86"
51 +IUSE="test"
52 +RESTRICT="!test? ( test )"
53 +
54 +RDEPEND="dev-util/scons[${PYTHON_USEDEP}]"
55 +BDEPEND="
56 + ${RDEPEND}
57 + test? ( dev-util/ccache )
58 +"
59 +
60 +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf )
61 +
62 +distutils-r1_src_prepare() {
63 + # remove vendored version of SCons that is Python2 only
64 + # this should be removed when upstream removes support for Python2
65 + rm -vR "${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die
66 + eapply_user
67 +}
68 +
69 +python_install() {
70 + distutils-r1_python_install
71 + doman doc/nuitka3.1 doc/nuitka3-run.1
72 +}
73 +
74 +python_test() {
75 + append-ldflags -Wl,--no-warn-search-mismatch
76 + ./tests/basics/run_all.py search || die
77 +}
78 +
79 +pkg_postinst() {
80 + optfeature "support for stand-alone executables" app-admin/chrpath
81 +}