1 |
commit: f313b66617ab4835e4d9106b4d2a375c70bcc136 |
2 |
Author: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 4 20:47:23 2019 +0000 |
4 |
Commit: Virgil Dupras <vdupras <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 4 22:58:04 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f313b666 |
7 |
|
8 |
dev-python/ipywidgets: drop py2 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/685040 |
11 |
Signed-off-by: Virgil Dupras <vdupras <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.62, Repoman-2.3.11 |
13 |
|
14 |
dev-python/ipywidgets/ipywidgets-7.4.2-r1.ebuild | 34 ++++++++++++++++++++++++ |
15 |
1 file changed, 34 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/ipywidgets/ipywidgets-7.4.2-r1.ebuild b/dev-python/ipywidgets/ipywidgets-7.4.2-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..e93864a23ee |
20 |
--- /dev/null |
21 |
+++ b/dev-python/ipywidgets/ipywidgets-7.4.2-r1.ebuild |
22 |
@@ -0,0 +1,34 @@ |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+PYTHON_COMPAT=( python3_{5,6,7} ) |
29 |
+PYTHON_REQ_USE="threads(+)" |
30 |
+ |
31 |
+inherit distutils-r1 |
32 |
+ |
33 |
+DESCRIPTION="IPython HTML widgets for Jupyter" |
34 |
+HOMEPAGE="https://ipywidgets.readthedocs.io/" |
35 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
36 |
+ |
37 |
+LICENSE="BSD" |
38 |
+SLOT="0" |
39 |
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
40 |
+IUSE="test" |
41 |
+ |
42 |
+RDEPEND=" |
43 |
+ >=dev-python/ipykernel-4.5.1[${PYTHON_USEDEP}] |
44 |
+ >=dev-python/nbformat-4.2.0[${PYTHON_USEDEP}] |
45 |
+ >=dev-python/traitlets-4.3.1[${PYTHON_USEDEP}] |
46 |
+ >=dev-python/widgetsnbextension-3.4.2[${PYTHON_USEDEP}] |
47 |
+" |
48 |
+DEPEND="${RDEPEND} |
49 |
+ test? ( |
50 |
+ dev-python/nose[${PYTHON_USEDEP}] |
51 |
+ ) |
52 |
+" |
53 |
+ |
54 |
+python_test() { |
55 |
+ nosetests ipywidgets || die |
56 |
+} |