1 |
commit: 872435ca0e9d29b58f8702406ce0d643c5c1c212 |
2 |
Author: Sébastien Fabbro <bicatali <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 19 05:55:26 2017 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 26 18:02:03 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=872435ca |
7 |
|
8 |
dev-python/odo: add dependencies |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.1 |
11 |
|
12 |
dev-python/odo/odo-0.5.0-r1.ebuild | 54 ++++++++++++++++++++++++++++++++++++++ |
13 |
1 file changed, 54 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/odo/odo-0.5.0-r1.ebuild b/dev-python/odo/odo-0.5.0-r1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000000..dcb0468a73 |
18 |
--- /dev/null |
19 |
+++ b/dev-python/odo/odo-0.5.0-r1.ebuild |
20 |
@@ -0,0 +1,54 @@ |
21 |
+# Copyright 1999-2017 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Id$ |
24 |
+ |
25 |
+EAPI=6 |
26 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5} ) |
27 |
+ |
28 |
+inherit distutils-r1 |
29 |
+ |
30 |
+DESCRIPTION="Data migration in python" |
31 |
+HOMEPAGE="https://github.com/blaze/odo" |
32 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
33 |
+ |
34 |
+LICENSE="BSD" |
35 |
+SLOT="0" |
36 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
37 |
+IUSE="doc" |
38 |
+ |
39 |
+RDEPEND=" |
40 |
+ >=dev-python/datashape-0.4.6[${PYTHON_USEDEP}] |
41 |
+ >=dev-python/dask-0.11.1[${PYTHON_USEDEP}] |
42 |
+ >=dev-python/multipledispatch-0.4.7[${PYTHON_USEDEP}] |
43 |
+ >=dev-python/numpy-1.7[${PYTHON_USEDEP}] |
44 |
+ >=dev-python/pandas-0.15.0[${PYTHON_USEDEP}] |
45 |
+ >=dev-python/toolz-0.7.3[${PYTHON_USEDEP}] |
46 |
+ dev-python/networkx[${PYTHON_USEDEP}] |
47 |
+" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ doc? ( dev-python/docutils ) |
50 |
+" |
51 |
+# tests need very heavy deps (such as pyspark), skipping for now |
52 |
+ |
53 |
+python_prepare_all() { |
54 |
+ sed -e '/.. toctree::/d' -i docs/source/index.rst|| die |
55 |
+ distutils-r1_python_prepare_all |
56 |
+} |
57 |
+ |
58 |
+python_compile_all() { |
59 |
+ if use doc; then |
60 |
+ pushd docs/source > /dev/null |
61 |
+ mkdir ../build || die |
62 |
+ local i; |
63 |
+ for i in ./* |
64 |
+ do |
65 |
+ rst2html.py $i > ../build/${i/rst/html} || die |
66 |
+ done |
67 |
+ popd > /dev/null |
68 |
+ fi |
69 |
+} |
70 |
+ |
71 |
+python_install_all() { |
72 |
+ use doc && local HTML_DOCS=( docs/build/. ) |
73 |
+ distutils-r1_python_install_all |
74 |
+} |