From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1499781-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 07FE815864F
	for <garchives@archives.gentoo.org>; Fri, 24 Mar 2023 05:12:12 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6B7AEE08F1;
	Fri, 24 Mar 2023 05:12:10 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 55D58E08F1
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Mar 2023 05:12:10 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 6EC53340C98
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Mar 2023 05:12:09 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 12FC5922
	for <gentoo-commits@lists.gentoo.org>; Fri, 24 Mar 2023 05:12:07 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1679632791.a007d8697beb288863aa4f7b47483f69ab323180.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nbconvert/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-python/nbconvert/nbconvert-7.2.10-r1.ebuild dev-python/nbconvert/nbconvert-7.2.10.ebuild
X-VCS-Directories: dev-python/nbconvert/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: a007d8697beb288863aa4f7b47483f69ab323180
X-VCS-Branch: master
Date: Fri, 24 Mar 2023 05:12:07 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 13452e9a-4646-468d-9008-699fd56dc618
X-Archives-Hash: ccdb9b262b3a22b8d6bf409840c91559

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
 }