summaryrefslogtreecommitdiff
path: root/sci-visualization/dash
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-13 00:46:32 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-13 00:46:32 +0000
commit360468f13add58583c7780bcacafb5452a07851d (patch)
treeb9894c277f3edb6e7270436ca2a7000e3575b0a0 /sci-visualization/dash
parentd71aca7673826d5f5fa93b43c7c8af3c1e023dc6 (diff)
gentoo auto-resync : 13:03:2024 - 00:46:32
Diffstat (limited to 'sci-visualization/dash')
-rw-r--r--sci-visualization/dash/Manifest5
-rw-r--r--sci-visualization/dash/dash-2.12.1.ebuild (renamed from sci-visualization/dash/dash-2.10.2.ebuild)24
2 files changed, 26 insertions, 3 deletions
diff --git a/sci-visualization/dash/Manifest b/sci-visualization/dash/Manifest
index 8f540affed80..a732b01b9d8e 100644
--- a/sci-visualization/dash/Manifest
+++ b/sci-visualization/dash/Manifest
@@ -1,3 +1,4 @@
-DIST dash-2.10.2.tar.gz 24196352 BLAKE2B 8e95700756adac363e62d62f0bef6ca1559468f26a79fd8d1595f71ed930cd425cc7a102a32b09611f2def6a0a920772c07d810b598f65c97690f598343b44b4 SHA512 9e7ed9a65d374c32ace75eb9d124b017741ee8de8b115e0323ef4d9f2f6ff7de77bd1f6f083bc92268f29e389c7e2177ab97e5a859afc075be0f546ad820c1ed
-EBUILD dash-2.10.2.ebuild 722 BLAKE2B 7d10f57c0d95f8b2930efd35bc9f89e002fbf5e6ddc354bdb4924d9dd32830a5e4393378d51ce9f5ff794275287da7be2306cfe3367532445b0d1b9c20e52932 SHA512 0216e9ecb1765ec2c8a0652f37708b088c59ef4a4105797108710da4b2351aadaab4325e0b79d344b168e1d6f01607799d4176d2ddde0278199feb68ff3aff32
+DIST dash-2.12.1.tar.gz 24239780 BLAKE2B bd46dc902555b9877651a3285a35b9ac5cbf2beff327e7689768a1257e0f7982ba3e497cb78c092faf59132702695b87601b585f6d55f4685b27965845aaf3d6 SHA512 88ba2ba078cbddfa0e322ed65afb89f376d0ff8654b34658e1889eca02e12de65ba06493dd01e15fd30e445af0cfe0779931a26e9ac3d88a1400d588036368db
+DIST dash-jupyterlab-2.12.1.tgz 2260 BLAKE2B 4ce19390f58ab74e5a8c8a3926ba6d82db15b603f9123bcb1372bc6919bc5a48ffa0e9c97fa0ca654607a269d125e4e20b2e7e780cea6bb4d70fbed8bda05c75 SHA512 2bede3e1a3469b299bdfa900ca6c75b05c0ecc72d16ed510e8ee2ee0e5538584bedc43ff25cf0ae910ea60b35177fa33219383d8f3ab2cec3a69f0e3f9f7f43c
+EBUILD dash-2.12.1.ebuild 1220 BLAKE2B 9caa5b360441321896a2be3e3efcb4668aff6e69eef23c5132b3e315e0b0de7a09139d920a570ecf98b0a64b43d17945732a26115703cbd8148cc8fd5730901e SHA512 9485f2fde6f3ac68aedceec53ed42bb8f21ea9a349a6ffe266078f3478b2604dcce599f065ad50cfa12ebeca97d831b13578c7d62e0cb04dda0cee804706abf2
MISC metadata.xml 1362 BLAKE2B 476d401a89b61e6f3351eb372460651ca969ec7ce0e93610f446f502a37ff29b40cd16108f0b38a9d2639e76b8845d0da6eb313367c8b1d248b6d41c266f57e8 SHA512 beb967cce5f39ae8af1aa1e123ee901cc2a3683a820d61e9daf21ce8363e35236d97b1896229cecc7a605092a9ba189d848af0d0b31c515b1c02e2f1094b2eb5
diff --git a/sci-visualization/dash/dash-2.10.2.ebuild b/sci-visualization/dash/dash-2.12.1.ebuild
index 99937d9520d1..10dc2e7c717a 100644
--- a/sci-visualization/dash/dash-2.10.2.ebuild
+++ b/sci-visualization/dash/dash-2.12.1.ebuild
@@ -10,7 +10,8 @@ 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"
+ -> ${P}.tar.gz
+ https://dev.gentoo.org/~tupone/distfiles/${PN}-jupyterlab-${PV}.tgz"
LICENSE="MIT"
SLOT="0"
@@ -22,9 +23,30 @@ KEYWORDS="~amd64"
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
+}