dev-python/nuitka: add new package

Nuitka ia a Python compiler with full language support and
CPython compatibility.
This Python compiler achieves full language compatibility and
compiles Python code into compiled objects that are not second
class at all. Instead they can be used in the same way as pure
Python objects. Using Nuitka allows one to create C based modules
to be used in larger Python project or a stand alone executable
of a Python code base.

Package-Manager: Portage-2.3.49, Repoman-2.3.11
Signed-off-by: Oz N Tiram <oz.tiram@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10068
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Oz N Tiram
2018-10-15 04:06:13 +02:00
committed by Michał Górny
parent b9a9038ae3
commit 3bbeca687c
3 changed files with 51 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST Nuitka-0.6.0.4.tar.gz 2010373 BLAKE2B 96d31fde6d087bea81051bfcc208d52466b9c45785c2167c61721440fe930906958ee840bb98258c7c1b98c067302049afd63bbf5cfd422a69c1994675c29c70 SHA512 f9a30ad578b80679c0313be84150adff83a90b35c758487fc9f5240d527cf0a905b6257a0dfdf2a2c8c7322688108a6673c56238480344adce123d67416eb197

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Oz Tiram</name>
<email>oz.tiram@gmail.com</email>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
Python compiler with full language support and CPython compatibility
This Python compiler achieves full language compatibility and compiles Python
code into compiled objects that are not second class at all. Instead they can
be used in the same way as pure Python objects.
</longdescription>
<upstream>
<remote-id type="github">pwman3/pwman3</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,29 @@
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_5 python3_6)
inherit distutils-r1
DESCRIPTION="Python to native compiler"
HOMEPAGE="http://www.nuitka.net"
SRC_URI="http://nuitka.net/releases/${P^}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
dev-python/appdirs[${PYTHON_USEDEP}]
dev-util/scons[${PYTHON_USEDEP}]
"
S="${WORKDIR}/${P^}"
pkg_postinst() {
elog "nuitka needs app-admin/chrpath for building"
elog "stand-alone executables"
}