summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-06-04 02:56:06 +0200
committerMichał Górny <mgorny@gentoo.org>2025-06-04 04:06:31 +0200
commit8a9190d564070788eab09598ab30d2ece39dc69c (patch)
tree6c48a5a199606bcf62761951a0b84be71556877e /dev-python
parent2713fd8dcf633dce3fffd53adc96814983645892 (diff)
downloadgentoo-8a9190d564070788eab09598ab30d2ece39dc69c.tar.gz
gentoo-8a9190d564070788eab09598ab30d2ece39dc69c.tar.bz2
gentoo-8a9190d564070788eab09598ab30d2ece39dc69c.zip
dev-python/nuitka: Bump to 2.7.6
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/nuitka/Manifest1
-rw-r--r--dev-python/nuitka/nuitka-2.7.6.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
index 6e24df3ab63c..aa638d0cbd60 100644
--- a/dev-python/nuitka/Manifest
+++ b/dev-python/nuitka/Manifest
@@ -1,2 +1,3 @@
DIST Nuitka-2.7.4.tar.gz 3885038 BLAKE2B c0c4456af4e3df2f653b8698a53470114ebd809bf48931240361ae2f5f55c7b88acf2171a07245f13550b9111ec067d2eb9390562718355e07c4f9026d2ba52e SHA512 62b91a298e69d4d8d76608fa5ccd192b8e47764232d6653ec8519244dc099a3623be68554ab7e0a822a69a3f86d19a9b898d2ecb16d68b93d765eed3b84a1937
DIST Nuitka-2.7.5.tar.gz 3885564 BLAKE2B e949b3da418393e7b847e4fce07add049181da6801040ba2c7d1eb46b5d5c0b0f88b98cf0bb1808a727414d3f9ed1d050cad4a3bc54a17d35488c6788effc8ee SHA512 e26f6990dc2a0842dfc5acfb80f5a4de975e2e4244f99d861e9a6e2f18c68dda66d6b1bfa64f4387ce72de321a003ad4582dee4f4385c009e5b54c7e0c63a877
+DIST Nuitka-2.7.6.tar.gz 3885618 BLAKE2B 14425702c4940fd4c7bbf2e02fa717ec9b2d6fd5de2b15e736d74e8ac78617fd9749154ec14395da1ddb465526cc60ec53c55b6d7ec4af71c3da3cf49127f268 SHA512 65e35fd48de4f0cb4655d819d05161a36a73e5d2725e0d3dac3d86a42571c924d6568c4b3dda4b284240ae82575bf677daaddc74d30f94d3af70aea286eea8b3
diff --git a/dev-python/nuitka/nuitka-2.7.6.ebuild b/dev-python/nuitka/nuitka-2.7.6.ebuild
new file mode 100644
index 000000000000..56ab4fd312bd
--- /dev/null
+++ b/dev-python/nuitka/nuitka-2.7.6.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
+}