commit: a38cf1dc9db85622372cccd86be1512ce99749d4
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 27 09:17:06 2015 +0000
Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Oct 27 09:17:06 2015 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a38cf1dc
dev-python/ipywidgets: Version Bump
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
dev-python/ipywidgets/ipywidgets-4.1.1.ebuild | 37 +++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/dev-python/ipywidgets/ipywidgets-4.1.1.ebuild
b/dev-python/ipywidgets/ipywidgets-4.1.1.ebuild
new file mode 100644
index 0000000..dea538d
--- /dev/null
+++ b/dev-python/ipywidgets/ipywidgets-4.1.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
+
+inherit distutils-r1
+
+DESCRIPTION="IPython HTML widgets for Jupyter"
+HOMEPAGE="http://ipython.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="
+ dev-python/traitlets[${PYTHON_USEDEP}]
+ dev-python/ipykernel[${PYTHON_USEDEP}]
+ "
+DEPEND="${RDEPEND}
+ test? (
+ $(python_gen_cond_dep 'dev-python/mock[${PYTHON_USEDEP}]'
python2_7)
+ dev-python/nose[${PYTHON_USEDEP}]
+ dev-python/coverage[${PYTHON_USEDEP}]
+ www-client/casperjs
+ )
+ "
+
+python_test() {
+ nosetests --with-coverage --cover-package=ipywidgets ipywidgets || die
+
+ "${PYTHON}" -m ipywidgets.jstest || die
+}