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 B688115802C for ; Wed, 18 Dec 2024 08:07:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D59F6E0815; Wed, 18 Dec 2024 08:07:57 +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 90AD5E0815 for ; Wed, 18 Dec 2024 08:07:57 +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 AB0333409C8 for ; Wed, 18 Dec 2024 08:07:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E6C871F42 for ; Wed, 18 Dec 2024 08:07:54 +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: <1734509223.36152f6f13d6fc92b078e5c90215cefd1c86e32b.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.7.ebuild X-VCS-Directories: dev-python/nuitka/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 36152f6f13d6fc92b078e5c90215cefd1c86e32b X-VCS-Branch: master Date: Wed, 18 Dec 2024 08:07:54 +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: 9366d977-55de-4a71-ac77-9da53fb5522f X-Archives-Hash: 2e221efba9a4b04375bfc671ab508caa commit: 36152f6f13d6fc92b078e5c90215cefd1c86e32b Author: Michał Górny gentoo org> AuthorDate: Wed Dec 18 07:29:50 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Dec 18 08:07:03 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36152f6f dev-python/nuitka: Bump to 2.5.7 Signed-off-by: Michał Górny gentoo.org> dev-python/nuitka/Manifest | 1 + dev-python/nuitka/nuitka-2.5.7.ebuild | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 76c5ea657291..9f0876a89cfa 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1 +1,2 @@ DIST Nuitka-2.5.6.tar.gz 3776178 BLAKE2B f19d777820be2e097c787252842721d06be1a4f3bf8ae298c94d9772f1b2f11baff835b1fb610fd42549911b48c42ee0d2ea7ad9afbf5c3f0e137d1c5ec85603 SHA512 cec3801cc8d30d149f3057d65286d7169378c0e9717a8abd142ab6e4ee5411982688ac43876ca3d94b993ed0f2d14d8e315a8d786f2ecb6ca2c2edf96628ec00 +DIST Nuitka-2.5.7.tar.gz 3779250 BLAKE2B 5035fb52c85302d2877815be280bb3da40eca1ecc4e9608d038ff1960ed549a7525a0aa126758df2db35aca5549000d9ee343f144fe3c1a79fec04488393dc08 SHA512 1bd8ff4bed740c9ff2932e00d4f3f116c3c3496ca214f6563eb4aeaf44dd007783005eb0030e9b9a4b8ab21481883f33039893342ef62659d3a3e7ad54bea9c9 diff --git a/dev-python/nuitka/nuitka-2.5.7.ebuild b/dev-python/nuitka/nuitka-2.5.7.ebuild new file mode 100644 index 000000000000..d79d86fa299c --- /dev/null +++ b/dev-python/nuitka/nuitka-2.5.7.ebuild @@ -0,0 +1,55 @@ +# 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 +PYPI_PN=${PN^} +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 +}