public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/nbconvert/
Date: Wed, 26 Jul 2023 06:03:58 +0000 (UTC)	[thread overview]
Message-ID: <1690351418.3a9b83b49853c89396c2c6cbbd284456c881d4d7.mgorny@gentoo> (raw)

commit:     3a9b83b49853c89396c2c6cbbd284456c881d4d7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 26 05:13:07 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul 26 06:03:38 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a9b83b4

dev-python/nbconvert: Bump to 7.7.3

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/nbconvert/Manifest               |  1 +
 dev-python/nbconvert/nbconvert-7.7.3.ebuild | 93 +++++++++++++++++++++++++++++
 2 files changed, 94 insertions(+)

diff --git a/dev-python/nbconvert/Manifest b/dev-python/nbconvert/Manifest
index 8432736d34d2..dc880022501d 100644
--- a/dev-python/nbconvert/Manifest
+++ b/dev-python/nbconvert/Manifest
@@ -1,2 +1,3 @@
 DIST nbconvert-7.6.0.tar.gz 886726 BLAKE2B 9623b10adf08f06921c7b162018a747ef02e47a99c9663261247af2ee895ca66d310c42bcfb8717009b8fd9e8da4a088c5d8369f0ebe5a570a1439d3ea0db37e SHA512 70870b875c0045796004ada5ea3ec5402339392419919c11f2713f07cb0f35605f8902a1e965706c13b972fa4d7785d4941834bd9565e3b3c8afde2a9d2868c9
 DIST nbconvert-7.7.2.tar.gz 849694 BLAKE2B 20fb4f9385e5c0d7288974b1c2fb76529b48ac32a21a786e06844d001dfda94643250e54d484809d02c056378429b352ef17559790197305fdeffbe27722d1b2 SHA512 9a92efa3522eb38f975db82a5ea4559833cf30bb65c03f1a2895bc7e4f95c691aca3a8f8e48b0105e44e8428062ee82883480655442ca5fb215b48df45937a09
+DIST nbconvert-7.7.3.tar.gz 849762 BLAKE2B a887fc2bbb7978fdcabbaa46ea391a9b42ba904609ee0a67fc59f1d66373ee2d4cc6328b4c39a7deb77f5bb87c503dc61f7c3a5ce04e36a8149fe7ece42fab46 SHA512 8b6f5b05c89e4931716ecd7de1d16be54284a0c5699439f896f9c08bf3d88f930e6e6cf2fa688132a6c7b93ccd11be9526cc08732d4c28ccf3854f402e21fe82

diff --git a/dev-python/nbconvert/nbconvert-7.7.3.ebuild b/dev-python/nbconvert/nbconvert-7.7.3.ebuild
new file mode 100644
index 000000000000..8243caec62c7
--- /dev/null
+++ b/dev-python/nbconvert/nbconvert-7.7.3.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit distutils-r1 multiprocessing pypi virtualx
+
+DESCRIPTION="Converting Jupyter Notebooks"
+HOMEPAGE="
+	https://nbconvert.readthedocs.io/
+	https://github.com/jupyter/nbconvert/
+	https://pypi.org/project/nbconvert/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+	dev-python/beautifulsoup4[${PYTHON_USEDEP}]
+	dev-python/bleach[${PYTHON_USEDEP}]
+	dev-python/defusedxml[${PYTHON_USEDEP}]
+	>=dev-python/jinja-3.0[${PYTHON_USEDEP}]
+	>=dev-python/jupyter-core-4.7[${PYTHON_USEDEP}]
+	dev-python/jupyterlab-pygments[${PYTHON_USEDEP}]
+	>=dev-python/markupsafe-2.0[${PYTHON_USEDEP}]
+	<dev-python/mistune-4[${PYTHON_USEDEP}]
+	>=dev-python/nbclient-0.5.0[${PYTHON_USEDEP}]
+	>=dev-python/nbformat-5.7[${PYTHON_USEDEP}]
+	dev-python/packaging[${PYTHON_USEDEP}]
+	>=dev-python/pandocfilters-1.4.1[${PYTHON_USEDEP}]
+	>=dev-python/pygments-2.4.1[${PYTHON_USEDEP}]
+	dev-python/tinycss2[${PYTHON_USEDEP}]
+	>=dev-python/traitlets-5.1.1[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		dev-python/ipykernel[${PYTHON_USEDEP}]
+		>=dev-python/ipywidgets-7[${PYTHON_USEDEP}]
+		dev-python/flaky[${PYTHON_USEDEP}]
+		dev-python/pytest-xdist[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+	mkdir -p share/templates/classic/static || die
+	# tries to refetch stuff even if it's already present
+	sed -e 's:css = .*:raise PermissionError("You shall not fetch!"):' \
+		-i hatch_build.py || die
+	distutils-r1_src_prepare
+}
+
+src_test() {
+	virtx distutils-r1_src_test
+}
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		# Missing pyppeteer for now
+		# TODO: Doesn't skip?
+		nbconvert/exporters/tests/test_webpdf.py
+		# Needs pyppeteer too
+		'nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_webpdf_with_chromium'
+		# TODO
+		nbconvert/exporters/tests/test_qtpng.py::TestQtPNGExporter::test_export
+		nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_convert_full_qualified_name
+		nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_post_processor
+		# latex failing, might be too new pandoc
+		nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_filename_spaces
+		nbconvert/tests/test_nbconvertapp.py::TestNbConvertApp::test_pdf
+		# too new pandoc but we don't have old anymore
+		nbconvert/utils/tests/test_pandoc.py::TestPandoc::test_minimal_version
+		nbconvert/utils/tests/test_pandoc.py::TestPandoc::test_pandoc_available
+		# crazy qtweb* stuff, perhaps permissions
+		nbconvert/exporters/tests/test_qtpdf.py::TestQtPDFExporter::test_export
+	)
+
+	# virtx implies nonfatal, make it explicit to avoid confusion
+	nonfatal epytest -n "$(makeopts_jobs)" --pyargs nbconvert || die
+}
+
+pkg_postinst() {
+	if ! has_version virtual/pandoc; then
+		einfo "Pandoc is required for converting to formats other than Python,"
+		einfo "HTML, and Markdown. If you need this functionality, install"
+		einfo "app-text/pandoc or app-text/pandoc-bin."
+	fi
+}


             reply	other threads:[~2023-07-26  6:04 UTC|newest]

