dev-python/ipywidgets: Import from science overlay

Package-Manager: portage-2.2.20.1
This commit is contained in:
Marius Brehler
2015-11-27 16:19:04 +01:00
parent 24aa65673f
commit 633b9e3ae8
3 changed files with 49 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ipywidgets-4.1.1.tar.gz 321646 SHA256 ceeb325e45ade9537c2d115fed9d522e5c6e90bb161592e2f0807375dc661028 SHA512 53b18ae432f72d3305333e92f488f62bb36f83d37fab59e4d103fb77a7ee266d03b96e6de4ffcc2a0f67d6fd892ed1d984c0b188d6cbd527ff3e950e885a5fe4 WHIRLPOOL e1ccb54416bd48fa451cd84f818595dcbe907a3bda79935d884b6f1f226167559cc24f1390d35f8b9a1e3a9af07da5c755c05e93729e27573d030d7ba2def3c3

View File

@@ -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
}

View File

@@ -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>