diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-10-28 08:32:52 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-10-28 09:08:55 +0200 |
commit | 54e7c5ec24ffb8e690002c1b379364b4c74829ff (patch) | |
tree | 54d5e3db26dd97a86a3e767740051a3fdd58b95e /dev-python | |
parent | dev-python/Levenshtein: Bump to 0.20.8 (diff) | |
download | gentoo-54e7c5ec24ffb8e690002c1b379364b4c74829ff.tar.gz gentoo-54e7c5ec24ffb8e690002c1b379364b4c74829ff.tar.bz2 gentoo-54e7c5ec24ffb8e690002c1b379364b4c74829ff.zip |
dev-python/nuitka: Bump to 1.1.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/nuitka/Manifest | 1 | ||||
-rw-r--r-- | dev-python/nuitka/nuitka-1.1.7.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest index 63d184e666f0..4293c54e9097 100644 --- a/dev-python/nuitka/Manifest +++ b/dev-python/nuitka/Manifest @@ -1,2 +1,3 @@ DIST Nuitka-1.1.5.tar.gz 3920916 BLAKE2B 7352009df91e39c63073e8230065af990c86d07cf51752ceaf234e4e8b5814d085ee7423440dc5bb8ca63341f7e1eccdbd41631711ebcfac481bcb3645c011f2 SHA512 ef88b98341cb930529d6e31bb487cf3bb8c217dd9b8a8b50c8e5b147f0b4879a17f2d6c7621a056ad3f1ffd15ac88781445bc0dc8dc164a38aea83b43a6bf3c7 DIST Nuitka-1.1.6.tar.gz 3923364 BLAKE2B 680496486121ff17bb8bded93ea3be79c65cc7d1eb8352a29699e3f0c9f6cec75c83f1018b58f837dc181668cb3d5f7574f8c6ded80d9727c396d5caad2896a2 SHA512 8bdf4ed2bf15ff0d5ab88f3df151c219822a718d7c5244075ffef1822467861030875fa508eb861825fab030232f041f0baf7e719eba0f82ae1d9ace224eb749 +DIST Nuitka-1.1.7.tar.gz 3929202 BLAKE2B 06576f89b1abb0f062b621c5889cb78f6e0b18c9a8c9ca436ddba33c42d61ca8c1c0bed8f439f3d03e69da24b49c4175c97248ef5563d770a7fb3d4cd7592995 SHA512 6bf3d285e041a5aadd31057b35ecb3b4b9046390a86755b10e97fae7b6aa147c4271c4f1c6cbf98e3d48f37fac98e19c94a053b0d31fa17a4f34d80a1b844c36 diff --git a/dev-python/nuitka/nuitka-1.1.7.ebuild b/dev-python/nuitka/nuitka-1.1.7.ebuild new file mode 100644 index 000000000000..b55f0385d58a --- /dev/null +++ b/dev-python/nuitka/nuitka-1.1.7.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 flag-o-matic optfeature + +DESCRIPTION="Python to native compiler" +HOMEPAGE=" + https://www.nuitka.net/ + https://github.com/Nuitka/Nuitka/ + https://pypi.org/project/Nuitka/ +" +SRC_URI="https://nuitka.net/releases/${P^}.tar.gz" +S=${WORKDIR}/${P^} + +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 "${PN}/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 +} |