dev-python/ipywidgets: Import from science overlay
authorMarius Brehler <marbre@linux.sungazer.de>
Fri, 27 Nov 2015 15:19:04 +0000 (16:19 +0100)
committerMarius Brehler <marbre@linux.sungazer.de>
Fri, 27 Nov 2015 15:19:04 +0000 (16:19 +0100)
Package-Manager: portage-2.2.20.1

dev-python/ipywidgets/Manifest [new file with mode: 0644]
dev-python/ipywidgets/ipywidgets-4.1.1.ebuild [new file with mode: 0644]
dev-python/ipywidgets/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/ipywidgets/Manifest b/dev-python/ipywidgets/Manifest
new file mode 100644 (file)
index 0000000..4905000
--- /dev/null
@@ -0,0 +1 @@
+DIST ipywidgets-4.1.1.tar.gz 321646 SHA256 ceeb325e45ade9537c2d115fed9d522e5c6e90bb161592e2f0807375dc661028 SHA512 53b18ae432f72d3305333e92f488f62bb36f83d37fab59e4d103fb77a7ee266d03b96e6de4ffcc2a0f67d6fd892ed1d984c0b188d6cbd527ff3e950e885a5fe4 WHIRLPOOL e1ccb54416bd48fa451cd84f818595dcbe907a3bda79935d884b6f1f226167559cc24f1390d35f8b9a1e3a9af07da5c755c05e93729e27573d030d7ba2def3c3
diff --git a/dev-python/ipywidgets/ipywidgets-4.1.1.ebuild b/dev-python/ipywidgets/ipywidgets-4.1.1.ebuild
new file mode 100644 (file)
index 0000000..55e3394
--- /dev/null
@@ -0,0 +1,35 @@
+# 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} )
+PYTHON_REQ_USE="threads(+)"
+
+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}]
+       )
+       "
+
+python_test() {
+       nosetests --with-coverage --cover-package=ipywidgets ipywidgets || die
+}
diff --git a/dev-python/ipywidgets/metadata.xml b/dev-python/ipywidgets/metadata.xml
new file mode 100644 (file)
index 0000000..71e3dc1
--- /dev/null
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>sci</herd>
+  <longdescription>
+       Interactive HTML widgets for Jupyter notebooks and the IPython
+       kernel.
+  </longdescription>
+  <upstream>
+    <remote-id type="pypi">ipywidgets</remote-id>
+    <remote-id type="github">ipython/ipywidgets</remote-id>
+  </upstream>
+</pkgmetadata>