commit:     b4d398416ab722252f8522ad30388c2c52a90657
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 23 12:19:47 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 12:19:53 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b4d39841

sci-libs/mlpack: treeclean, more recent version in ::guru

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 profiles/package.use.mask           |   6 --
 sci-libs/mlpack/metadata.xml        |  27 ---------
 sci-libs/mlpack/mlpack-3.4.1.ebuild | 112 ----------------------------------
 sci-libs/mlpack/mlpack-3.4.2.ebuild | 118 ------------------------------------
 4 files changed, 263 deletions(-)

diff --git a/profiles/package.use.mask b/profiles/package.use.mask
index 508ab17db..8aff1df94 100644
--- a/profiles/package.use.mask
+++ b/profiles/package.use.mask
@@ -30,9 +30,3 @@ sci-biology/estscan icc ifc
 # Christoph Junghans <[email protected]> (05 Nov 2013)
 # gui sandbox error
 dev-lang/conceptual gui
-
-# Andrew Ammerlaan <[email protected]> (15 Jan 2022)
-# dependencies not available
-# https://github.com/gentoo/sci/issues/1085
-# https://github.com/gentoo/sci/issues/1084
-sci-libs/mlpack go R

diff --git a/sci-libs/mlpack/metadata.xml b/sci-libs/mlpack/metadata.xml
deleted file mode 100644
index f587c48a7..000000000
--- a/sci-libs/mlpack/metadata.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="person">
-               <email>[email protected]</email>
-               <name>Aisha Tammy</name>
-       </maintainer>
-       <maintainer type="project">
-               <email>[email protected]</email>
-               <name>Gentoo Science Project</name>
-       </maintainer>
-       <longdescription lang="en">
-               mlpack is a C++ machine learning library with emphasis on
-               scalability, speed, and ease-of-use. Its aim is to make machine
-               learning possible for novice users by means of a simple, 
consistent
-               API, while simultaneously exploiting C++ language features to
-               provide maximum performance and maximum flexibility for expert
-               users.
-       </longdescription>
-       <use>
-               <flag name="arma-debug">build with armadillo dbug symbols</flag>
-               <flag name="go">build go bindings</flag>
-               <flag name="julia">build julia bindings</flag>
-               <flag name="matlab">build matlab bindings</flag>
-               <flag name="R">build R bindings</flag>
-       </use>
-</pkgmetadata>

