1 |
commit: 3a7606484df69f6880eca6a92ef40bfb99902886 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 22 09:42:33 2022 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 22 09:42:33 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a760648 |
7 |
|
8 |
dev-python/ipywidgets: Remove unnecessary jupyterlab_widgets dep |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
.../{ipywidgets-7.6.5-r1.ebuild => ipywidgets-7.6.5-r2.ebuild} | 7 +++++++ |
13 |
1 file changed, 7 insertions(+) |
14 |
|
15 |
diff --git a/dev-python/ipywidgets/ipywidgets-7.6.5-r1.ebuild b/dev-python/ipywidgets/ipywidgets-7.6.5-r2.ebuild |
16 |
similarity index 81% |
17 |
rename from dev-python/ipywidgets/ipywidgets-7.6.5-r1.ebuild |
18 |
rename to dev-python/ipywidgets/ipywidgets-7.6.5-r2.ebuild |
19 |
index d5960928a26b..ef21542a3c78 100644 |
20 |
--- a/dev-python/ipywidgets/ipywidgets-7.6.5-r1.ebuild |
21 |
+++ b/dev-python/ipywidgets/ipywidgets-7.6.5-r2.ebuild |
22 |
@@ -30,3 +30,10 @@ distutils_enable_tests pytest |
23 |
PATCHES=( |
24 |
"${FILESDIR}/${PN}-7.6.3-py310.patch" |
25 |
) |
26 |
+ |
27 |
+src_prepare() { |
28 |
+ # upstream hack to autoconfigure ipywidgets in jupyter |
29 |
+ # we don't have jupyterlab_widgets packaged |
30 |
+ sed -i -e '/jupyterlab_widgets/d' setup.py || die |
31 |
+ distutils-r1_src_prepare |
32 |
+} |