sci-visualization/dash - 4.1.0 (gentoo)

Search

Install

Install this version:

emerge -a =sci-visualization/dash-4.1.0

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-visualization/dash-4.1.0

Or alternatively:

emerge --autounmask-write -a =sci-visualization/dash-4.1.0

Package Information

Description:
Python framework for building ML & data science web apps
Homepage:
https://github.com/plotly/dash
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
4.1.0 8 ~amd64 0
View Raw Ebuild
# 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
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-visualization/dash | euse -E <flag> -p sci-visualization/dash | euse -D <flag> -p sci-visualization/dash

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	dev-python/flask[]
	dev-python/importlib-metadata[]
	dev-python/nest-asyncio[]
	dev-python/plotly[]
	dev-python/requests[]
	dev-python/retrying[]
	dev-python/typing-extensions[]
	dev-python/werkzeug[]
	compress? ( dev-python/flask-compress[] )
	diskcache? (
		dev-python/diskcache[]
		dev-python/multiprocess[]
		dev-python/psutil[]
	)
	

RDEPEND

	dev-python/flask[]
	dev-python/importlib-metadata[]
	dev-python/nest-asyncio[]
	dev-python/plotly[]
	dev-python/requests[]
	dev-python/retrying[]
	dev-python/typing-extensions[]
	dev-python/werkzeug[]
	compress? ( dev-python/flask-compress[] )
	diskcache? (
		dev-python/diskcache[]
		dev-python/multiprocess[]
		dev-python/psutil[]
	)
	

Manifest for 4.1.0

Type File Size Source URLs
DIST dash-4.1.0.tar.gz 20819367 bytes https://github.com/plotly/dash/archive/refs/tags/v4.1.0.tar.gz
DIST dash-jupyterlab-2.18.2.tgz 2291 bytes https://dev.gentoo.org/~tupone/distfiles/dash-jupyterlab-2.18.2.tgz