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 465A415800D for ; Wed, 5 Jul 2023 07:58:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA0EAE081A; Wed, 5 Jul 2023 07:58:07 +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 CABF6E081A for ; Wed, 5 Jul 2023 07:58:07 +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 DEBB7341094 for ; Wed, 5 Jul 2023 07:58:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 62D37AD0 for ; Wed, 5 Jul 2023 07:58:04 +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: <1688543872.c32594173b4b68eba63d95b0ab336319c56417e2.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-1.7.ebuild X-VCS-Directories: dev-python/Nuitka/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: c32594173b4b68eba63d95b0ab336319c56417e2 X-VCS-Branch: master Date: Wed, 5 Jul 2023 07:58:04 +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: 32e07606-b2df-40bb-9bf5-713d577f70c2 X-Archives-Hash: e1832c4a0ee9ae4f53f111fa1ffba7fa commit: c32594173b4b68eba63d95b0ab336319c56417e2 Author: Michał Górny gentoo org> AuthorDate: Wed Jul 5 06:47:19 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed Jul 5 07:57:52 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3259417 dev-python/Nuitka: Bump to 1.7 Signed-off-by: Michał Górny gentoo.org> dev-python/Nuitka/Manifest | 1 + dev-python/Nuitka/Nuitka-1.7.ebuild | 54 +++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest index 0ee0060c3e7a..19786acad6d3 100644 --- a/dev-python/Nuitka/Manifest +++ b/dev-python/Nuitka/Manifest @@ -1,3 +1,4 @@ DIST Nuitka-1.6.4.tar.gz 4254226 BLAKE2B ec20d567f83bd80c662fefd897c224712735b11df8716fbc039f2413a5cb14433fcf3a893003109065a186911af71cd837892d9c767e92447b3a73bc09afcbf2 SHA512 5fed27a7bea2632ffd6bd802880dcf2372da72f5b1b02221d25322f49c130a1191469495d023c0dd1e25d2326d24385b978c6e9e36e0326c47127001715234c9 DIST Nuitka-1.6.5.tar.gz 4250050 BLAKE2B 66586aa497da1174e0387a1050763760973a601d40cb5a36bdb030df60a2cde7908f30d173a871a136f9efe9798e3eb3ca03a945c2f1c7345c7ad87f3310f90f SHA512 20469e2872ffd4379ea0ce704fb6282aef8d6c5f8459067e0612248dc21de93b3de1282aab3ad5a285b5a198a9771b0b55897576a2420450753eddb3db827feb DIST Nuitka-1.6.6.tar.gz 4250403 BLAKE2B 027ccbaca57e5306ba150b5f9dbf31f2d8dc447a498369d70b824357ff9738375505f67c04b2317b09fefc568b0c4cebabfdffa219b64dfd734b435c31924c1a SHA512 c9b50cc40571b7d9477d972eef82aa72079fc6ef68040d8ff6cea2c51628797b6467174627f2376f6f8c14deb45fc8fcec2f43cbf3ae999a78b06cc1c887e8db +DIST Nuitka-1.7.tar.gz 4275155 BLAKE2B b293075412c8d858e157598d4fd5b6e776f09a62d2d03cf81c55fb5b22d336551d12173bc3cd3817849b6d83efff996d9d259dedaf5cc119eea2fc8e86916e22 SHA512 1b973550787c67ce507744f8e3df88cc91cdae61663aaa38c46acd6644ae1b3b425b1d88fe75867275845ea2022fc8ac3481685fe6056e5c932d407109b96084 diff --git a/dev-python/Nuitka/Nuitka-1.7.ebuild b/dev-python/Nuitka/Nuitka-1.7.ebuild new file mode 100644 index 000000000000..f1bec277226a --- /dev/null +++ b/dev-python/Nuitka/Nuitka-1.7.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2023 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://www.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-util/scons[${PYTHON_USEDEP}] +" +BDEPEND=" + ${RDEPEND} + test? ( dev-util/ccache ) +" + +DOCS=( Changelog.pdf Developer_Manual.pdf README.pdf ) + +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/nuitka3.1 doc/nuitka3-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" app-admin/chrpath +}