bicatali    14/06/10 20:35:54

  Modified:             ChangeLog
  Added:                libdynd-0.6.2.ebuild
  Log:
  Version bump
  
  (Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 
0x13CB1360)

Revision  Changes    Path
1.2                  dev-libs/libdynd/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/ChangeLog?rev=1.2&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/ChangeLog?rev=1.2&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/ChangeLog?r1=1.1&r2=1.2

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-libs/libdynd/ChangeLog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- ChangeLog   10 Feb 2014 23:30:10 -0000      1.1
+++ ChangeLog   10 Jun 2014 20:35:54 -0000      1.2
@@ -1,6 +1,12 @@
 # ChangeLog for dev-libs/libdynd
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdynd/ChangeLog,v 1.1 2014/02/10 
23:30:10 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdynd/ChangeLog,v 1.2 2014/06/10 
20:35:54 bicatali Exp $
+
+*libdynd-0.6.2 (10 Jun 2014)
+
+  10 Jun 2014; Sébastien Fabbro <bicat...@gentoo.org>
+  +files/libdynd-0.6.2-out-of-git-versioning.patch, +libdynd-0.6.2.ebuild:
+  Version bump
 
 *libdynd-0.6.0 (10 Feb 2014)
 



1.1                  dev-libs/libdynd/libdynd-0.6.2.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/libdynd-0.6.2.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/libdynd-0.6.2.ebuild?rev=1.1&content-type=text/plain

Index: libdynd-0.6.2.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdynd/libdynd-0.6.2.ebuild,v 1.1 
2014/06/10 20:35:53 bicatali Exp $

EAPI=5

inherit cmake-utils multilib cuda

# change each release, to avoid git in tree dependency
DYND_GIT_SHA1=d230bee7000da1c2b1ab171389df70050fa76e71

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 test"

RDEPEND="dev-libs/c-blosc:0=
        cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit )"
DEPEND="${RDEPEND}"

DOCS=( README.md )

PATCHES=(
        "${FILESDIR}"/${PN}-0.6.0-dont-install-test.patch
        "${FILESDIR}"/${PN}-0.6.0-respect-libdir.patch
        "${FILESDIR}"/${PN}-0.6.2-out-of-git-versioning.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/*
}




Reply via email to