diff options
author | Sam James <sam@gentoo.org> | 2021-11-15 03:15:38 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-11-15 03:15:38 +0000 |
commit | 2e5596bd7b452e3223c81f3cc05665aa238577ee (patch) | |
tree | 7a6626baae776c745f8e38ce86288a2abd7460b6 /dev-python/ipykernel | |
parent | dev-python/ipykernel: add missing dev-python/ipython_genutils dependency (diff) | |
download | gentoo-2e5596bd7b452e3223c81f3cc05665aa238577ee.tar.gz gentoo-2e5596bd7b452e3223c81f3cc05665aa238577ee.tar.bz2 gentoo-2e5596bd7b452e3223c81f3cc05665aa238577ee.zip |
dev-python/ipykernel: add 6.5.0
Closes: https://bugs.gentoo.org/822477
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-python/ipykernel')
-rw-r--r-- | dev-python/ipykernel/Manifest | 1 | ||||
-rw-r--r-- | dev-python/ipykernel/files/ipykernel-6.5.0-drop-pytest-cov.patch | 12 | ||||
-rw-r--r-- | dev-python/ipykernel/ipykernel-6.5.0.ebuild | 56 |
3 files changed, 69 insertions, 0 deletions
diff --git a/dev-python/ipykernel/Manifest b/dev-python/ipykernel/Manifest index 53b94de6b003..011090f7db72 100644 --- a/dev-python/ipykernel/Manifest +++ b/dev-python/ipykernel/Manifest @@ -1,3 +1,4 @@ DIST ipykernel-5.5.4.tar.gz 112728 BLAKE2B 489e12d0cbde2f80f2c921f026c7b84554b1fef481164e07f89b063127b01d106fc6b19f830ac321d79285fb9df065352dbc0c2a997b3629a64e766d2e50f347 SHA512 96728321fe71d528435415eda917c623269af734598a78168144d983aa64db4f9ced981fa67c83263da1ed878831669d821b84a769a08a271adafacfcbb75bf9 DIST ipykernel-6.2.0.tar.gz 110042 BLAKE2B e1e9f140d434142339c36cdf72c9c4224143aeac8ee5938488fefaf0c15b33ddb6a4e4f49e4096431c89ba6bdcf6321f73e61927186d42518cd73e6016a017ed SHA512 7f3203b072cf7a4ca71e56df0c5621f6ac44440ace2ba855b7354971d04e872621650a0351f9d1ace50ea63459290835306e71fb91d414355810fa79968ddf56 DIST ipykernel-6.4.2.tar.gz 121253 BLAKE2B 26f8f94df823dd7a4ac41cac574e70ae98eed64f88bbcd8ce600ce6dfe1c43c224d65b5d0f9586ad05829692142e37fbb685a5d577047791831f6138b8309556 SHA512 56f0a15a1f06628e8f74749e4bad4a65dcc78ba7ff45e4fa5802d232e427e4ec152a6b6697302488d2e05d6b0cfa0cbc106ea2a593ab43de9d9defa9c169d5a6 +DIST ipykernel-6.5.0.tar.gz 122962 BLAKE2B fa36ea41d7f2dc8d0d75144f421ea2a72dd50dcda6c6a91f625f18c35ed2ebb950aadfb1715dd57a1fda77bfb49e360bca87f0bd8b9ee8380399d41691db2b9a SHA512 440407818ed6f388f10a727a9be1a2588bf8c9699d66e1b954a1f64575c08b5bddb3978dd13f5ab26220a210ce7177e2be0374d48d3968df681d2d5311ce42d1 diff --git a/dev-python/ipykernel/files/ipykernel-6.5.0-drop-pytest-cov.patch b/dev-python/ipykernel/files/ipykernel-6.5.0-drop-pytest-cov.patch new file mode 100644 index 000000000000..3b792d21f47e --- /dev/null +++ b/dev-python/ipykernel/files/ipykernel-6.5.0-drop-pytest-cov.patch @@ -0,0 +1,12 @@ +Drop unnecessary pytest-cov dependency (we don't care downstream about running coverage +reports in unit tests for users). +--- a/setup.py ++++ b/setup.py +@@ -76,7 +76,6 @@ setup_args = dict( + extras_require={ + "test": [ + "pytest !=5.3.4", +- "pytest-cov", + "flaky", + "nose", # nose because we are still using nose streams from ipython + "ipyparallel", diff --git a/dev-python/ipykernel/ipykernel-6.5.0.ebuild b/dev-python/ipykernel/ipykernel-6.5.0.ebuild new file mode 100644 index 000000000000..4d505eef8ded --- /dev/null +++ b/dev-python/ipykernel/ipykernel-6.5.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +PYTHON_REQ_USE="threads(+)" +inherit distutils-r1 + +DESCRIPTION="IPython Kernel for Jupyter" +HOMEPAGE="https://github.com/ipython/ipykernel" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + <dev-python/importlib_metadata-5.0.0[${PYTHON_USEDEP}] + >=dev-python/argcomplete-1.12.3[${PYTHON_USEDEP}] + ' python3_8 pypy3) + >=dev-python/debugpy-1.0.0[${PYTHON_USEDEP}] + <dev-python/debugpy-2.0[${PYTHON_USEDEP}] + >=dev-python/ipython-7.23.1[${PYTHON_USEDEP}] + <dev-python/ipython-8.0[${PYTHON_USEDEP}] + >=dev-python/traitlets-5.1.0[${PYTHON_USEDEP}] + <dev-python/traitlets-6.0[${PYTHON_USEDEP}] + <dev-python/jupyter_client-8.0[${PYTHON_USEDEP}] + >=www-servers/tornado-4.2[${PYTHON_USEDEP}] + <www-servers/tornado-7.0[${PYTHON_USEDEP}] + >=dev-python/matplotlib-inline-0.1.0[${PYTHON_USEDEP}] + <dev-python/matplotlib-inline-0.2.0[${PYTHON_USEDEP}] +" +# RDEPEND seems specifically needed in BDEPEND, at least jupyter +# bug #816486 +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-cov[${PYTHON_USEDEP}] + dev-python/flaky[${PYTHON_USEDEP}] + dev-python/nose[${PYTHON_USEDEP}] + dev-python/nose_warnings_filters[${PYTHON_USEDEP}] + dev-python/ipyparallel[${PYTHON_USEDEP}] + )" + +PATCHES=( + "${FILESDIR}"/${PN}-6.5.0-drop-pytest-cov.patch +) + +distutils_enable_tests pytest + +src_prepare() { + sed -i -e 's:^TIMEOUT = .*:TIMEOUT = 120:' ipykernel/tests/*.py || die + distutils-r1_src_prepare +} |