1 |
commit: a38cf1dc9db85622372cccd86be1512ce99749d4 |
2 |
Author: Justin Lecher <jlec <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 27 09:17:06 2015 +0000 |
4 |
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 27 09:17:06 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a38cf1dc |
7 |
|
8 |
dev-python/ipywidgets: Version Bump |
9 |
|
10 |
Package-Manager: portage-2.2.23 |
11 |
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> |
12 |
|
13 |
dev-python/ipywidgets/ipywidgets-4.1.1.ebuild | 37 +++++++++++++++++++++++++++ |
14 |
1 file changed, 37 insertions(+) |
15 |
|
16 |
diff --git a/dev-python/ipywidgets/ipywidgets-4.1.1.ebuild b/dev-python/ipywidgets/ipywidgets-4.1.1.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..dea538d |
19 |
--- /dev/null |
20 |
+++ b/dev-python/ipywidgets/ipywidgets-4.1.1.ebuild |
21 |
@@ -0,0 +1,37 @@ |
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 |
+ |
28 |
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} ) |
29 |
+ |
30 |
+inherit distutils-r1 |
31 |
+ |
32 |
+DESCRIPTION="IPython HTML widgets for Jupyter" |
33 |
+HOMEPAGE="http://ipython.org/" |
34 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
35 |
+ |
36 |
+LICENSE="BSD" |
37 |
+SLOT="0" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+IUSE="test" |
40 |
+ |
41 |
+RDEPEND=" |
42 |
+ dev-python/traitlets[${PYTHON_USEDEP}] |
43 |
+ dev-python/ipykernel[${PYTHON_USEDEP}] |
44 |
+ " |
45 |
+DEPEND="${RDEPEND} |
46 |
+ test? ( |
47 |
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]' python2_7) |
48 |
+ dev-python/nose[${PYTHON_USEDEP}] |
49 |
+ dev-python/coverage[${PYTHON_USEDEP}] |
50 |
+ www-client/casperjs |
51 |
+ ) |
52 |
+ " |
53 |
+ |
54 |
+python_test() { |
55 |
+ nosetests --with-coverage --cover-package=ipywidgets ipywidgets || die |
56 |
+ |
57 |
+ "${PYTHON}" -m ipywidgets.jstest || die |
58 |
+} |