From 4c47a1156e93ea59133a4818f7d235ffa69cabcb Mon Sep 17 00:00:00 2001 From: David Seifert Date: Tue, 10 Jan 2017 13:29:11 +0200 Subject: Revert "dev-libs/libdynd: version bump" This reverts commit 534b09a8949b7a27832196be14f6f4ec295f3e8b. --- dev-libs/libdynd/libdynd-0.6.5.ebuild | 67 +++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 dev-libs/libdynd/libdynd-0.6.5.ebuild (limited to 'dev-libs/libdynd/libdynd-0.6.5.ebuild') diff --git a/dev-libs/libdynd/libdynd-0.6.5.ebuild b/dev-libs/libdynd/libdynd-0.6.5.ebuild new file mode 100644 index 000000000000..49451de5e38a --- /dev/null +++ b/dev-libs/libdynd/libdynd-0.6.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit cmake-utils multilib cuda + +# change each release, to avoid git in tree dependency +DYND_GIT_SHA1=2e140844d4a21c436ca0fc46996bf8606ffc21d5 + +DESCRIPTION="C++ dynamic multi-dimensionnal array library with Python exposure" +HOMEPAGE="https://github.com/ContinuumIO/libdynd" +SRC_URI="https://github.com/ContinuumIO/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" +IUSE="cuda doc fftw test" + +RDEPEND=" + dev-libs/c-blosc:0= + cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit ) + fftw? ( sci-libs/fftw:3.0 ) + " +DEPEND="${RDEPEND}" + +DOCS=( README.md ) + +PATCHES=( + "${FILESDIR}"/${PN}-0.6.0-dont-install-test.patch +) + +src_prepare() { + cmake-utils_src_prepare + # each relase comes with a different set... + # remove forced strong flags + sed -i \ + -e "s|@DYND_GIT_SHA1@|${DYND_GIT_SHA1}|" \ + -e "s|@DYND_VERSION@|${PV}|" \ + -e 's|-fomit-frame-pointer||' \ + -e 's|-Werror||g' \ + CMakeLists.txt || die +} + +src_configure() { + sed -i \ + -e '/add_subdirectory(examples)/d' \ + CMakeLists.txt || die + local mycmakeargs=( + -DDYND_SHARED_LIB=ON + -DDYND_INSTALL_LIB=ON + $(cmake-utils_use cuda DYND_CUDA) + $(cmake-utils_use test DYND_BUILD_TESTS) + ) + cmake-utils_src_configure +} + +src_test() { + cd "${BUILD_DIR}" || die + ./tests/test_libdynd || die +} + +src_install() { + cmake-utils_src_install + use doc && dodoc documents/* +} -- cgit v1.2.3-65-gdbad