commit:     523a6a9001c4d54967def32909ce70cffd260093
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 21 18:26:40 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Sep 21 18:28:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=523a6a90

sci-visualization/dash: disable testing

Closes: https://bugs.gentoo.org/814128
Closes: https://bugs.gentoo.org/810445

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-visualization/dash/dash-1.21.0.ebuild | 34 ++++++++-----------------------
 1 file changed, 8 insertions(+), 26 deletions(-)

diff --git a/sci-visualization/dash/dash-1.21.0.ebuild 
b/sci-visualization/dash/dash-1.21.0.ebuild
index d50c7662e4b..b41f8e0c29a 100644
--- a/sci-visualization/dash/dash-1.21.0.ebuild
+++ b/sci-visualization/dash/dash-1.21.0.ebuild
@@ -14,39 +14,21 @@ 
SRC_URI="https://github.com/plotly/${PN}/archive/refs/tags/v${PV}.tar.gz
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
+# Test need some packages not yet in the tree
+# flask_talisman
+# percy
+# ...
+RESTRICT="test"
 
-DEPEND=""
-RDEPEND="${DEPEND}
+RDEPEND="
        dev-python/future[${PYTHON_USEDEP}]
        sci-visualization/dash-table[${PYTHON_USEDEP}]
        sci-visualization/dash-html-components[${PYTHON_USEDEP}]
        sci-visualization/dash-core-components[${PYTHON_USEDEP}]
        dev-python/plotly[${PYTHON_USEDEP}]
        dev-python/flask-compress[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+       test? ( dev-python/beautifulsoup4 )"
 BDEPEND=""
 
 distutils_enable_tests pytest
-
-src_prepare() {
-       distutils-r1_src_prepare
-       cd dash-renderer
-       distutils-r1_src_prepare
-}
-
-src_configure() {
-       distutils-r1_src_configure
-       cd dash-renderer
-       distutils-r1_src_configure
-}
-
-src_compile() {
-       distutils-r1_src_compile
-       cd dash-renderer
-       distutils-r1_src_compile
-}
-
-src_install() {
-       distutils-r1_src_install
-       cd dash-renderer
-       distutils-r1_src_install
-}

Reply via email to