commit:     030a0dfc7d440b224eca52f479e90c1ef933c558
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 27 07:57:27 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Dec 27 08:36:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=030a0dfc

dev-python/Nuitka: Bump to 1.3.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/Nuitka/Manifest            |  1 +
 dev-python/Nuitka/Nuitka-1.3.3.ebuild | 54 +++++++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+)

diff --git a/dev-python/Nuitka/Manifest b/dev-python/Nuitka/Manifest
index f19b7dedec97..8eec4dab1d2f 100644
--- a/dev-python/Nuitka/Manifest
+++ b/dev-python/Nuitka/Manifest
@@ -2,3 +2,4 @@ DIST Nuitka-1.2.6.tar.gz 3959091 BLAKE2B 
b326409f49d722bcac7df3e2c5caae7fb9ccf2b
 DIST Nuitka-1.2.7.tar.gz 3960368 BLAKE2B 
582ad7f7a96577fd87a4f9fe083d90f532f2ddd7824b4105d258551b559d9390fba428b80223c6ca4d00eda451cc21a63449c7370a3e43d4b7f9a28fc6bba4c9
 SHA512 
37a3c29614102dc80f916ac483a6e87322b7a3b9cf25355bdf2f29d84e33300640607fcb7fdc6a338431bc890b4337512c43368e47a2d69c7254b7b7794bb35b
 DIST Nuitka-1.3.1.tar.gz 4028497 BLAKE2B 
877413970a1e169abe8b9770d927d2e9a33bcd775466adc7287fdcc8f69d412fae249ea96a16aca4166d655f1a016852e06018f55c0b62afe4b53c5b1c540870
 SHA512 
09f8ff13f14af20ee2fa8b80714ff52a3bc2a36658113e122ba383f34e9ca8c27af42b14cb06477e3a2ed2e5dfa60e10295c4f96a209db699719c456518c464d
 DIST Nuitka-1.3.2.tar.gz 4019850 BLAKE2B 
fce2015b1af9e0b93b777982c772aaa903145bc55a5effb68ba581a31f63e34280aace47df8292d2125725dee02c55c1d54580a08d2d8d3a775459edb9807837
 SHA512 
5a1713757a6b1347320accc717a01b2abfb3b815683880845fb35ec92e7c94bd7e011a83bd16ed1ba28d14f4128945bdd89d39b89fe8dc7a59c69e9f127bc4b6
+DIST Nuitka-1.3.3.tar.gz 4028744 BLAKE2B 
864f69dd62e12ef29cc9418ff2bfd646b07ac298458fb97efa4177d1e974dc8bff435637eb61dde6e6f67e38aa22dad3b7d024b4b880379928012a143956f181
 SHA512 
3c59456e4da524a0a9f66d0c3f8ed0221264ca342ba9a9a8d07a4975f3ba14e875e762fe16ff5960dbe4b2c77391636d98e245be9c00e260f2bcd1d177edab67

diff --git a/dev-python/Nuitka/Nuitka-1.3.3.ebuild 
b/dev-python/Nuitka/Nuitka-1.3.3.ebuild
new file mode 100644
index 000000000000..6ba48aa72091
--- /dev/null
+++ b/dev-python/Nuitka/Nuitka-1.3.3.ebuild
@@ -0,0 +1,54 @@
+# 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_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="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
+
+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 "nuitka/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
+}

Reply via email to