From b590c8d7572b727d565cc0b8ff660d43569845de Mon Sep 17 00:00:00 2001 From: root Date: Fri, 12 Jun 2026 19:09:37 -0500 Subject: Adding metadata --- dev-python/nbformat/Manifest | 1 + dev-python/nbformat/metadata.xml | 20 +++++++++++++ dev-python/nbformat/nbformat-5.10.4.ebuild | 46 ++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+) create mode 100644 dev-python/nbformat/Manifest create mode 100644 dev-python/nbformat/metadata.xml create mode 100644 dev-python/nbformat/nbformat-5.10.4.ebuild (limited to 'dev-python/nbformat') diff --git a/dev-python/nbformat/Manifest b/dev-python/nbformat/Manifest new file mode 100644 index 000000000000..fca7a424a634 --- /dev/null +++ b/dev-python/nbformat/Manifest @@ -0,0 +1 @@ +DIST nbformat-5.10.4.tar.gz 142749 BLAKE2B 88121046cce0e473597f26cb597b3ae9865849cf05bcb64070b48d8bcf3661a6c7b7b7e6845752ca1467e31dd9da939f208e99f51b873ea12e62b3a605bf375b SHA512 cacec6bca3177958863e7ed860c55498a91507634098adc08b49a3bb43f1158a32b0c029262d44d0f1beb1e795ba7d03753b522120a9aec14514ed8d961d5baa diff --git a/dev-python/nbformat/metadata.xml b/dev-python/nbformat/metadata.xml new file mode 100644 index 000000000000..9b80d1b7cbae --- /dev/null +++ b/dev-python/nbformat/metadata.xml @@ -0,0 +1,20 @@ + + + + + sci@gentoo.org + Gentoo Science Project + + + python@gentoo.org + Python + + + Jupyther nbformat contains the reference implementation of the + Jupyter Notebook format, and Python APIs for working with + notebooks. There is also a JSON schema for notebook format + versions >= 3. + + + baldeagleos-repo + diff --git a/dev-python/nbformat/nbformat-5.10.4.ebuild b/dev-python/nbformat/nbformat-5.10.4.ebuild new file mode 100644 index 000000000000..34afe3ac9996 --- /dev/null +++ b/dev-python/nbformat/nbformat-5.10.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{13..14} ) +PYTHON_REQ_USE='sqlite' + +inherit distutils-r1 pypi + +DESCRIPTION="Reference implementation of the Jupyter Notebook format" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/nbformat/ + https://pypi.org/project/nbformat/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="amd64 arm arm64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86" + +RDEPEND=" + >=dev-python/fastjsonschema-2.15[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}] + >=dev-python/jupyter-core-5.1[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.1[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/hatch-nodejs-version[${PYTHON_USEDEP}] + test? ( + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/myst-parser \ + dev-python/pydata-sphinx-theme \ + dev-python/sphinxcontrib-github-alt \ + dev-python/sphinxcontrib-spelling +distutils_enable_tests pytest + +EPYTEST_IGNORE=( + # requires pep440 package, which is not really relevant for us + tests/test_api.py +) -- cgit v1.3.1