1 |
commit: 3acc063052a8d1d504007a682c8f93fa02fd153c |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 22 07:20:17 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 22 07:20:17 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3acc0630 |
7 |
|
8 |
dev-python/ipywidgets: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.21 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/ipywidgets/ipywidgets-4.0.3.ebuild | 39 +++++++++++++++++++++++++++ |
14 |
1 file changed, 39 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/ipywidgets/ipywidgets-4.0.3.ebuild b/dev-python/ipywidgets/ipywidgets-4.0.3.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..1c796dc |
19 |
--- /dev/null |
20 |
+++ b/dev-python/ipywidgets/ipywidgets-4.0.3.ebuild |
21 |
@@ -0,0 +1,39 @@ |
22 |
+# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI=5 |
27 |
+PYTHON_COMPAT=( python2_7 python{3_3,3_4} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="IPython HTML widgets for Jupyter" |
32 |
+HOMEPAGE="http://ipython.org/" |
33 |
+ |
34 |
+if [ ${PV} == "9999" ] ; then |
35 |
+ inherit git-r3 |
36 |
+ EGIT_REPO_URI="https://github.com/ipython/${PN}.git git://github.com/ipython/${PN}.git" |
37 |
+else |
38 |
+ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
39 |
+ KEYWORDS="~amd64" |
40 |
+fi |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+IUSE="test" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ dev-python/traitlets[${PYTHON_USEDEP}] |
48 |
+ dev-python/ipykernel[${PYTHON_USEDEP}] |
49 |
+ " |
50 |
+DEPEND="${RDEPEND} |
51 |
+ test? ( |
52 |
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) |
53 |
+ dev-python/nose[${PYTHON_USEDEP}] |
54 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
55 |
+ ) |
56 |
+ " |
57 |
+ |
58 |
+python_test() { |
59 |
+ nosetests --with-coverage --cover-package=ipywidgets ipywidgets || die |
60 |
+} |