mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-python/dtreeviz: remove dependency on dev-python/xgboost
dev-python/xgboost is not available in ::guru or ::gentoo. Ebuilds in guru cannot depend on any other overlays. Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
@@ -17,7 +17,7 @@ LICENSE="MIT"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
# IUSE="test xgboost pyspark lightgbm"
|
# IUSE="test xgboost pyspark lightgbm"
|
||||||
IUSE="test xgboost"
|
IUSE="test"
|
||||||
|
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
>=dev-python/graphviz-0.9
|
>=dev-python/graphviz-0.9
|
||||||
@@ -26,7 +26,6 @@ RDEPEND="
|
|||||||
sci-libs/scikit-learn
|
sci-libs/scikit-learn
|
||||||
dev-python/matplotlib
|
dev-python/matplotlib
|
||||||
dev-python/colour
|
dev-python/colour
|
||||||
xgboost? ( dev-python/xgboost )
|
|
||||||
"
|
"
|
||||||
# xgboost: available at the science overlay: https://github.com/gentoo/sci - Tested
|
# xgboost: available at the science overlay: https://github.com/gentoo/sci - Tested
|
||||||
# pyspark: available at the spark overlay: https://github.com/6-6-6/spark-overlay - Not tested
|
# pyspark: available at the spark overlay: https://github.com/6-6-6/spark-overlay - Not tested
|
||||||
@@ -37,11 +36,11 @@ DEPEND="test? ( dev-python/pytest )"
|
|||||||
TEST_DIR="testing/testlib/models"
|
TEST_DIR="testing/testlib/models"
|
||||||
|
|
||||||
python_prepare_all() {
|
python_prepare_all() {
|
||||||
# FIXME
|
# FIXME
|
||||||
if ! use xgboost; then
|
#if ! use xgboost; then
|
||||||
rm $TEST_DIR/test_decision_trees_xgb_classifier.py || die
|
rm $TEST_DIR/test_decision_trees_xgb_classifier.py || die
|
||||||
rm $TEST_DIR/test_decision_tree_xgb_regressor.py || die
|
rm $TEST_DIR/test_decision_tree_xgb_regressor.py || die
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
# if ! use pyspark; then
|
# if ! use pyspark; then
|
||||||
rm $TEST_DIR/test_decision_tree_spark_classifier.py || die
|
rm $TEST_DIR/test_decision_tree_spark_classifier.py || die
|
||||||
@@ -54,8 +53,7 @@ python_prepare_all() {
|
|||||||
#TODO: tensorflow_decision_forests ebuild
|
#TODO: tensorflow_decision_forests ebuild
|
||||||
rm $TEST_DIR/test_decision_tree_tensorflow_classifier.py || die
|
rm $TEST_DIR/test_decision_tree_tensorflow_classifier.py || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
}
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
distutils_enable_tests pytest
|
||||||
|
|||||||
Reference in New Issue
Block a user