commit: 08b9ff19f7cc09585c640b206701d8c4767ca88f Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> AuthorDate: Mon Aug 5 06:45:47 2019 +0000 Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> CommitDate: Mon Aug 5 06:45:47 2019 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=08b9ff19
sci-mathematics/slepc: merge into ::gentoo and remove from overlay. Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> sci-mathematics/slepc/metadata.xml | 15 ------- sci-mathematics/slepc/slepc-3.10.2.ebuild | 74 ------------------------------- sci-mathematics/slepc/slepc-3.11.1.ebuild | 74 ------------------------------- 3 files changed, 163 deletions(-) diff --git a/sci-mathematics/slepc/metadata.xml b/sci-mathematics/slepc/metadata.xml deleted file mode 100644 index 046ec6c8f..000000000 --- a/sci-mathematics/slepc/metadata.xml +++ /dev/null @@ -1,15 +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>Matthias Maier</name> - </maintainer> - <maintainer type="project"> - <email>[email protected]</email> - <name>Gentoo Mathematics Project</name> - </maintainer> - <use> - <flag name="complex-scalars">Make scalars complex</flag> - </use> -</pkgmetadata> diff --git a/sci-mathematics/slepc/slepc-3.10.2.ebuild b/sci-mathematics/slepc/slepc-3.10.2.ebuild deleted file mode 100644 index 2009090c1..000000000 --- a/sci-mathematics/slepc/slepc-3.10.2.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit eutils flag-o-matic python-any-r1 toolchain-funcs versionator - -DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" -HOMEPAGE="http://slepc.upv.es/" -SRC_URI="http://slepc.upv.es/download/distrib/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="complex-scalars doc mpi" - -PETSC_PV="$(get_version_component_range 1-2 ${PV})" -RDEPEND=" - =sci-mathematics/petsc-${PETSC_PV}*:=[mpi=,complex-scalars=] - sci-libs/arpack[mpi=] - mpi? ( virtual/mpi ) -" - -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - virtual/pkgconfig - dev-util/cmake -" - -MAKEOPTS="${MAKEOPTS} -j1 V=1" - -src_prepare() { - default - - sed -i -e 's%/usr/bin/env python%/usr/bin/env python2%' configure || die -} - -src_configure() { - # *sigh* - addpredict "${PETSC_DIR}"/.nagged - - # Make sure that the environment is set up correctly: - unset PETSC_DIR - unset PETSC_ARCH - unset SLEPC_DIR - source "${EPREFIX}"/etc/env.d/99petsc - export PETSC_DIR - - # configure is a custom python script and doesn't want to have default - # configure arguments that we set with econf - ./configure \ - --prefix="${EPREFIX}/usr/$(get_libdir)/slepc" \ - --with-arpack=1 \ - --with-arpack-dir="${EPREFIX}/usr/$(get_libdir)" \ - --with-arpack-flags="$(usex mpi "-lparpack,-larpack" "-larpack")" - -} - -src_install() { - emake SLEPC_DESTDIR="${D}/usr/$(get_libdir)/slepc" install - - # add PETSC_DIR to environmental variables - cat >> 99slepc <<- EOF - SLEPC_DIR=${EPREFIX}/usr/$(get_libdir)/slepc - EOF - doenvd 99slepc - - if use doc ; then - dodoc docs/slepc.pdf - dohtml -r docs/*.html docs/manualpages - fi -} diff --git a/sci-mathematics/slepc/slepc-3.11.1.ebuild b/sci-mathematics/slepc/slepc-3.11.1.ebuild deleted file mode 100644 index 19000343d..000000000 --- a/sci-mathematics/slepc/slepc-3.11.1.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python2_7 ) - -inherit eutils flag-o-matic python-any-r1 toolchain-funcs versionator - -DESCRIPTION="Scalable Library for Eigenvalue Problem Computations" -HOMEPAGE="http://slepc.upv.es/" -SRC_URI="http://slepc.upv.es/download/distrib/${P}.tar.gz" - -LICENSE="LGPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="complex-scalars doc mpi" - -PETSC_PV="$(get_version_component_range 1-2 ${PV})" -RDEPEND=" - =sci-mathematics/petsc-${PETSC_PV}*:=[mpi=,complex-scalars=] - sci-libs/arpack[mpi=] - mpi? ( virtual/mpi ) -" - -DEPEND="${RDEPEND} - ${PYTHON_DEPS} - virtual/pkgconfig - dev-util/cmake -" - -MAKEOPTS="${MAKEOPTS} -j1 V=1" - -src_prepare() { - default - - sed -i -e 's%/usr/bin/env python%/usr/bin/env python2%' configure || die -} - -src_configure() { - # *sigh* - addpredict "${PETSC_DIR}"/.nagged - - # Make sure that the environment is set up correctly: - unset PETSC_DIR - unset PETSC_ARCH - unset SLEPC_DIR - source "${EPREFIX}"/etc/env.d/99petsc - export PETSC_DIR - - # configure is a custom python script and doesn't want to have default - # configure arguments that we set with econf - ./configure \ - --prefix="${EPREFIX}/usr/$(get_libdir)/slepc" \ - --with-arpack=1 \ - --with-arpack-dir="${EPREFIX}/usr/$(get_libdir)" \ - --with-arpack-flags="$(usex mpi "-lparpack,-larpack" "-larpack")" - -} - -src_install() { - emake DESTDIR="${ED}" install - - # add PETSC_DIR to environmental variables - cat >> 99slepc <<- EOF - SLEPC_DIR=${EPREFIX}/usr/$(get_libdir)/slepc - EOF - doenvd 99slepc - - if use doc ; then - dodoc docs/slepc.pdf - dohtml -r docs/*.html docs/manualpages - fi -}
