From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 99BFD138334 for ; Mon, 25 Nov 2019 05:43:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B565EE09E3; Mon, 25 Nov 2019 05:43:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 884F8E09E3 for ; Mon, 25 Nov 2019 05:43:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AFC3A34D319 for ; Mon, 25 Nov 2019 05:43:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 455DA8BC for ; Mon, 25 Nov 2019 05:43:41 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1574660592.b2dbc48bbef9da4ab35b75afbc04d0cfff25b9a9.heroxbd@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-cpp/eigen/ X-VCS-Repository: proj/sci X-VCS-Files: dev-cpp/eigen/eigen-3.2.7-r1.ebuild dev-cpp/eigen/eigen-3.2.8-r2.ebuild dev-cpp/eigen/eigen-9999.ebuild dev-cpp/eigen/metadata.xml X-VCS-Directories: dev-cpp/eigen/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: b2dbc48bbef9da4ab35b75afbc04d0cfff25b9a9 X-VCS-Branch: master Date: Mon, 25 Nov 2019 05:43:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: fc61d175-10bd-4a6b-ae88-f2587f4adce7 X-Archives-Hash: 0ecf019b8eebc93af15163f5fd643f37 commit: b2dbc48bbef9da4ab35b75afbc04d0cfff25b9a9 Author: Benda Xu gentoo org> AuthorDate: Mon Nov 25 05:40:08 2019 +0000 Commit: Benda XU gentoo org> CommitDate: Mon Nov 25 05:43:12 2019 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=b2dbc48b dev-cpp/eigen: merged into ::gentoo and remove. Closes: https://github.com/gentoo/sci/issues/799 Signed-off-by: Benda Xu gentoo.org> dev-cpp/eigen/eigen-3.2.7-r1.ebuild | 116 ------------------------------------ dev-cpp/eigen/eigen-3.2.8-r2.ebuild | 112 ---------------------------------- dev-cpp/eigen/eigen-9999.ebuild | 108 --------------------------------- dev-cpp/eigen/metadata.xml | 34 ----------- 4 files changed, 370 deletions(-) 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 @@ - - - - - sci@gentoo.org - Gentoo Science Project - - -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. - - - -Enable automatic differentiation using sci-libs/adolc - - -Enable matrix partitioning using sci-libs/metis - -Use propertary intel blas/lapack implementation through sci-libs/mkl - - -Enable large scale direct solver with using sci-libs/pastix - - -Enable use for extra sparse matrix with sci-libs/umfpack, sci-libs/cholmod, sci-libs/superlu and dev-cpp/sparsehash - - - - eigen/eigen - -