diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2022-01-16 20:53:29 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2022-01-16 20:53:40 +0200 |
commit | 1967067d601b92396ad64b176b24b241987bbfeb (patch) | |
tree | 8ffa82a3d579cbc1ef485b525621668229c062ac | |
parent | sys-cluster/slurm: 'sys-fabric/ofed' → 'sys-cluster/rdma-core' (diff) | |
download | gentoo-1967067d601b92396ad64b176b24b241987bbfeb.tar.gz gentoo-1967067d601b92396ad64b176b24b241987bbfeb.tar.bz2 gentoo-1967067d601b92396ad64b176b24b241987bbfeb.zip |
dev-python/nuitka: add 0.6.19.3
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
-rw-r--r-- | dev-python/nuitka/Manifest | 1 | ||||
-rw-r--r-- | dev-python/nuitka/nuitka-0.6.19.3.ebuild | 48 |
2 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index fcaa22f84a68..f34bb9fbd058 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,3 +1,4 @@ DIST Nuitka-0.6.19.1.tar.gz 3727050 BLAKE2B 70cde9f6c7254cc229dc534736c1445f9fc813a1463705e0116021107c6b6909c9ac1e35bf7b0b452cd6b6d23b2c4e4103e8427c44d6d3c3273f7f70ad5daeee SHA512 83c5a6c2c547f139cd947c804f646b37f0fbaaa44a53b1cc42366170f91de138d63b5eeb2fa2e37ba9a24cb34c1faeb8e86c09cb08e829aa6d3607931c2eebbf DIST Nuitka-0.6.19.2.tar.gz 3727729 BLAKE2B f74512ab2b57ab66b62e7a67fed8366971fe23103297ab5361685b19408445dac7335e3086f0ce236c7346bcf4d8dfcf828040412e4868e82f06c03e6ea52fd0 SHA512 a92b24168e16054399692d0984dd417b181d2bb920825eabaa64798933b481e188827b5bbae040d329e67b09002b21ce471ce1352b12ac46ab2b8fec97523aa5 +DIST Nuitka-0.6.19.3.tar.gz 3727905 BLAKE2B 7c49bf77100ef28a306bf746b4ba13db07da403ba428b3e770ca3a2efbe384db1f5b66b8858640e2b4cdc5a8034be3f55a57fdc2e175d47bdd24638c379e7afe SHA512 0e9b4805ad2b27338ec03fd121d2787add54795f777b184379eb722e5bff3ce64a64c4802464cb3c11a4be579b03ff89b32995646954a389f1a75fef0069ae12 DIST Nuitka-0.6.19.tar.gz 3739123 BLAKE2B c2e9a6417ff65927c3246849d614fdebb8bcf323b6496dae81f7cef3ab86a22ad21d3fe3eb19c74ea7f228310e3b1b985cea56201efe71c1b0d8ff64998973c0 SHA512 2d8f8c0d95f6d85c7969879ddbe2375ae190bfc1466a21c442e9e109ed7759ecf0bdcc2f29ec8fed5462df52e1b1e69a0e10574d8e7f52b1dfef7f7ae9626c75 diff --git a/dev-python/nuitka/nuitka-0.6.19.3.ebuild b/dev-python/nuitka/nuitka-0.6.19.3.ebuild new file mode 100644 index 000000000000..f2d40b4c0565 --- /dev/null +++ b/dev-python/nuitka/nuitka-0.6.19.3.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit distutils-r1 flag-o-matic optfeature + +DESCRIPTION="Python to native compiler" +HOMEPAGE="https://www.nuitka.net" +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz" +S="${WORKDIR}/${P^}" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~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 "${S}/${PN}/build/inline_copy/lib/scons-2.3.2/SCons" || die + eapply_user +} + +python_install() { + distutils-r1_python_install + python_optimize + 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 +} |