commit: 6d5ad8da292f90d01b2fcdbf9f3f149e047454f8 Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> AuthorDate: Thu Mar 14 16:05:18 2024 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> CommitDate: Thu Mar 14 16:05:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d5ad8da
dev-python/jupyter-server-proxy: add 4.1.2 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> dev-python/jupyter-server-proxy/Manifest | 1 + .../jupyter-server-proxy-4.1.2.ebuild | 50 ++++++++++++++++++++++ profiles/arch/amd64/x32/package.mask | 1 + 3 files changed, 52 insertions(+) diff --git a/dev-python/jupyter-server-proxy/Manifest b/dev-python/jupyter-server-proxy/Manifest index f38de51d3986..eb0fe21f9ae2 100644 --- a/dev-python/jupyter-server-proxy/Manifest +++ b/dev-python/jupyter-server-proxy/Manifest @@ -1 +1,2 @@ DIST jupyter-server-proxy-3.2.2.tar.gz 121353 BLAKE2B 4f7c8af14a149f13272ea2802e830b38a5167f1de80dab21e1d175cb96ba3b908bd268f6dbb02cfd4fb8991ffb3315c044405925358904f82b26d55f74f97dbe SHA512 320765a8a8b1c6f213bd9c8cf514aac44f40ce93fb27fa890d8c6a9ae158f92f1b3a7119b47067db1c4f38925815f647559b3c618a9a85553cdbf7d2dc0a3872 +DIST jupyter_server_proxy-4.1.2.tar.gz 133085 BLAKE2B a859938f7ab5570e978b3afa71a924b882bcc1e788181bbdee1b2dd22d9b2e7bf706d130b04dc9a0871c3a3046041b939d8da82af5abe093ba2a2d0f9451cb20 SHA512 9dc8c84b28f79dd2f89ceb6012f0bf69d43c8c59ffe73d1559aee9d7f6d90cce93fc8b277fe3ad83197fd3d5f7aaad60c3353b0618967e51ed3749e12db4bd3c diff --git a/dev-python/jupyter-server-proxy/jupyter-server-proxy-4.1.2.ebuild b/dev-python/jupyter-server-proxy/jupyter-server-proxy-4.1.2.ebuild new file mode 100644 index 000000000000..bab5f5dbb961 --- /dev/null +++ b/dev-python/jupyter-server-proxy/jupyter-server-proxy-4.1.2.ebuild @@ -0,0 +1,50 @@ +# 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="Jupyter notebook server extension to proxy web services" +HOMEPAGE="https://github.com/jupyterhub/jupyter-server-proxy" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# Connection refused, even without network-sandbox +RESTRICT="test" + +RDEPEND=" + dev-python/aiohttp[${PYTHON_USEDEP}] + >=dev-python/jupyter-server-1.0[${PYTHON_USEDEP}] + >=dev-python/simpervisor-1.0[${PYTHON_USEDEP}] + >=dev-python/tornado-5.1[${PYTHON_USEDEP}] + >=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}] +" + +BDEPEND=" + >=dev-python/hatch-jupyter-builder-0.8.3[${PYTHON_USEDEP}] + >=dev-python/jupyterlab-4.0.6[${PYTHON_USEDEP}] + test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_prepare_all() { + sed \ + -e "/--cov.*,/d" \ + -e "/--no-cov.*,/d" \ + -e "/--html.*,/d" \ + -i pyproject.toml || die + distutils-r1_python_prepare_all +} + +src_install() { + distutils-r1_src_install + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/profiles/arch/amd64/x32/package.mask b/profiles/arch/amd64/x32/package.mask index ffce09bbee66..9448d50c9303 100644 --- a/profiles/arch/amd64/x32/package.mask +++ b/profiles/arch/amd64/x32/package.mask @@ -33,6 +33,7 @@ sci-geosciences/viking # Jupyterlab and friends require net-libs/nodejs dev-python/jupyterlab dev-python/jupyterlab-lsp +dev-python/jupyter-server-proxy sci-misc/jupyterlab-desktop-bin dev-python/plotly dev-python/plotly-geo