diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2024-03-13 22:18:07 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2024-03-14 08:05:16 +0100 |
commit | d49b027af7a5265374c2240135f4c9944edbe6b2 (patch) | |
tree | f1ed84b2e038418a298c84933cb7e77dac52ea35 /sci-visualization/dash/dash-2.13.0.ebuild | |
parent | sys-apps/fakeroot: Stabilize 1.33 ppc, #926986 (diff) | |
download | gentoo-d49b027af7a5265374c2240135f4c9944edbe6b2.tar.gz gentoo-d49b027af7a5265374c2240135f4c9944edbe6b2.tar.bz2 gentoo-d49b027af7a5265374c2240135f4c9944edbe6b2.zip |
sci-visualization/dash: add 2.13.0, drop 2.12.1
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-visualization/dash/dash-2.13.0.ebuild')
-rw-r--r-- | sci-visualization/dash/dash-2.13.0.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/sci-visualization/dash/dash-2.13.0.ebuild b/sci-visualization/dash/dash-2.13.0.ebuild new file mode 100644 index 000000000000..52012b782c7e --- /dev/null +++ b/sci-visualization/dash/dash-2.13.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..12} ) +DISTUTILS_USE_PEP517=setuptools +inherit distutils-r1 + +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-${PV}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +# Test need some packages not yet in the tree +# flask_talisman +# percy +# ... +RESTRICT="test" + +RDEPEND=" + dev-python/nest-asyncio[${PYTHON_USEDEP}] + dev-python/plotly[${PYTHON_USEDEP}] + dev-python/flask-compress[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( dev-python/beautifulsoup4 )" + +distutils_enable_tests pytest + +src_unpack() { + unpack ${P}.tar.gz +} + +src_prepare() { + mkdir dash/labextension/dist || die + # cd @plotly/dash-jupyterlab + # jlpm install + # jlpm build:pack + cp "${DISTDIR}"/${PN}-jupyterlab-${PV}.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 +} |