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: Mon, 26 Sep 2022 11:22:03
Message-Id: 1664188459.f783e9746606b1b89119f8f5362e5c1d267bbe97.mgorny@gentoo
1 commit: f783e9746606b1b89119f8f5362e5c1d267bbe97
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 26 10:34:19 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 26 10:34:19 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f783e974
7
8 dev-python/nuitka: Bump to 1.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-1.1.ebuild | 55 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
17 index ac1908adfd3b..adca8d49d531 100644
18 --- a/dev-python/nuitka/Manifest
19 +++ b/dev-python/nuitka/Manifest
20 @@ -1,3 +1,4 @@
21 DIST Nuitka-1.0.6.tar.gz 3890331 BLAKE2B 4a8240123b61ff7c8ec274e6c318ade2b5057f56b0b766f1a555451f501a194c137696bd51dff23bdd125e1ffa3679f790e3ad50b9c15e85ba5358f56d47b34f SHA512 f431c976b28b80ad10cdbc27c8f0d3321aadace08a104d18089c38d00b80ee96fd3aa051dd50eb668ed57f6aca25e4f918f07d065df00627c139bc34afdcb52c
22 DIST Nuitka-1.0.7.tar.gz 3891250 BLAKE2B 6f401de98bae91688d0ceab210d178fdb8d2cb32beeb7dd6925eee7985d0e344e41edcaddbdff8313402625d40dc7236433f52ca71f1100a1168775b9bc3da8b SHA512 29cb7377c976f59d8ea49aedd74798ee11b38b98b597611bd41bd5bef5c2473cd76bb260f764afd277edc4b5bfb8359b995a532ba4814f1d2310fa9c90d1467d
23 DIST Nuitka-1.0.8.tar.gz 3890590 BLAKE2B 04257834d79f0988800a06d9b4725e9fa694bf7f9aafebbfb9ddbb09a2a5f666c02f13bf8ee56fd3360216faa31cd7b14a30d9a2daf23eef719ed568bfd3501c SHA512 824830121ca87b33aebcee074e0af52e456942190168186248a9ed62937bb044c6741ff721bd4bcd7d657cae96d573c1a6b9cb1fde6374073c12c1e1f6a6df26
24 +DIST Nuitka-1.1.tar.gz 3920532 BLAKE2B 0d6ff01815bbc9216b5e5157bcb849b5182d025fe16523efde2bd812ca90d0b8008ba0d55e20e40b41c81250c2a1d309f99adff6498a3466f4d546ce8a7dfbca SHA512 abf9a2f07751f963bb727bc6c1affca0be3f02e6d1ead0206979b00589de0571a8e8e4e6af08bbc8fa285b1e2cbc5971bb88b417aca73c8069da200f7cd04fe5
25
26 diff --git a/dev-python/nuitka/nuitka-1.1.ebuild b/dev-python/nuitka/nuitka-1.1.ebuild
27 new file mode 100644
28 index 000000000000..b55f0385d58a
29 --- /dev/null
30 +++ b/dev-python/nuitka/nuitka-1.1.ebuild
31 @@ -0,0 +1,55 @@
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="
44 + https://www.nuitka.net/
45 + https://github.com/Nuitka/Nuitka/
46 + https://pypi.org/project/Nuitka/
47 +"
48 +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz"
49 +S=${WORKDIR}/${P^}
50 +
51 +LICENSE="Apache-2.0"
52 +SLOT="0"
53 +KEYWORDS="~amd64 ~loong ~x86"
54 +IUSE="test"
55 +RESTRICT="!test? ( test )"
56 +
57 +RDEPEND="
58 + dev-util/scons[${PYTHON_USEDEP}]
59 +"
60 +BDEPEND="
61 + ${RDEPEND}
62 + test? ( dev-util/ccache )
63 +"
64 +
65 +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf )
66 +
67 +distutils-r1_src_prepare() {
68 + # remove vendored version of SCons that is Python2 only
69 + # this should be removed when upstream removes support for Python2
70 + rm -vR "${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die
71 + eapply_user
72 +}
73 +
74 +python_install() {
75 + distutils-r1_python_install
76 + doman doc/nuitka3.1 doc/nuitka3-run.1
77 +}
78 +
79 +python_test() {
80 + append-ldflags -Wl,--no-warn-search-mismatch
81 + ./tests/basics/run_all.py search || die
82 +}
83 +
84 +pkg_postinst() {
85 + optfeature "support for stand-alone executables" app-admin/chrpath
86 +}