diff --git a/sci-libs/mlpack/mlpack-3.4.1.ebuild 
b/sci-libs/mlpack/mlpack-3.4.1.ebuild
deleted file mode 100644
index d03dd9ab1..000000000
--- a/sci-libs/mlpack/mlpack-3.4.1.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit cmake python-single-r1
-
-DESCRIPTION="scalable C++ machine learning library"
-HOMEPAGE="https://www.mlpack.org/";
-SRC_URI="https://www.mlpack.org/files/${P}.tar.gz";
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE+="arma-debug debug doc go julia matlab openmp profile R test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE} arma-debug? ( debug )"
-RESTRICT="!test? ( test )"
-
-CDEPEND="
-       ${PYTHON_DEPS}
-       julia? ( || (
-                       dev-lang/julia
-                       dev-lang/julia-bin:*
-               )
-       )
-       go? ( dev-lang/go )
-       R? ( dev-lang/R )
-"
-
-RDEPEND="
-       ${CDEPEND}
-       $(python_gen_cond_dep '
-               dev-libs/boost[${PYTHON_USEDEP}]
-               dev-libs/libxml2[${PYTHON_USEDEP}]
-       ')
-       dev-python/pandas
-       dev-python/cython
-       dev-python/numpy
-       dev-libs/stb
-       >=sci-libs/armadillo-8.4.0[arpack,blas,lapack]
-       sci-libs/ensmallen
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-       ${CDEPEND}
-       app-text/txt2man
-       virtual/pkgconfig
-       doc? (
-               app-doc/doxygen
-               dev-libs/mathjax
-       )
-       test? ( $( python_gen_cond_dep '
-               dev-python/pytest[${PYTHON_USEDEP}]
-               ')
-       )
-"
-
-pkg_setup() {
-       elog "If you want to build matlab bindings then you"
-       elog "need to make sure that matlab has been installed"
-       elog "prior to building this package and it is available"
-       elog "in the standard locations to be found by"
-       elog "CMake, library finders, header includes and other"
-       elog "trinkets that are used while compiling."
-       elog "Matlab will not be entertained as a first class"
-       elog "citizen until we have enough personnel"
-
-       python-single-r1_pkg_setup
-}
-
-src_prepare() {
-       sed -i \
-               -e "s:share/doc/mlpack:share/doc/${PF}:" \
-               -e 's/-O3//g' \
-               CMakeLists.txt || die
-       cmake_src_prepare
-}
-
-src_configure() {
-       local mycmakeargs=(
-               -DDISABLE_DOWNLOADS=ON
-               -DDOWNLOAD_ENSMALLEN=OFF
-               -DDOWNLOAD_STB_IMAGE=OFF
-               -DBUILD_WITH_COVERAGE=OFF
-               -DBUILD_PYTHON_BINDINGS=ON
-               -DBUILD_SHARED_LIBS=ON
-               -DBUILD_CLI_EXECUTABLES=ON
-               -DTEST_VERBOSE=$(usex test)
-               -DBUILD_TESTS=$(usex test)
-               -DDEBUG=$(usex debug)
-               -DPROFILE=$(usex profile)
-               -DARMA_EXTRA_DEBUG=$(usex arma-debug)
-               -DUSE_OPENMP=$(usex openmp)
-               -DMATLAB_BINDINGS=$(usex matlab)
-               -DBUILD_GO_SHLIB=$(usex go)
-               -DBUILD_JULIA_BINDINGS=$(usex julia)
-               -DBUILD_GO_BINDINGS=$(usex go)
-               -DBUILD_R_BINDINGS=$(usex R)
-               -DBUILD_MARKDOWN_BINDINGS=$(usex doc)
-               -DMATHJAX=$(usex doc)
-               ${EXTRA_ECONF[@]}
-       )
-       cmake_src_configure
-}
-
-src_install() {
-       cmake_src_install
-
-       python_optimize
-}

diff --git a/sci-libs/mlpack/mlpack-3.4.2.ebuild 
b/sci-libs/mlpack/mlpack-3.4.2.ebuild
deleted file mode 100644
index bfc7231e1..000000000
--- a/sci-libs/mlpack/mlpack-3.4.2.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-inherit cmake python-single-r1
-
-DESCRIPTION="scalable C++ machine learning library"
-HOMEPAGE="https://www.mlpack.org/";
-SRC_URI="https://www.mlpack.org/files/${P}.tar.gz";
-
-LICENSE="LGPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE+="arma-debug debug doc go julia matlab openmp profile R test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE} arma-debug? ( debug )"
-RESTRICT="!test? ( test )"
-
-CDEPEND="
-       ${PYTHON_DEPS}
-       julia? ( || (
-                       dev-lang/julia
-                       dev-lang/julia-bin:*
-               )
-       )
-       go? ( dev-lang/go )
-       R? ( dev-lang/R )
-"
-
-RDEPEND="
-       ${CDEPEND}
-       $(python_gen_cond_dep '
-               dev-libs/boost[${PYTHON_USEDEP}]
-               dev-libs/libxml2[${PYTHON_USEDEP}]
-               dev-python/pandas[${PYTHON_USEDEP}]
-               dev-python/numpy[${PYTHON_USEDEP}]
-               dev-python/cython[${PYTHON_USEDEP}]
-       ')
-       dev-libs/stb
-       >=sci-libs/armadillo-8.4.0[arpack,blas,lapack]
-       sci-libs/ensmallen
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-       ${CDEPEND}
-       app-text/txt2man
-       virtual/pkgconfig
-       doc? (
-               app-doc/doxygen
-               dev-libs/mathjax
-       )
-       $(python_gen_cond_dep '
-               dev-python/cython[${PYTHON_USEDEP}]
-       ')
-       test? ( $( python_gen_cond_dep '
-               dev-python/pytest[${PYTHON_USEDEP}]
-               ')
-       )
-"
-
-pkg_setup() {
-       elog "If you want to build matlab bindings then you"
-       elog "need to make sure that matlab has been installed"
-       elog "prior to building this package and it is available"
-       elog "in the standard locations to be found by"
-       elog "CMake, library finders, header includes and other"
-       elog "trinkets that are used while compiling."
-       elog "Matlab will not be entertained as a first class"
-       elog "citizen until we have enough personnel"
-
-       python-single-r1_pkg_setup
-}
-
-src_prepare() {
-       sed -i \
-               -e "s:share/doc/mlpack:share/doc/${PF}:" \
-               -e 's/-O3//g' \
-               CMakeLists.txt || die
-       # drop dep on pytest-runner
-       sed -i -e "/setup_requires/d" \
-               src/mlpack/bindings/python/setup.py.in || die
-       cmake_src_prepare
-}
-
-src_configure() {
-       local mycmakeargs=(
-               -DDISABLE_DOWNLOADS=ON
-               -DDOWNLOAD_ENSMALLEN=OFF
-               -DDOWNLOAD_STB_IMAGE=OFF
-               -DBUILD_WITH_COVERAGE=OFF
-               -DBUILD_PYTHON_BINDINGS=ON
-               -DBUILD_SHARED_LIBS=ON
-               -DBUILD_CLI_EXECUTABLES=ON
-               -DTEST_VERBOSE=$(usex test)
-               -DBUILD_TESTS=$(usex test)
-               -DDEBUG=$(usex debug)
-               -DPROFILE=$(usex profile)
-               -DARMA_EXTRA_DEBUG=$(usex arma-debug)
-               -DUSE_OPENMP=$(usex openmp)
-               -DMATLAB_BINDINGS=$(usex matlab)
-               -DBUILD_GO_SHLIB=$(usex go)
-               -DBUILD_JULIA_BINDINGS=$(usex julia)
-               -DBUILD_GO_BINDINGS=$(usex go)
-               -DBUILD_R_BINDINGS=$(usex R)
-               -DBUILD_MARKDOWN_BINDINGS=$(usex doc)
-               -DMATHJAX=$(usex doc)
-               ${EXTRA_ECONF[@]}
-       )
-       cmake_src_configure
-}
-
-src_install() {
-       cmake_src_install
-
-       python_optimize
-}

Reply via email to