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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B8BE4158042 for ; Sun, 17 Nov 2024 03:08:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E0CE2E0A90; Sun, 17 Nov 2024 03:08:37 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4515E0A90 for ; Sun, 17 Nov 2024 03:08:37 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DA16B341214 for ; Sun, 17 Nov 2024 03:08:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 43A6D1E74 for ; Sun, 17 Nov 2024 03:08:35 +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: <1731812911.27059c97e8e3615ac3fea65564c7078ecdbc411f.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.5.ebuild X-VCS-Directories: dev-python/Nuitka/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 27059c97e8e3615ac3fea65564c7078ecdbc411f X-VCS-Branch: master Date: Sun, 17 Nov 2024 03:08:35 +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: cef71789-0125-4d51-a852-4f471c0180e6 X-Archives-Hash: 6780fa1476a74ab1155fbee70dcd94ca commit: 27059c97e8e3615ac3fea65564c7078ecdbc411f Author: Michał Górny gentoo org> AuthorDate: Sun Nov 17 02:36:48 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Nov 17 03:08:31 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27059c97 dev-python/Nuitka: Bump to 2.5 Signed-off-by: Michał Górny gentoo.org> dev-python/Nuitka/Manifest | 1 + dev-python/Nuitka/Nuitka-2.5.ebuild | 54 +++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index 99b796c40fb5..92cc9169ca6a 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1 +1,2 @@ DIST Nuitka-2.4.11.tar.gz 3730066 BLAKE2B f75729f1aeb2c16ee87ae428af96e5dda27ca4bf926fa7625e6c521d2a740cac827a952d45daa569400c73a1121f571dc3450b43516b8357fe965ea5e4cf5378 SHA512 db516d6ce5b557401e9549b2cf816f15af147773eae255c89b382a60423ddfdf8ac20d4efcb7c2682d17b9cea26351a4decd9f7af6f5cdc451de237ea2df8a49 +DIST Nuitka-2.5.tar.gz 3775959 BLAKE2B 25c91811fd7f1750c4be68031503c72694b512818aff9da57ea941257b376aee1db5921f7e9acec4b836a030a5ddcf329ada8d2e4305c735d6abefb3f97306e4 SHA512 265bd1d076acb2470598a78d6d66d9d246b27345b93bd28da0ff75621d2cf6f221760517e74c25d660b3c90eba2738eef1fb10978af97f9dc6c7720495ccdeed diff --git a/dev-python/Nuitka/Nuitka-2.5.ebuild b/dev-python/Nuitka/Nuitka-2.5.ebuild new file mode 100644 index 000000000000..1a65e72f7c93 --- /dev/null +++ b/dev-python/Nuitka/Nuitka-2.5.ebuild @@ -0,0 +1,54 @@ +# 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..13} ) + +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}] + >=dev-python/ordered-set-4.1.0[${PYTHON_USEDEP}] + >=dev-python/zstandard-0.15[${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 +}