aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2019-11-25 13:40:08 +0800
committerBenda Xu <heroxbd@gentoo.org>2019-11-25 13:43:12 +0800
commitb2dbc48bbef9da4ab35b75afbc04d0cfff25b9a9 (patch)
tree29e22579da1c901afaed6a24fcec65f7bdb020d4 /dev-cpp
parentsci-biology/samri_bidsdata: version bump 0.3 (diff)
downloadsci-b2dbc48bbef9da4ab35b75afbc04d0cfff25b9a9.tar.gz
sci-b2dbc48bbef9da4ab35b75afbc04d0cfff25b9a9.tar.bz2
sci-b2dbc48bbef9da4ab35b75afbc04d0cfff25b9a9.zip
dev-cpp/eigen: merged into ::gentoo and remove.
Closes: https://github.com/gentoo/sci/issues/799 Signed-off-by: Benda Xu <heroxbd@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/eigen/Manifest4
-rw-r--r--dev-cpp/eigen/eigen-3.2.7-r1.ebuild116
-rw-r--r--dev-cpp/eigen/eigen-3.2.8-r2.ebuild112
-rw-r--r--dev-cpp/eigen/eigen-9999.ebuild108
-rw-r--r--dev-cpp/eigen/metadata.xml34
5 files changed, 0 insertions, 374 deletions
diff --git a/dev-cpp/eigen/Manifest b/dev-cpp/eigen/Manifest
deleted file mode 100644
index fca18c169..000000000
--- a/dev-cpp/eigen/Manifest
+++ /dev/null
@@ -1,4 +0,0 @@
-DIST eigen-3.2.7-cmake.patch 3294 BLAKE2B fcea1faceb2a360ab8ddb56c8bdbcbe061a13115b569e1981c5777973d8317a877372f9f624814badbefeeb3e38e4ff03e5e8fc5a9d5ad72e1b5b4c89c2ab1df SHA512 229c0c1f3d95ae505b5accd1aeba19f59a064218cf9b0d844dbc4c660a4cddb666f818268ba1899370877034a70a87317ca8bf14822e3b85d0bbe7f3bb5c7cf6
-DIST eigen-3.2.7.tar.bz2 1155162 BLAKE2B 2151e5e6bd6d8c6afd595c945f347efab581347992ce29c84aa9d33544ec8149eb34248dd68917760b5d2e2d8cd73bac98e4958417071adb90e20fa58110904f SHA512 6e9beb4fdd69d96a1bb305ea9463547c19cac0072ce908c19bf952d2b7a254c0d674d19a7797a3ba5e8617e1c1bca74dfb7c01971301cb152e467f13eaaed6cc
-DIST eigen-3.2.8-cmake.patch 3294 BLAKE2B fcea1faceb2a360ab8ddb56c8bdbcbe061a13115b569e1981c5777973d8317a877372f9f624814badbefeeb3e38e4ff03e5e8fc5a9d5ad72e1b5b4c89c2ab1df SHA512 229c0c1f3d95ae505b5accd1aeba19f59a064218cf9b0d844dbc4c660a4cddb666f818268ba1899370877034a70a87317ca8bf14822e3b85d0bbe7f3bb5c7cf6
-DIST eigen-3.2.8.tar.bz2 1161201 BLAKE2B 35bace5138f601e73d56412e87bf591ef2f96778050b0a2a4fc8f1e75f02498fb4eb80bf79988dd4bd6b985945a122d44581ccedd925f398f7d282790da06385 SHA512 53c27ba530c985dfef52188e03273eeef33abbc67e3f150cacd3371c8b9ddbd399228730595821c4c56c061d109cf509266c1dab2b8a7c730902cbd6fb18c100
diff --git a/dev-cpp/eigen/eigen-3.2.7-r1.ebuild b/dev-cpp/eigen/eigen-3.2.7-r1.ebuild
deleted file mode 100644
index a00566654..000000000
--- a/dev-cpp/eigen/eigen-3.2.7-r1.ebuild
+++ /dev/null
@@ -1,116 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FORTRAN_NEEDED=fortran
-
-inherit alternatives-2 cmake-utils fortran-2 multilib numeric vcs-snapshot
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-SRC_URI="
- https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
- https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
-"
-
-SLOT="3"
-LICENSE="MPL-2.0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
-
-CDEPEND="
- adolc? ( sci-libs/adolc[sparse?] )
- fftw? ( sci-libs/fftw:3.0 )
- gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 )
- metis? ( sci-libs/metis )
- mkl? ( sci-libs/mkl )
- pastix? ( sci-libs/pastix )
- sparse? (
- dev-cpp/sparsehash
- sci-libs/cholmod[metis?]
- sci-libs/spqr
- sci-libs/superlu
- sci-libs/umfpack
- )"
-DEPEND="
- doc? ( app-doc/doxygen[dot,latex] )
- test? ( ${CDEPEND} )"
-
-RDEPEND="
- !dev-cpp/eigen:0
- ${CDEPEND}"
-
-PATCHES=( "${DISTDIR}"/${P}-cmake.patch )
-
-src_prepare() {
- sed -i \
- -e "s:/usr:${EPREFIX}/usr:g" \
- -e "s:/bin/bash:${EPREFIX}/bin/bash:g" \
- cmake/*.cmake || die
- sed -i \
- -e "/DESTINATION/s:lib:$(get_libdir):g" \
- {blas,lapack}/CMakeLists.txt || die
-
- # TOFIX: static-libs for blas are always built with PIC
- if ! use static-libs; then
- sed \
- -e "/add_dependencies/s/eigen_[a-z]*_static//g" \
- -e "/TARGETS/s/eigen_[a-z]*_static//g" \
- -e "/add_library(eigen_[a-z]*_static/d" \
- -e "/target_link_libraries(eigen_[a-z]*_static/d" \
- -i {blas,lapack}/CMakeLists.txt || die
- fi
-
- sed -i -e "/Unknown build type/d" CMakeLists.txt || die
-
- sed \
- -e '/Cflags/s|:.*|: -I${CMAKE_INSTALL_PREFIX}/${INCLUDE_INSTALL_DIR}|g' \
- -i eigen3.pc.in || die
-
- cmake-utils_src_prepare
-}
-
-src_configure() {
- # TOFIX: is it worth fixing all the automagic given no library is built?
- # cmake has buggy disable_testing feature, so leave it for now
- local mycmakeargs=(
- -DDART_TESTING_TIMEOUT=300
- -DEIGEN_BUILD_BTL=OFF
- )
- export VARTEXFONTS="${T}/fonts"
- export PKG_CONFIG_LIBDIR=/usr/$(get_libdir)/
-
- cmake-utils_src_configure
- # use fortran && FORTRAN_LIBS="blas lapack" not ready
- use fortran && FORTRAN_LIBS="blas"
-}
-
-src_compile() {
- local targets="${FORTRAN_LIBS}"
- use doc && targets+=" doc"
- use test && targets+=" check"
- cmake-utils_src_compile ${targets}
-}
-
-src_install() {
- cmake-utils_src_install
- use doc && dohtml -r "${BUILD_DIR}"/doc/html/*
- local x
- for x in ${FORTRAN_LIBS}; do
- local libname="eigen_${x}"
- emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
- create_pkgconfig \
- --description "${DESCRIPTION} ${x^^} implementation" \
- --libs "-L\${libdir} -l${libname}" \
- --libs-private "-lm" \
- $([[ ${x} == lapack ]] && echo "--requires 'blas'") \
- ${libname}
- alternatives_for ${x} eigen 0 \
- /usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
- done
-
- # Debian installs it and some projects started using it.
- insinto /usr/share/cmake/Modules/
- doins "${S}/cmake/FindEigen3.cmake"
-}
diff --git a/dev-cpp/eigen/eigen-3.2.8-r2.ebuild b/dev-cpp/eigen/eigen-3.2.8-r2.ebuild
deleted file mode 100644
index e93a800aa..000000000
--- a/dev-cpp/eigen/eigen-3.2.8-r2.ebuild
+++ /dev/null
@@ -1,112 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FORTRAN_NEEDED=fortran
-
-inherit alternatives-2 cmake-utils fortran-2 multilib numeric vcs-snapshot
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-SRC_URI="
- https://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2
- https://bitbucket.org/eigen/eigen/commits/1d71b1341c03a7c485289be2c8bd906a259c0487/raw/ -> ${P}-cmake.patch
-"
-
-SLOT="3"
-LICENSE="MPL-2.0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
-
-CDEPEND="
- adolc? ( sci-libs/adolc[sparse?] )
- fftw? ( sci-libs/fftw:3.0 )
- gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 )
- metis? ( sci-libs/metis )
- mkl? ( sci-libs/mkl )
- pastix? ( sci-libs/pastix )
- sparse? (
- dev-cpp/sparsehash
- sci-libs/cholmod[metis?]
- sci-libs/spqr
- sci-libs/superlu
- sci-libs/umfpack
- )"
-DEPEND="
- doc? ( app-doc/doxygen[dot,latex] )
- test? ( ${CDEPEND} )"
-
-RDEPEND="
- !dev-cpp/eigen:0
- ${CDEPEND}"
-
-PATCHES=( "${DISTDIR}"/${P}-cmake.patch )
-
-src_prepare() {
- sed -i \
- -e "s:/usr:${EPREFIX}/usr:g" \
- -e "s:/bin/bash:${EPREFIX}/bin/bash:g" \
- cmake/*.cmake || die
- sed -i \
- -e "/DESTINATION/s:lib:$(get_libdir):g" \
- {blas,lapack}/CMakeLists.txt || die
-
- # TOFIX: static-libs for blas are always built with PIC
- if ! use static-libs; then
- sed \
- -e "/add_dependencies/s/eigen_[a-z]*_static//g" \
- -e "/TARGETS/s/eigen_[a-z]*_static//g" \
- -e "/add_library(eigen_[a-z]*_static/d" \
- -e "/target_link_libraries(eigen_[a-z]*_static/d" \
- -i {blas,lapack}/CMakeLists.txt || die
- fi
-
- sed -i -e "/Unknown build type/d" CMakeLists.txt || die
-
- cmake-utils_src_prepare
-}
-
-src_configure() {
- # TOFIX: is it worth fixing all the automagic given no library is built?
- # cmake has buggy disable_testing feature, so leave it for now
- local mycmakeargs=(
- -DDART_TESTING_TIMEOUT=300
- -DEIGEN_BUILD_BTL=OFF
- )
- export VARTEXFONTS="${T}/fonts"
- export PKG_CONFIG_LIBDIR=/usr/$(get_libdir)/
-
- cmake-utils_src_configure
- # use fortran && FORTRAN_LIBS="blas lapack" not ready
- use fortran && FORTRAN_LIBS="blas"
-}
-
-src_compile() {
- local targets="${FORTRAN_LIBS}"
- use doc && targets+=" doc"
- use test && targets+=" check"
- cmake-utils_src_compile ${targets}
-}
-
-src_install() {
- cmake-utils_src_install
- use doc && dohtml -r "${BUILD_DIR}"/doc/html/*
- local x
- for x in ${FORTRAN_LIBS}; do
- local libname="eigen_${x}"
- emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
- create_pkgconfig \
- --description "${DESCRIPTION} ${x^^} implementation" \
- --libs "-L\${libdir} -l${libname}" \
- --libs-private "-lm" \
- $([[ ${x} == lapack ]] && echo "--requires 'blas'") \
- ${libname}
- alternatives_for ${x} eigen 0 \
- /usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
- done
-
- # Debian installs it and some projects started using it.
- insinto /usr/share/cmake/Modules/
- doins "${S}/cmake/FindEigen3.cmake"
-}
diff --git a/dev-cpp/eigen/eigen-9999.ebuild b/dev-cpp/eigen/eigen-9999.ebuild
deleted file mode 100644
index 266a9ed2b..000000000
--- a/dev-cpp/eigen/eigen-9999.ebuild
+++ /dev/null
@@ -1,108 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-FORTRAN_NEEDED=fortran
-
-inherit alternatives-2 cmake-utils fortran-2 mercurial multilib
-
-DESCRIPTION="C++ template library for linear algebra"
-HOMEPAGE="http://eigen.tuxfamily.org/"
-SRC_URI=""
-EHG_REPO_URI="https://bitbucket.org/eigen/eigen"
-
-SLOT="3"
-LICENSE="MPL-2.0"
-KEYWORDS=""
-IUSE="adolc doc fortran fftw gmp metis mkl pastix sparse static-libs test"
-
-CDEPEND="
- adolc? ( sci-libs/adolc[sparse?] )
- fftw? ( sci-libs/fftw:3.0 )
- gmp? ( dev-libs/gmp:0 dev-libs/mpfr:0 )
- metis? ( sci-libs/metis )
- mkl? ( sci-libs/mkl )
- pastix? ( sci-libs/pastix )
- sparse? (
- dev-cpp/sparsehash
- sci-libs/cholmod[metis?]
- sci-libs/spqr
- sci-libs/superlu
- sci-libs/umfpack
- )"
-DEPEND="
- doc? ( app-doc/doxygen[dot,latex] )
- test? ( ${CDEPEND} )"
-
-RDEPEND="
- !dev-cpp/eigen:0
- ${CDEPEND}"
-
-src_prepare() {
- sed -i \
- -e "s:/usr:${EPREFIX}/usr:g" \
- -e "s:/bin/bash:${EPREFIX}/bin/bash:g" \
- cmake/*.cmake || die
- sed -i \
- -e "/DESTINATION/s:lib:$(get_libdir):g" \
- {blas,lapack}/CMakeLists.txt || die
-
- # TOFIX: static-libs for blas are always built with PIC
- if ! use static-libs; then
- sed \
- -e "/add_dependencies/s/eigen_[a-z]*_static//g" \
- -e "/TARGETS/s/eigen_[a-z]*_static//g" \
- -e "/add_library(eigen_[a-z]*_static/d" \
- -e "/target_link_libraries(eigen_[a-z]*_static/d" \
- -i {blas,lapack}/CMakeLists.txt || die
- fi
-
- sed -i -e "/Unknown build type/d" CMakeLists.txt || die
-
- cmake-utils_src_prepare
-}
-
-src_configure() {
- # TOFIX: is it worth fixing all the automagic given no library is built?
- # cmake has buggy disable_testing feature, so leave it for now
- local mycmakeargs=(
- -DDART_TESTING_TIMEOUT=300
- -DEIGEN_BUILD_BTL=OFF
- )
- export VARTEXFONTS="${T}/fonts"
- export PKG_CONFIG_LIBDIR=/usr/$(get_libdir)/
-
- cmake-utils_src_configure
- # use fortran && FORTRAN_LIBS="blas lapack" not ready
- use fortran && FORTRAN_LIBS="blas"
-}
-
-src_compile() {
- local targets="${FORTRAN_LIBS}"
- use doc && targets+=" doc"
- use test && targets+=" check"
- cmake-utils_src_compile ${targets}
-}
-
-src_install() {
- cmake-utils_src_install
- use doc && dohtml -r "${BUILD_DIR}"/doc/html/*
- local x
- for x in ${FORTRAN_LIBS}; do
- local libname="eigen_${x}"
- emake DESTDIR="${D}" -C "${BUILD_DIR}/${x}" install ${libname}
- create_pkgconfig \
- --description "${DESCRIPTION} ${x^^} implementation" \
- --libs "-L\${libdir} -l${libname}" \
- --libs-private "-lm" \
- $([[ ${x} == lapack ]] && echo "--requires 'blas'") \
- ${libname}
- alternatives_for ${x} eigen 0 \
- /usr/$(get_libdir)/pkgconfig/${x}.pc ${libname}.pc
- done
-
- # Debian installs it and some projects started using it.
- insinto /usr/share/cmake/Modules/
- doins "${S}/cmake/FindEigen3.cmake"
-}
diff --git a/dev-cpp/eigen/metadata.xml b/dev-cpp/eigen/metadata.xml
deleted file mode 100644
index ed850b49c..000000000
--- a/dev-cpp/eigen/metadata.xml
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>sci@gentoo.org</email>
- <name>Gentoo Science Project</name>
- </maintainer>
- <longdescription lang="en">
-Eigen is a lightweight C++ template library for vector and matrix math,
-a.k.a. linear algebra. Unlike most other linear algebra libraries, Eigen
-focuses on the simple mathematical needs of applications: games and other
-OpenGL apps, spreadsheets and other office apps, etc. Eigen is dedicated to
-providing optimal speed with GCC.
-</longdescription>
- <use>
- <flag name="adolc">
-Enable automatic differentiation using <pkg>sci-libs/adolc</pkg>
-</flag>
- <flag name="metis">
-Enable matrix partitioning using <pkg>sci-libs/metis</pkg></flag>
- <flag name="mkl">
-Use propertary intel blas/lapack implementation through <pkg>sci-libs/mkl</pkg>
-</flag>
- <flag name="pastix">
-Enable large scale direct solver with using <pkg>sci-libs/pastix</pkg>
-</flag>
- <flag name="sparse">
-Enable use for extra sparse matrix with <pkg>sci-libs/umfpack</pkg>, <pkg>sci-libs/cholmod</pkg>, <pkg>sci-libs/superlu</pkg> and <pkg>dev-cpp/sparsehash</pkg>
-</flag>
- </use>
- <upstream>
- <remote-id type="bitbucket">eigen/eigen</remote-id>
- </upstream>
-</pkgmetadata>