From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A200A15817D for ; Sun, 9 Jun 2024 02:57:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A585E2A4D; Sun, 9 Jun 2024 02:57:19 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7303FE2A4D for ; Sun, 9 Jun 2024 02:57:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 03E4B33BEE9 for ; Sun, 9 Jun 2024 02:57:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A4CA61A32 for ; Sun, 9 Jun 2024 02:57:15 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1717901831.cbe6a69c4b3bd52bafd979860a59a64e62c8c442.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/Nuitka/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/Nuitka/Manifest dev-python/Nuitka/Nuitka-2.3.1.ebuild X-VCS-Directories: dev-python/Nuitka/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: cbe6a69c4b3bd52bafd979860a59a64e62c8c442 X-VCS-Branch: master Date: Sun, 9 Jun 2024 02:57:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 89010688-ca71-42c8-910a-c993af1ce20d X-Archives-Hash: e9eaebf753309b159542018a8267c8f3 commit: cbe6a69c4b3bd52bafd979860a59a64e62c8c442 Author: Michał Górny gentoo org> AuthorDate: Sun Jun 9 02:19:50 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jun 9 02:57:11 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbe6a69c dev-python/Nuitka: Bump to 2.3.1 Signed-off-by: Michał Górny gentoo.org> dev-python/Nuitka/Manifest | 1 + dev-python/Nuitka/Nuitka-2.3.1.ebuild | 52 +++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index 54bd5fedd7e3..0dc1473dc648 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,3 +1,4 @@ DIST Nuitka-2.2.2.tar.gz 3999091 BLAKE2B 1512b0112dfa36c704900b787ac43a24377ab2994d16865d85da0384d2bb29a6dd26a83be270c51c28bcca68dad2398d68096d4dae1ee3f2044a85dad2571d82 SHA512 13f03fb849d83a1fbb10df2fe54f429f8871068942dfe93316460e1abed9149793b6fc1d7b62b1e72fc00de94ae9fd4b218f4ee65ea7668d138700f2bfd94eb2 DIST Nuitka-2.2.3.tar.gz 3657438 BLAKE2B f01a213f7dff39b6bba50ba21fbd120927caa60c88156aa0e9094339f260008fe18aaec4aabe5f878224516bddde697020ac16795e528b0e0141937565255b0a SHA512 36147901a75fcefad10ec75b66a3c988be9c8d6f54aca0f2f9ab3a8c4b06efc7c1b4eb5af5686675ce7040948f7032c27a93f7ea2429e02b99c2d817c37c72fe +DIST Nuitka-2.3.1.tar.gz 3668744 BLAKE2B fa2951f4e4f903007b8747748233b5a506d650bd4647f49f3a98e8a352da0ff10b9c2e462062cafe666e91003a47dcd61e4c55b9100fc73d15a5c23ac282a90d SHA512 77caa68117e1bb22b5be1dbe411e1fcd2dfa2fd2dd2e066ea6373c57894df559519dac4c35b4ccddc3c34cb5e061ee6ee5b3feba61e15ebd21975a5b42448599 DIST Nuitka-2.3.tar.gz 3663624 BLAKE2B 14d11b529322710e1c733661447dda38b5c2140fa924f3a510b710fd9191c194f36a8340c7a6908bfcba62844b3e76604725b5e41e239a1097b9e6b91664b943 SHA512 2bdfd4970f024e1f035f231d3f11f417228d12c33929c2625f05ff410500f1f7903b4c7dca4493374b13acb615b00fd555239d59eda661b1e27b0a3facc7bd5e diff --git a/dev-python/Nuitka/Nuitka-2.3.1.ebuild b/dev-python/Nuitka/Nuitka-2.3.1.ebuild new file mode 100644 index 000000000000..123acd66de1f --- /dev/null +++ b/dev-python/Nuitka/Nuitka-2.3.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYPI_NO_NORMALIZE=1 +PYTHON_COMPAT=( python3_{10..11} ) + +inherit distutils-r1 flag-o-matic optfeature pypi + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~loong ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-build/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +distutils-r1_src_prepare() { + # remove vendored version of SCons that is Python2 only + # this should be removed when upstream removes support for Python2 + rm -vR "nuitka/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + doman doc/nuitka.1 doc/nuitka-run.1 +} + +python_test() { + append-ldflags -Wl,--no-warn-search-mismatch + ./tests/basics/run_all.py search || die +} + +pkg_postinst() { + optfeature "support for stand-alone executables" dev-util/patchelf +}