summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-05-09 03:02:27 +0200
committerMichał Górny <mgorny@gentoo.org>2025-05-09 03:02:27 +0200
commitbcbdbcda2a1cecaad135d9df466cd2dfeebb8a61 (patch)
tree8899bdaa8c57bfed7077bf9ffe24ecfdc66a2a75
parentdf8891052482caad9a9b541c289cb9a3d5eed91b (diff)
downloadgentoo-bcbdbcda2a1cecaad135d9df466cd2dfeebb8a61.tar.gz
gentoo-bcbdbcda2a1cecaad135d9df466cd2dfeebb8a61.tar.bz2
gentoo-bcbdbcda2a1cecaad135d9df466cd2dfeebb8a61.zip
dev-python/nuitka: Bump to 2.7.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r--dev-python/nuitka/Manifest1
-rw-r--r--dev-python/nuitka/nuitka-2.7.1.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
index 4ee934d2900c..11913728f5c8 100644
--- a/dev-python/nuitka/Manifest
+++ b/dev-python/nuitka/Manifest
@@ -1 +1,2 @@
+DIST Nuitka-2.7.1.tar.gz 3882402 BLAKE2B 0772125d02af375ae6fc2ee03451dcd781cbe51b388f28cd02809394487edba8d50f18f72a71cfc169017dc141b1c4cdf31a159a93f114dd5d53ccbc6a69a32f SHA512 0ac4fa937120d82186fc233eb37b8707c553fab0c0e51cd2249961efe60d5b5eb0fbe2569ca608e89a15acdc2107102cc62b84719eb22aa63d23a90ce8c575c4
DIST Nuitka-2.7.tar.gz 3885354 BLAKE2B 71fb24778148b384193e63846f1c01c1725688be25ea700c1a7810dbc4248ea6417d7227ac38862ce68d848b3ce097cee220435958ae8688b21076f77eefb240 SHA512 cc2a1bc8c6a47e60f1e527316f522d34d5e89019660e44e84736d91cc80a00babf95cebfc682374e82adf1b7c1a0536c6505a74d9903ecbbc85442575841710c
diff --git a/dev-python/nuitka/nuitka-2.7.1.ebuild b/dev-python/nuitka/nuitka-2.7.1.ebuild
new file mode 100644
index 000000000000..56ab4fd312bd
--- /dev/null
+++ b/dev-python/nuitka/nuitka-2.7.1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2025 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_{11..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
+}