summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2024-06-10 02:58:12 +0200
committerMichał Górny <mgorny@gentoo.org>2024-06-10 02:58:12 +0200
commitce750b29380abe795d2b8de3d5a9311494b928bf (patch)
treee503c60ee6e3e7980fefd321d4a5e8158e8a8b39 /dev-python/Nuitka
parentsys-fs/apfsprogs: new package, add 0_pre20240521 (diff)
downloadgentoo-ce750b29380abe795d2b8de3d5a9311494b928bf.tar.gz
gentoo-ce750b29380abe795d2b8de3d5a9311494b928bf.tar.bz2
gentoo-ce750b29380abe795d2b8de3d5a9311494b928bf.zip
dev-python/Nuitka: Bump to 2.3.2
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/Nuitka')
-rw-r--r--dev-python/Nuitka/Manifest1
-rw-r--r--dev-python/Nuitka/Nuitka-2.3.2.ebuild52
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest
index 0dc1473dc648..7daf20ed2c2e 100644
--- a/dev-python/Nuitka/Manifest
+++ b/dev-python/Nuitka/Manifest
@@ -1,4 +1,5 @@
DIST Nuitka-2.2.2.tar.gz 3999091 BLAKE2B 1512b0112dfa36c704900b787ac43a24377ab2994d16865d85da0384d2bb29a6dd26a83be270c51c28bcca68dad2398d68096d4dae1ee3f2044a85dad2571d82 SHA512 13f03fb849d83a1fbb10df2fe54f429f8871068942dfe93316460e1abed9149793b6fc1d7b62b1e72fc00de94ae9fd4b218f4ee65ea7668d138700f2bfd94eb2
DIST Nuitka-2.2.3.tar.gz 3657438 BLAKE2B f01a213f7dff39b6bba50ba21fbd120927caa60c88156aa0e9094339f260008fe18aaec4aabe5f878224516bddde697020ac16795e528b0e0141937565255b0a SHA512 36147901a75fcefad10ec75b66a3c988be9c8d6f54aca0f2f9ab3a8c4b06efc7c1b4eb5af5686675ce7040948f7032c27a93f7ea2429e02b99c2d817c37c72fe
DIST Nuitka-2.3.1.tar.gz 3668744 BLAKE2B fa2951f4e4f903007b8747748233b5a506d650bd4647f49f3a98e8a352da0ff10b9c2e462062cafe666e91003a47dcd61e4c55b9100fc73d15a5c23ac282a90d SHA512 77caa68117e1bb22b5be1dbe411e1fcd2dfa2fd2dd2e066ea6373c57894df559519dac4c35b4ccddc3c34cb5e061ee6ee5b3feba61e15ebd21975a5b42448599
+DIST Nuitka-2.3.2.tar.gz 3668619 BLAKE2B c48bedbb1aa73ace4c44b4d00748f3bc1d739a710cbf1fa1014520cf8d7e6e747833eaf5608f13e7909414c7feaa6a6d599fb533ba2f5622788241873ea62335 SHA512 2bcdffe24602848850bf3c3c0aa0fda0ecf8d6710e40c2dc00ff8600e0ab97df4aac0f0ef59a14904ec918f525a5a2c5835d34cb2d98e14bf9a6800c37508c3b
DIST Nuitka-2.3.tar.gz 3663624 BLAKE2B 14d11b529322710e1c733661447dda38b5c2140fa924f3a510b710fd9191c194f36a8340c7a6908bfcba62844b3e76604725b5e41e239a1097b9e6b91664b943 SHA512 2bdfd4970f024e1f035f231d3f11f417228d12c33929c2625f05ff410500f1f7903b4c7dca4493374b13acb615b00fd555239d59eda661b1e27b0a3facc7bd5e
diff --git a/dev-python/Nuitka/Nuitka-2.3.2.ebuild b/dev-python/Nuitka/Nuitka-2.3.2.ebuild
new file mode 100644
index 000000000000..123acd66de1f
--- /dev/null
+++ b/dev-python/Nuitka/Nuitka-2.3.2.ebuild
@@ -0,0 +1,52 @@
+# 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..11} )
+
+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}]
+"
+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
+}