sci-visualization/dash: add 4.0.0, 4.1.0

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2026-03-28 16:10:18 +01:00
parent 1323ccfe7d
commit 67f5e363bf
3 changed files with 124 additions and 0 deletions

View File

@@ -4,4 +4,6 @@ DIST dash-3.1.1.tar.gz 21869636 BLAKE2B 8db19f629e6ef318e714868cf8dd5be228c6fdec
DIST dash-3.2.0.tar.gz 21473722 BLAKE2B 402c1f3e7d065f9ebc7fdd34ffd78a4e1c5f869866c5b70fa4b1c15fc5a58ae69e45df7ce5cc622a0c2ca2056f8a5e2fd33b3627eb12acd57636f55edfd20981 SHA512 2d27df6065223e9621602d368ec7a0279a55ae1484fb11de085e736b1031ac651656c6e3b58a0c14634a1a931d8d7fc3303364ca7207ecf8d0bc4562d019ea07
DIST dash-3.3.0.tar.gz 21500128 BLAKE2B 7208c9bd47e1a86c3e9b083fca0b2cfd68493f692bac631d03c103d9bb8a086be6beb3d2c3946ecf54660158dc833d8d8049a8b80d3b54819aa229222bb86a63 SHA512 b84dfa4989e48023903c6105e4d0ae04da3a0cd96fa4004f90a8ebcbc0c39d7fe04557cc6181da55c791a0c00118db78724f598c62632405d42bfdb3652d2c3b
DIST dash-3.4.0.tar.gz 21508514 BLAKE2B 53e103b24b1de72d0ccd16714419e01032927291caf6440e12946fb3657295cf861c56e9aaf2310b5b2abc7e7a5c1ed23b8be1f523cf17cef7b651af315baf01 SHA512 8f8c39940669ab1cdfc4cb490aae98be9e22c04f7227cd59e948a9f907c081ad8e48af34573a9d2231a1704db2c91c21a244b91e5e22fc1d6d00c1a18e55ead6
DIST dash-4.0.0.tar.gz 20830845 BLAKE2B 968c2f25c82ebaef2030907ad2a5b2f10dc1b77216e12774af3434dd5504388f670153e89b38294a3e0bc32cb54ce0bd820ae2cc5ccb8efcfd95f4d1608870d3 SHA512 97e308cd716e149dec7ef80c04be3ea052f71d15b37a21359f3828a2c2495dade707e4b4005e0b1c373c44bee3a2b98c5edce317d26af99b882549f579f0a871
DIST dash-4.1.0.tar.gz 20819367 BLAKE2B 7bf0bc1b3b0b2061e3816a393e6b76209cbdbdbf46212e5372440d771cda160bf369ec54a13f487b70b92defa2324652d591c8bc9ed3c9d73b9a862719e39340 SHA512 8888ee5150df88ddabcdc467b6a6cd36fdc7b4b5206ce1542541de6cce518116486d1a91074c0b57d8b34307530d2f20ddea174309351aa4faba4ceb1077b4cb
DIST dash-jupyterlab-2.18.2.tgz 2291 BLAKE2B d4cc24798fc66b2676dfbd321127e6ecc83067442d6c1ae77eee482edb818ecb89e1bb392184b27aa34eeddc319d3ea0d3fd3d803ae12fa42da6b99355a44c49 SHA512 238d86b073a808e874d57e973d57b5a86af381be1eba0695bc96f0d5ba21b6fb34dc37bf9a3906fecce0deef1ad0b3cae63a273498d7c4b8fe263b081ae603fd

View File

@@ -0,0 +1,61 @@
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
JUPV=2.18.2
DESCRIPTION="Python framework for building ML & data science web apps"
HOMEPAGE="https://github.com/plotly/dash"
SRC_URI="https://github.com/plotly/${PN}/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz
https://dev.gentoo.org/~tupone/distfiles/${PN}-jupyterlab-${JUPV}.tgz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="compress diskcache"
# Test need some packages not yet in the tree
# flask_talisman
# percy
# ...
RESTRICT="test"
RDEPEND="
dev-python/flask[${PYTHON_USEDEP}]
dev-python/importlib-metadata[${PYTHON_USEDEP}]
dev-python/nest-asyncio[${PYTHON_USEDEP}]
dev-python/plotly[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/retrying[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]
compress? ( dev-python/flask-compress[${PYTHON_USEDEP}] )
diskcache? (
dev-python/diskcache[${PYTHON_USEDEP}]
dev-python/multiprocess[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
)
"
DEPEND="${RDEPEND}"
src_prepare() {
mkdir dash/labextension/dist || die
# These are the step to build dash-jupyterlab:
# cd @plotly/dash-jupyterlab
# jlpm install
# jlpm build:pack
cp "${DISTDIR}"/${PN}-jupyterlab-${JUPV}.tgz \
dash/labextension/dist/${PN}-jupyterlab.tgz \
|| die
distutils-r1_src_prepare
}
python_install_all() {
distutils-r1_python_install_all
mv "${ED}"/usr/etc "${ED}"/etc || die
}

View File

@@ -0,0 +1,61 @@
# Copyright 2021-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1
JUPV=2.18.2
DESCRIPTION="Python framework for building ML & data science web apps"
HOMEPAGE="https://github.com/plotly/dash"
SRC_URI="https://github.com/plotly/${PN}/archive/refs/tags/v${PV}.tar.gz
-> ${P}.tar.gz
https://dev.gentoo.org/~tupone/distfiles/${PN}-jupyterlab-${JUPV}.tgz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="compress diskcache"
# Test need some packages not yet in the tree
# flask_talisman
# percy
# ...
RESTRICT="test"
RDEPEND="
dev-python/flask[${PYTHON_USEDEP}]
dev-python/importlib-metadata[${PYTHON_USEDEP}]
dev-python/nest-asyncio[${PYTHON_USEDEP}]
dev-python/plotly[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/retrying[${PYTHON_USEDEP}]
dev-python/typing-extensions[${PYTHON_USEDEP}]
dev-python/werkzeug[${PYTHON_USEDEP}]
compress? ( dev-python/flask-compress[${PYTHON_USEDEP}] )
diskcache? (
dev-python/diskcache[${PYTHON_USEDEP}]
dev-python/multiprocess[${PYTHON_USEDEP}]
dev-python/psutil[${PYTHON_USEDEP}]
)
"
DEPEND="${RDEPEND}"
src_prepare() {
mkdir dash/labextension/dist || die
# These are the step to build dash-jupyterlab:
# cd @plotly/dash-jupyterlab
# jlpm install
# jlpm build:pack
cp "${DISTDIR}"/${PN}-jupyterlab-${JUPV}.tgz \
dash/labextension/dist/${PN}-jupyterlab.tgz \
|| die
distutils-r1_src_prepare
}
python_install_all() {
distutils-r1_python_install_all
mv "${ED}"/usr/etc "${ED}"/etc || die
}