diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-06 12:28:43 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-06 12:28:43 +0100 |
commit | 8bf02d8edf7e8947a205e2dca77bee4c4e31739b (patch) | |
tree | 3711c04de0185e8d4835ac527c634e0d4893ad7e /dev-python/nbdime | |
parent | 5d93bae2c1576ab817f482024a6d47592829407b (diff) |
gentoo auto-resync : 06:09:2024 - 12:28:42
Diffstat (limited to 'dev-python/nbdime')
-rw-r--r-- | dev-python/nbdime/Manifest | 2 | ||||
-rw-r--r-- | dev-python/nbdime/nbdime-4.0.2.ebuild | 63 |
2 files changed, 65 insertions, 0 deletions
diff --git a/dev-python/nbdime/Manifest b/dev-python/nbdime/Manifest index 5aabe36a26e4..e3a1f525467e 100644 --- a/dev-python/nbdime/Manifest +++ b/dev-python/nbdime/Manifest @@ -1,3 +1,5 @@ DIST nbdime-4.0.1.tar.gz 9414125 BLAKE2B bf2581cec0f71ef8949c9cf19e21aa47302b6c71bbb9861e8c6f3a4b1921e9f73460ee5059e5bc92c7789d8f0695329125725c10e10763dd6e4d388bfaee53d1 SHA512 df14dfe9df296d71eb4a98140fe15703ca277063a153c3159cc883c99ce98b76f5f4dae24d32b048a18d2530e52535e3d89523d7a1c54a8654d2d54c8812ded3 +DIST nbdime-4.0.2.tar.gz 9452967 BLAKE2B c9c390f9165d0b8b3277c7bd93e5a90f4ac23cf0d084ed8ba166254bfbfe9cc0e9f0bc35c2a86b39d84167e78639cb2ed69f6cda5da02bb113f7323a86d745a6 SHA512 1e923b7f719d6a33f1dc06e06511a6d48bb8bfef7d8f7676da2520edd2914014eb88f70eaaeec27af6b03f1cefbd9a3e6854a7c0dec7f76f211d750b3fd90894 EBUILD nbdime-4.0.1.ebuild 1424 BLAKE2B b89b992aedbf40c23755a6811cd7188501092798a23d9e8799d4db6fa52f6c267408c06cccf90310d6024dc3af080465dd218e04604d00d7ac7abb3516b044c3 SHA512 c424f57b65ad80371e3745182130fc7d2aefe1c69b27e155d0c701a0acd5963be9ce4cc3a68179e829265d541cfc4cc6eddf40c6baf20ab26a392e4691b37f42 +EBUILD nbdime-4.0.2.ebuild 1544 BLAKE2B b865a427e244e46d1b8d39262b7805ee07d7d58fb74e69aa0355aa01f28a3227e98e14833ea60f6f25cae54a7870df2d755ef21c9327e4d54c48e31ac5783302 SHA512 9d6755771af33881a07efd7cee1c99bba958bc4b80981409399e39f744cd57dbd5481ab7c943feb50a84c8bb289988b88a29dab88021e3b98edf40ab4d2482bf MISC metadata.xml 414 BLAKE2B 9951da7227d2b6628d68aeef19d236a17e9011c62f6318ff274f7979b0db4e7e84be7dfcaecb32c82069a761a743efe6c8b27cfbac421274c39e417cdcaaebf7 SHA512 7fe4193e5844adc4d403c8673acf55bd9c7322c484374072239dbb266e0312bdd9e7b18e0f338e45e602003c89f1cbf50090ae9fca2e38833e17d41dfe4e131e diff --git a/dev-python/nbdime/nbdime-4.0.2.ebuild b/dev-python/nbdime/nbdime-4.0.2.ebuild new file mode 100644 index 000000000000..db11041f30e0 --- /dev/null +++ b/dev-python/nbdime/nbdime-4.0.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Diff and merge of Jupyter Notebooks" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter/nbdime/ + https://pypi.org/project/nbdime/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" + +RDEPEND=" + dev-python/colorama[${PYTHON_USEDEP}] + dev-python/GitPython[${PYTHON_USEDEP}] + dev-python/jinja[${PYTHON_USEDEP}] + dev-python/jupyter-server[${PYTHON_USEDEP}] + dev-python/jupyter-server-mathjax[${PYTHON_USEDEP}] + dev-python/nbformat[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tornado[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/notebook[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/tabulate[${PYTHON_USEDEP}] + ) +" + +distutils_enable_sphinx docs/source \ + dev-python/recommonmark \ + dev-python/sphinx-rtd-theme +distutils_enable_tests pytest + +src_test() { + # user.email and user.name are not configured in the sandbox + git config --global user.email "larry@gentoo.org" || die + git config --global user.name "Larry the Cow" || die + + distutils-r1_src_test +} + +python_test() { + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -p timeout -o tmp_path_retention_policy=all +} + +src_install() { + distutils-r1_src_install + mv "${ED}"{/usr,}/etc || die +} |