diff options
author | Marius Brehler <marbre@linux.sungazer.de> | 2015-11-27 16:19:04 +0100 |
---|---|---|
committer | Marius Brehler <marbre@linux.sungazer.de> | 2015-11-27 16:19:04 +0100 |
commit | 633b9e3ae85f0e727556282004363947b95db7ff (patch) | |
tree | 116665d5438322f95d0bdcfa94a148684d903bef /dev-python | |
parent | dev-python/ipykernel: Import from science overlay (diff) | |
download | gentoo-633b9e3ae85f0e727556282004363947b95db7ff.tar.gz gentoo-633b9e3ae85f0e727556282004363947b95db7ff.tar.bz2 gentoo-633b9e3ae85f0e727556282004363947b95db7ff.zip |
dev-python/ipywidgets: Import from science overlay
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/ipywidgets/Manifest | 1 | ||||
-rw-r--r-- | dev-python/ipywidgets/ipywidgets-4.1.1.ebuild | 35 | ||||
-rw-r--r-- | dev-python/ipywidgets/metadata.xml | 13 |
3 files changed, 49 insertions, 0 deletions
diff --git a/dev-python/ipywidgets/Manifest b/dev-python/ipywidgets/Manifest new file mode 100644 index 000000000000..4905000a44c3 --- /dev/null +++ b/dev-python/ipywidgets/Manifest @@ -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 index 000000000000..55e339439efb --- /dev/null +++ b/dev-python/ipywidgets/ipywidgets-4.1.1.ebuild @@ -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 index 000000000000..71e3dc194126 --- /dev/null +++ b/dev-python/ipywidgets/metadata.xml @@ -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> |