commit:     a007d8697beb288863aa4f7b47483f69ab323180
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 24 04:38:25 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 24 04:39:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a007d869

dev-python/nbconvert: drop dev-python/nbclassic BDEPEND (fixes circular dep)

Obsolete as of https://github.com/jupyter/nbconvert/issues/1896 which includes
the needed CSS.

When poking at this, before discovering the above, I did wonder note we _might_
be able to change jupyter_server's dep on nbconvert to a PDEPEND, but that's not
necessary now, I hope.

For completeness, the circular dep was:
```
(dev-python/jupyter-server-2.4.0:0/0::gentoo, ebuild scheduled for merge) 
depends on
 (dev-python/nbconvert-7.2.10:0/0::gentoo, ebuild scheduled for merge) (runtime)
  (dev-python/nbclassic-0.5.3-r1:0/0::gentoo, ebuild scheduled for merge) 
(buildtime)
   (dev-python/notebook_shim-0.2.2-r1:0/0::gentoo, ebuild scheduled for merge) 
(runtime)
    (dev-python/jupyter-server-2.4.0:0/0::gentoo, ebuild scheduled for merge) 
(runtime)
```

See also 0d1d3a549f20fdb06ce50445f08e580cc85d44ed and 
2d0a6129d9523e22012e0c5a6362d27862cf0705.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{nbconvert-7.2.10.ebuild => nbconvert-7.2.10-r1.ebuild}      | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/dev-python/nbconvert/nbconvert-7.2.10.ebuild 
b/dev-python/nbconvert/nbconvert-7.2.10-r1.ebuild
similarity index 92%
rename from dev-python/nbconvert/nbconvert-7.2.10.ebuild
rename to dev-python/nbconvert/nbconvert-7.2.10-r1.ebuild
index c0bab77f21e6..081c72731e11 100644
--- a/dev-python/nbconvert/nbconvert-7.2.10.ebuild
+++ b/dev-python/nbconvert/nbconvert-7.2.10-r1.ebuild
@@ -40,7 +40,6 @@ RDEPEND="
        >=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}]
 "
 BDEPEND="
-       dev-python/nbclassic[${PYTHON_USEDEP}]
        test? (
                dev-python/ipykernel[${PYTHON_USEDEP}]
                >=dev-python/ipywidgets-7[${PYTHON_USEDEP}]
@@ -58,14 +57,6 @@ src_prepare() {
        distutils-r1_src_prepare
 }
 
-python_configure() {
-       local src=$(
-               "${EPYTHON}" -c "import nbclassic as m; print(*m.__path__)" || 
die
-       )
-       cp "${src}/static/style/style.min.css" \
-               share/templates/classic/static/style.css || die
-}
-
 src_test() {
        virtx distutils-r1_src_test
 }

Reply via email to