1 |
commit: 3bbeca687c64c12a9b978f6e9cdf8e106f2aee36 |
2 |
Author: Oz N Tiram <oz.tiram <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Oct 15 02:06:13 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 22 19:58:50 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3bbeca68 |
7 |
|
8 |
dev-python/nuitka: add new package |
9 |
|
10 |
Nuitka ia a Python compiler with full language support and |
11 |
CPython compatibility. |
12 |
This Python compiler achieves full language compatibility and |
13 |
compiles Python code into compiled objects that are not second |
14 |
class at all. Instead they can be used in the same way as pure |
15 |
Python objects. Using Nuitka allows one to create C based modules |
16 |
to be used in larger Python project or a stand alone executable |
17 |
of a Python code base. |
18 |
|
19 |
Package-Manager: Portage-2.3.49, Repoman-2.3.11 |
20 |
Signed-off-by: Oz N Tiram <oz.tiram <AT> gmail.com> |
21 |
Closes: https://github.com/gentoo/gentoo/pull/10068 |
22 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
23 |
|
24 |
dev-python/nuitka/Manifest | 1 + |
25 |
dev-python/nuitka/metadata.xml | 21 +++++++++++++++++++++ |
26 |
dev-python/nuitka/nuitka-0.6.0.4.ebuild | 29 +++++++++++++++++++++++++++++ |
27 |
3 files changed, 51 insertions(+) |
28 |
|
29 |
diff --git a/dev-python/nuitka/Manifest b/dev-python/nuitka/Manifest |
30 |
new file mode 100644 |
31 |
index 00000000000..d2b989e626f |
32 |
--- /dev/null |
33 |
+++ b/dev-python/nuitka/Manifest |
34 |
@@ -0,0 +1 @@ |
35 |
+DIST Nuitka-0.6.0.4.tar.gz 2010373 BLAKE2B 96d31fde6d087bea81051bfcc208d52466b9c45785c2167c61721440fe930906958ee840bb98258c7c1b98c067302049afd63bbf5cfd422a69c1994675c29c70 SHA512 f9a30ad578b80679c0313be84150adff83a90b35c758487fc9f5240d527cf0a905b6257a0dfdf2a2c8c7322688108a6673c56238480344adce123d67416eb197 |
36 |
|
37 |
diff --git a/dev-python/nuitka/metadata.xml b/dev-python/nuitka/metadata.xml |
38 |
new file mode 100644 |
39 |
index 00000000000..a082b06e69c |
40 |
--- /dev/null |
41 |
+++ b/dev-python/nuitka/metadata.xml |
42 |
@@ -0,0 +1,21 @@ |
43 |
+<?xml version="1.0" encoding="UTF-8"?> |
44 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
45 |
+<pkgmetadata> |
46 |
+<maintainer type="person"> |
47 |
+ <name>Oz Tiram</name> |
48 |
+ <email>oz.tiram@×××××.com</email> |
49 |
+</maintainer> |
50 |
+<maintainer type="project"> |
51 |
+ <email>proxy-maint@g.o</email> |
52 |
+ <name>Proxy Maintainers</name> |
53 |
+</maintainer> |
54 |
+<longdescription lang="en"> |
55 |
+ Python compiler with full language support and CPython compatibility |
56 |
+ This Python compiler achieves full language compatibility and compiles Python |
57 |
+ code into compiled objects that are not second class at all. Instead they can |
58 |
+ be used in the same way as pure Python objects. |
59 |
+</longdescription> |
60 |
+<upstream> |
61 |
+ <remote-id type="github">pwman3/pwman3</remote-id> |
62 |
+</upstream> |
63 |
+</pkgmetadata> |
64 |
|
65 |
diff --git a/dev-python/nuitka/nuitka-0.6.0.4.ebuild b/dev-python/nuitka/nuitka-0.6.0.4.ebuild |
66 |
new file mode 100644 |
67 |
index 00000000000..f90b0932749 |
68 |
--- /dev/null |
69 |
+++ b/dev-python/nuitka/nuitka-0.6.0.4.ebuild |
70 |
@@ -0,0 +1,29 @@ |
71 |
+# Copyright 1999-2018 Gentoo Authors |
72 |
+# Distributed under the terms of the GNU General Public License v2 |
73 |
+ |
74 |
+EAPI=6 |
75 |
+ |
76 |
+PYTHON_COMPAT=( python2_7 python3_5 python3_6) |
77 |
+inherit distutils-r1 |
78 |
+ |
79 |
+DESCRIPTION="Python to native compiler" |
80 |
+HOMEPAGE="http://www.nuitka.net" |
81 |
+SRC_URI="http://nuitka.net/releases/${P^}.tar.gz" |
82 |
+ |
83 |
+LICENSE="Apache-2.0" |
84 |
+SLOT="0" |
85 |
+KEYWORDS="~amd64 ~x86" |
86 |
+ |
87 |
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
88 |
+ |
89 |
+RDEPEND="${DEPEND} |
90 |
+ dev-python/appdirs[${PYTHON_USEDEP}] |
91 |
+ dev-util/scons[${PYTHON_USEDEP}] |
92 |
+ " |
93 |
+ |
94 |
+S="${WORKDIR}/${P^}" |
95 |
+ |
96 |
+pkg_postinst() { |
97 |
+ elog "nuitka needs app-admin/chrpath for building" |
98 |
+ elog "stand-alone executables" |
99 |
+} |