From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 15C4D1388C1 for ; Sat, 28 Nov 2015 18:08:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C1DF21C10E; Sat, 28 Nov 2015 18:08:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4F21421C10D for ; Sat, 28 Nov 2015 18:08:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E63073408EC for ; Sat, 28 Nov 2015 18:08:06 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A35A3A8E for ; Sat, 28 Nov 2015 18:08:04 +0000 (UTC) From: "Justin Lecher" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Justin Lecher" Message-ID: <1448733060.7e8e5efadb27f201f96716c808eb39d991faf4c0.jlec@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/lapacke-reference/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild sci-libs/lapacke-reference/metadata.xml X-VCS-Directories: sci-libs/lapacke-reference/ X-VCS-Committer: jlec X-VCS-Committer-Name: Justin Lecher X-VCS-Revision: 7e8e5efadb27f201f96716c808eb39d991faf4c0 X-VCS-Branch: master Date: Sat, 28 Nov 2015 18:08:04 +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-Archives-Salt: 70b39d17-453b-4e4e-8d90-e9a40ed29989 X-Archives-Hash: e51473538fc1b96f9af1603befaca327 commit: 7e8e5efadb27f201f96716c808eb39d991faf4c0 Author: Justin Lecher gentoo org> AuthorDate: Sat Nov 28 17:51:00 2015 +0000 Commit: Justin Lecher gentoo org> CommitDate: Sat Nov 28 17:51:00 2015 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=7e8e5efa sci-libs/lapacke-reference: Drop old Package-Manager: portage-2.2.25 Signed-off-by: Justin Lecher gentoo.org> .../lapacke-reference-3.4.2.ebuild | 103 --------------------- sci-libs/lapacke-reference/metadata.xml | 12 +-- 2 files changed, 6 insertions(+), 109 deletions(-) diff --git a/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild b/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild deleted file mode 100644 index 2c53640..0000000 --- a/sci-libs/lapacke-reference/lapacke-reference-3.4.2.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit alternatives-2 cmake-utils eutils fortran-2 toolchain-funcs - -FORTRAN_NEEDED=test - -MYP=lapack-${PV} - -if [[ ${PV} == "9999" ]] ; then - ESVN_REPO_URI="https://icl.cs.utk.edu/svn/lapack-dev/lapack/trunk" - inherit subversion - KEYWORDS="" -else - SRC_URI="http://www.netlib.org/lapack/${MYP}.tgz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -fi - -DESCRIPTION="C Interface to LAPACK" -HOMEPAGE="http://www.netlib.org/lapack/" - -LICENSE="BSD" -SLOT="0" -IUSE="static-libs test tmg xblas" - -RDEPEND=" - virtual/blas - virtual/lapack - tmg? ( sci-libs/tmglib ) - xblas? ( sci-libs/xblas )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -S="${WORKDIR}/${MYP}" - -src_prepare() { - # rename libraries to avoid collision with other lapacke - sed -i \ - -e 's:BINARY_DIR}/lapacke.pc:BINARY_DIR}/reflapacke.pc:' \ - -e '/export/s:lapacke:reflapacke:g' \ - -e '/ALL_TARGETS/s:lapacke):reflapacke):' \ - -e '/LAPACK_LIBRARIES/s:lapacke:reflapacke:g' \ - CMakeLists.txt || die - sed -i \ - -e '/librar/s:(lapacke:(reflapacke:g' \ - lapacke/CMakeLists.txt || die - sed -i \ - -e '/librar/s:lapacke:reflapacke:g' \ - lapacke/example/CMakeLists.txt || die - local tmgpc; use tmg && tmgpc=" -ltmglib" - sed -i \ - -e "s:-llapacke:-lreflapacke${tmgpc}:g" \ - lapacke/lapacke.pc.in || die - use static-libs && mkdir "${WORKDIR}/${PN}_static" -} - -src_configure() { - lapack_configure() { - local mycmakeargs=( - -DUSE_OPTIMIZED_BLAS=ON - -DUSE_OPTIMIZED_LAPACK=ON - -DLAPACKE=ON - -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)" - -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)" - $(cmake-utils_use tmg LAPACKE_WITH_TMG) - $(cmake-utils_use_build test TESTING) - $(cmake-utils_use_use xblas XBLAS) - $@ - ) - cmake-utils_src_configure - } - - lapack_configure -DBUILD_SHARED_LIBS=ON -DBUILD_STATIC_LIBS=OFF - use static-libs && \ - CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" lapack_configure \ - -DBUILD_SHARED_LIBS=OFF -DBUILD_STATIC_LIBS=ON -} - -src_compile() { - use test && cmake-utils_src_compile -C TESTING/MATGEN - cmake-utils_src_compile -C lapacke - use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \ - cmake-utils_src_compile -C lapacke -} - -src_test() { - pushd "${CMAKE_BUILD_DIR}/lapacke" > /dev/null - local ctestargs - [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure" - ctest ${ctestargs} || die - popd > /dev/null -} - -src_install() { - cmake-utils_src_install -C lapacke - use static-libs && CMAKE_BUILD_DIR="${WORKDIR}/${PN}_static" \ - cmake-utils_src_install -C lapacke - alternatives_for lapacke reference 0 \ - /usr/$(get_libdir)/pkgconfig/lapacke.pc reflapacke.pc -} diff --git a/sci-libs/lapacke-reference/metadata.xml b/sci-libs/lapacke-reference/metadata.xml index 0d4e062..3e5f078 100644 --- a/sci-libs/lapacke-reference/metadata.xml +++ b/sci-libs/lapacke-reference/metadata.xml @@ -1,15 +1,15 @@ -sci - + sci + This implementation provides a native C interface to LAPACK routines available at www.netlib.org/lapack to facilitate usage of LAPACK functionality for C programmers. - - Build LAPACKE with a Test Matrix Generator library - Build LAPACKE with extra precision (needs + + Build LAPACKE with a Test Matrix Generator library + Build LAPACKE with extra precision (needs sci-libs/xblas) - +