diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-21 01:52:56 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-21 01:52:56 +0000 |
commit | b46782805d0eed36ce9685f7e9abf25671f24d7d (patch) | |
tree | 4b7992f7355b710c35a7c4bfff9b57eb64e4c8b5 /dev-python/nbformat | |
parent | d4d7098dcb2f9dd257109bbcb55fd40beda1b78d (diff) |
gentoo auto-resync : 21:12:2022 - 01:52:55
Diffstat (limited to 'dev-python/nbformat')
-rw-r--r-- | dev-python/nbformat/Manifest | 3 | ||||
-rw-r--r-- | dev-python/nbformat/files/nbformat-5.7.1-no-node.patch | 27 | ||||
-rw-r--r-- | dev-python/nbformat/nbformat-5.7.1.ebuild | 47 |
3 files changed, 77 insertions, 0 deletions
diff --git a/dev-python/nbformat/Manifest b/dev-python/nbformat/Manifest index 6714ca789bf5..f6d1bf9f0c78 100644 --- a/dev-python/nbformat/Manifest +++ b/dev-python/nbformat/Manifest @@ -1,3 +1,6 @@ +AUX nbformat-5.7.1-no-node.patch 719 BLAKE2B d9a30c5cc917f6056e73a90f2300d15aa57d666f79d7185fed2ba092438c00f0bda307b1f0e4d2ca1429bf17a8a44475847aa98292c94fa5bcb911d868fcadab SHA512 2b52e2bf94155460f7963037119078301ed96d6b838d0f639f4775d6b10ee73ab05ebdc381eb020fdab01517f9b92d32dd2f45d7d614e783c221da937e4cb3dc DIST nbformat-5.4.0.gh.tar.gz 134574 BLAKE2B f61275ad501381f05dc22a79f24c175fa71610f09cf125a40aaa90d0e02d3b27d82d918c1036b0516d4f879609f65c1ce62de86b033012e25d353af453828b2e SHA512 f601438193bfcb11f1ceed74995ab6862ff8c916f9bddabe38fd70bb997f4407bede4318ae7034d75424b20b75846010ddda2a45b8fe8de6dd9310617b00fb9d +DIST nbformat-5.7.1.tar.gz 139291 BLAKE2B 680952ef35235021b36357babd98c94656d96888e1e5e01ecf35ce3233d51f751a60c964f0675fbad18242db8a1adb9fce2bbc512cefc4e30c254492584956c3 SHA512 248640ee23aae83c9c2b18502369d99c317447d40e5b3dc790260d21eda8ef027a7eca9ded34b98c7b17be7fe4b4401c556dbb9d4b0be80d4e4bff10a17381ce EBUILD nbformat-5.4.0.ebuild 940 BLAKE2B 5fd1fa48a1ca19f67951b24718f64494064cd004c4bc057d0fbe7fa0650b1929c0b76f277b315384b01e0b392d4db7d86e091edf635367a4e732fec89ef16ab1 SHA512 ddddddab685492ef580ca2a6a1c796e9f69a88b802b3c78737d1023ac919976f1f31ae981cd9eedd3b3ff39b1bf96380a423bb3b8923a997ed8d02d32ec97713 +EBUILD nbformat-5.7.1.ebuild 1057 BLAKE2B 66392c1e25e8b7189a80259214b87ffa5b5e2c7566b90c37b167719866494c0fd65bfe1c1875c9c647c2f40bd00f13ea2fc243113485926c3f3d883eb82edc86 SHA512 5dc03bc5300587bcdd526dfa8018933a0ed10543371354ca5a92cce19391a2c47bb60d109318516fe7ebb794dd3cbc92f94b52897ce0b5f0fb0ec828d2158022 MISC metadata.xml 780 BLAKE2B d44b94d8d10d01e2b8f465b6a0351308e7c219295f34713ea2f26f0cc1c9ee4c156bae3a33977a8adc0bd2cef177d468a5221d0d7a5bce946bcd3aa1a1ff0623 SHA512 0d15f8e0ef1d3f675cfabd0a9d4db7a8844be4ae1c9ff06825bc9a0771ef7e2430d1ff66a3ded9ee64df42ab4277c3eba65ed256d6a672cad20154272a0a2c96 diff --git a/dev-python/nbformat/files/nbformat-5.7.1-no-node.patch b/dev-python/nbformat/files/nbformat-5.7.1-no-node.patch new file mode 100644 index 000000000000..e88cc8cdd522 --- /dev/null +++ b/dev-python/nbformat/files/nbformat-5.7.1-no-node.patch @@ -0,0 +1,27 @@ +diff --git a/pyproject.toml b/pyproject.toml +index e30d156..97e57de 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -1,10 +1,10 @@ + [build-system] +-requires = ["hatchling>=1.5", "hatch-nodejs-version"] ++requires = ["hatchling>=1.5"] + build-backend = "hatchling.build" + + [project] + name = "nbformat" +-dynamic = ["version"] ++version = "5.7.1" + description = "The Jupyter Notebook format" + license = { file = "COPYING.md" } + keywords = ["Interactive", "Interpreter", "Shell", "Web"] +@@ -58,9 +58,6 @@ test = [ + [project.scripts] + jupyter-trust = "nbformat.sign:TrustNotebookApp.launch_instance" + +-[tool.hatch.version] +-source = "nodejs" +- + [tool.hatch.envs.docs] + features = ["docs"] + [tool.hatch.envs.docs.scripts] diff --git a/dev-python/nbformat/nbformat-5.7.1.ebuild b/dev-python/nbformat/nbformat-5.7.1.ebuild new file mode 100644 index 000000000000..2aea4d3d8c3f --- /dev/null +++ b/dev-python/nbformat/nbformat-5.7.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE='sqlite' + +inherit distutils-r1 + +DESCRIPTION="Reference implementation of the Jupyter Notebook format" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/nbformat/ + https://pypi.org/project/nbformat/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" + +RDEPEND=" + dev-python/fastjsonschema[${PYTHON_USEDEP}] + >=dev-python/jsonschema-2.6[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.1[${PYTHON_USEDEP}] + dev-python/jupyter_core[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/testpath[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs \ + dev-python/numpydoc +distutils_enable_tests pytest + +PATCHES=( + "${FILESDIR}/${P}-no-node.patch" +) + +EPYTEST_IGNORE=( + # requires pep440 package, which is not really relevant for us + tests/test_api.py +) |