Thread overview: 182+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-26  6:03 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-12 10:36 [gentoo-commits] repo/gentoo:master commit in: dev-python/nbconvert/ Michał Górny
2024-05-17  9:49 Michał Górny
2024-05-17  8:27 Arthur Zamarin
2024-04-30  5:02 Michał Górny
2024-04-06 12:37 Michał Górny
2024-04-06 10:02 Arthur Zamarin
2024-03-22  4:38 Michał Górny
2024-03-21 17:51 Arthur Zamarin
2024-03-05  5:18 Michał Górny
2024-02-20  9:09 Michał Górny
2024-02-20  7:55 Sam James
2024-02-19 15:51 Michał Górny
2024-02-08  4:22 Michał Górny
2024-02-06  3:07 Michał Górny
2024-02-03 11:44 Michał Górny
2024-02-03 10:42 Michał Górny
2024-02-03 10:10 Arthur Zamarin
2024-01-18 18:46 Michał Górny
2024-01-18 18:23 Arthur Zamarin
2024-01-16 17:30 Michał Górny
2024-01-11 15:24 Michał Górny
2024-01-06  9:54 Michał Górny
2024-01-06  9:50 Michał Górny
2024-01-02  5:07 Michał Górny
2023-12-22  8:30 Michał Górny
2023-12-20 15:56 Michał Górny
2023-12-20 15:51 Michał Górny
2023-12-18 17:07 Michał Górny
2023-12-05  7:33 Arthur Zamarin
2023-11-29 10:30 Michał Górny
2023-11-29 10:26 Michał Górny
2023-11-20 15:02 Michał Górny
2023-11-10  5:47 Viorel Munteanu
2023-11-07 15:19 Michał Górny
2023-11-05 20:58 Michał Górny
2023-11-05 19:20 Arthur Zamarin
2023-10-30 18:10 Michał Górny
2023-10-24 17:51 Michał Górny
2023-10-05  2:58 Michał Górny
2023-10-04 17:43 Michał Górny
2023-09-17  4:44 Michał Górny
2023-09-16 22:58 Sam James
2023-08-30  3:15 Michał Górny
2023-08-19 18:28 Michał Górny
2023-08-19 18:03 Arthur Zamarin
2023-08-17  8:36 Michał Górny
2023-07-24 12:42 Michał Górny
2023-07-20 10:47 Andrew Ammerlaan
2023-07-19 11:10 Michał Górny
2023-07-18  6:03 Michał Górny
2023-06-20  5:38 Michał Górny
2023-06-12  4:28 Sam James
2023-06-08 22:35 Sam James
2023-05-08 19:31 Arthur Zamarin
2023-05-03  5:20 Michał Górny
2023-05-02 20:11 Sam James
2023-04-28 15:25 Arthur Zamarin
2023-04-14 19:43 Sam James
2023-04-11  3:14 Michał Górny
2023-04-06  4:02 WANG Xuerui
2023-04-04  4:48 Michał Górny
2023-03-31 20:59 Sam James
2023-03-31 17:23 Arthur Zamarin
2023-03-31 17:23 Arthur Zamarin
2023-03-24  5:12 Sam James
2023-03-15 20:54 Arthur Zamarin
2023-03-14 19:49 Sam James
2023-03-14 17:23 Michał Górny
2023-02-13  6:07 Michał Górny
2023-02-12 20:24 Jakov Smolić
2023-01-24 18:14 Michał Górny
2023-01-17  5:08 Michał Górny
2023-01-05 14:21 Michał Górny
2022-12-20 20:03 Andrew Ammerlaan
2022-11-06  7:59 Michał Górny
2022-11-06  7:25 Sam James
2022-10-27  9:48 Andrew Ammerlaan
2022-10-07 13:07 Michał Górny
2022-10-07 12:16 Arthur Zamarin
2022-10-07 12:16 Arthur Zamarin
2022-10-05  9:41 Michał Górny
2022-09-25 18:15 Arthur Zamarin
2022-09-25  1:27 Sam James
2022-09-16 18:50 Arthur Zamarin
2022-09-16 18:07 Arthur Zamarin
2022-09-14 22:10 Sam James
2022-09-14  7:48 Agostino Sarubbo
2022-09-12 19:13 Arthur Zamarin
2022-09-12  9:55 Sam James
2022-09-12  4:36 Jakov Smolić
2022-09-07  7:51 Michał Górny
2022-09-04  8:05 Michał Górny
2022-08-27  8:40 Agostino Sarubbo
2022-08-26 23:29 Sam James
2022-08-26 23:27 Sam James
2022-08-26 19:12 Arthur Zamarin
2022-08-26 19:12 Arthur Zamarin
2022-08-26 19:11 Arthur Zamarin
2022-08-12 11:23 Arthur Zamarin
2022-08-11  9:59 Michał Górny
2022-08-01 14:18 Jakov Smolić
2022-08-01 14:17 Jakov Smolić
2022-07-27  5:22 Sam James
2022-07-20 22:04 Sam James
2022-07-05 19:28 Arthur Zamarin
2022-07-05  2:30 Sam James
2022-06-12 14:54 Michał Górny
2022-06-12 14:52 Sam James
2022-05-27  6:10 Michał Górny
2022-05-27  6:10 Michał Górny
2022-04-16  8:10 Arthur Zamarin
2022-04-16  5:08 Arthur Zamarin
2022-04-15 17:19 Arthur Zamarin
2022-04-15 15:26 Arthur Zamarin
2022-04-11 16:07 Michał Górny
2022-03-31 21:14 Arthur Zamarin
2022-03-29  8:33 Michał Górny
2022-03-18  9:54 Arthur Zamarin
2022-03-14 17:04 Michał Górny
2022-03-05  8:16 Michał Górny
2022-03-05  0:05 Sam James
2022-02-27  9:35 Michał Górny
2022-02-10  7:58 Michał Górny
2022-01-22 23:16 Sam James
2022-01-04 20:44 Arthur Zamarin
2021-12-02  8:12 Michał Górny
2021-12-02  1:01 Sam James
2021-11-26 15:33 Arthur Zamarin
2021-11-26  1:06 Sam James
2021-11-18  8:10 Sam James
2021-11-18  5:36 Sam James
2021-11-14 20:35 Sam James
2021-11-14  3:43 Sam James
2021-11-12 20:03 Michał Górny
2021-10-16  9:46 Sam James
2021-09-25  7:45 Michał Górny
2021-09-06  0:18 Sam James
2021-07-12  6:41 Sam James
2021-07-11 10:14 Georgy Yakovlev
2021-07-01 17:53 Michał Górny
2021-07-01 17:53 Michał Górny
2021-06-20  1:45 Sam James
2020-11-04  7:34 Michał Górny
2020-11-04  1:02 Sam James
2020-10-25 21:48 Sam James
2020-10-25 21:34 Thomas Deutschmann
2020-10-03 21:21 Michał Górny
2020-09-23 17:24 Michał Górny
2020-09-22  7:21 Michał Górny
2020-09-20 20:33 Michał Górny
2020-09-18 23:56 Sam James
2020-09-18 15:30 Michał Górny
2020-09-17  8:34 Michał Górny
2020-09-13  7:31 Michał Górny
2020-09-11  7:17 Michał Górny
2020-09-05 15:25 Sam James
2020-09-05  7:24 Michał Górny
2020-09-02  9:12 Michał Górny
2020-07-31  0:50 Sam James
2020-07-07 20:01 Michał Górny
2020-06-10  8:11 Michał Górny
2020-06-10  7:01 Michał Górny
2020-06-10  6:42 Michał Górny
2020-06-10  6:42 Michał Górny
2020-06-10  5:51 Michał Górny
2020-06-09 15:14 Michał Górny
2020-06-09  8:19 Michał Górny
2020-06-09  8:19 Michał Górny
2019-05-09 15:30 Virgil Dupras
2019-05-04 22:58 Virgil Dupras
2018-05-16 12:28 Agostino Sarubbo
2018-04-22  1:35 Thomas Deutschmann
2017-08-19 22:39 Sebastien Fabbro
2017-06-23 19:26 Alexis Ballier
2017-03-12 12:31 Zac Medico
2017-01-04 10:15 David Seifert
2016-10-31  8:27 David Seifert
2016-05-29 14:54 David Seifert
2016-05-22 17:21 Justin Lecher
2015-11-28 17:33 Justin Lecher
2015-11-28 17:33 Justin Lecher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1690351418.3a9b83b49853c89396c2c6cbbd284456c881d4d7.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox