dev-python/nuitka: add new package
authorOz N Tiram <oz.tiram@gmail.com>
Mon, 15 Oct 2018 02:06:13 +0000 (04:06 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 22 Oct 2018 19:58:50 +0000 (21:58 +0200)
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>
dev-python/nuitka/Manifest [new file with mode: 0644]
dev-python/nuitka/metadata.xml [new file with mode: 0644]
dev-python/nuitka/nuitka-0.6.0.4.ebuild [new file with mode: 0644]

diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest
new file mode 100644 (file)
index 0000000..d2b989e
--- /dev/null
@@ -0,0 +1 @@
+DIST Nuitka-0.6.0.4.tar.gz 2010373 BLAKE2B 96d31fde6d087bea81051bfcc208d52466b9c45785c2167c61721440fe930906958ee840bb98258c7c1b98c067302049afd63bbf5cfd422a69c1994675c29c70 SHA512 f9a30ad578b80679c0313be84150adff83a90b35c758487fc9f5240d527cf0a905b6257a0dfdf2a2c8c7322688108a6673c56238480344adce123d67416eb197
diff --git a/dev-python/nuitka/metadata.xml b/dev-python/nuitka/metadata.xml
new file mode 100644 (file)
index 0000000..a082b06
--- /dev/null
@@ -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>
diff --git a/dev-python/nuitka/nuitka-0.6.0.4.ebuild b/dev-python/nuitka/nuitka-0.6.0.4.ebuild
new file mode 100644 (file)
index 0000000..f90b093
--- /dev/null
@@ -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"
+}