Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/libdynd: libdynd-0.6.5.ebuild metadata.xml ChangeLog
Date: Wed, 29 Oct 2014 15:41:13
Message-Id: 20141029154109.5A8009026@oystercatcher.gentoo.org
1 jlec 14/10/29 15:41:09
2
3 Modified: metadata.xml ChangeLog
4 Added: libdynd-0.6.5.ebuild
5 Log:
6 dev-libs/libdynd: Version BUmp
7
8 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.2 dev-libs/libdynd/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/metadata.xml?rev=1.2&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/metadata.xml?rev=1.2&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/metadata.xml?r1=1.1&r2=1.2
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libdynd/metadata.xml,v
20 retrieving revision 1.1
21 retrieving revision 1.2
22 diff -u -r1.1 -r1.2
23 --- metadata.xml 10 Feb 2014 23:30:10 -0000 1.1
24 +++ metadata.xml 29 Oct 2014 15:41:09 -0000 1.2
25 @@ -1,8 +1,8 @@
26 <?xml version="1.0" encoding="UTF-8"?>
27 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
28 <pkgmetadata>
29 -<herd>sci</herd>
30 -<longdescription lang='en'>
31 + <herd>sci</herd>
32 + <longdescription lang="en">
33 LibDyND, a component of the Blaze project, is a C++ library for
34 dynamic, multidimensional arrays. It is inspired by NumPy, the
35 Python array programming library at the core of the scientific
36 @@ -12,4 +12,7 @@
37 preview development state, and can be thought of as a sandbox where
38 features are being tried and tweaked to gain experience with them.
39 </longdescription>
40 + <use>
41 + <flag name="cuda">Enable NVIDIA CUDA toolkit support</flag>
42 + </use>
43 </pkgmetadata>
44
45
46
47 1.3 dev-libs/libdynd/ChangeLog
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/ChangeLog?rev=1.3&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/ChangeLog?rev=1.3&content-type=text/plain
51 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/ChangeLog?r1=1.2&r2=1.3
52
53 Index: ChangeLog
54 ===================================================================
55 RCS file: /var/cvsroot/gentoo-x86/dev-libs/libdynd/ChangeLog,v
56 retrieving revision 1.2
57 retrieving revision 1.3
58 diff -u -r1.2 -r1.3
59 --- ChangeLog 10 Jun 2014 20:35:54 -0000 1.2
60 +++ ChangeLog 29 Oct 2014 15:41:09 -0000 1.3
61 @@ -1,6 +1,12 @@
62 # ChangeLog for dev-libs/libdynd
63 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
64 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdynd/ChangeLog,v 1.2 2014/06/10 20:35:54 bicatali Exp $
65 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdynd/ChangeLog,v 1.3 2014/10/29 15:41:09 jlec Exp $
66 +
67 +*libdynd-0.6.5 (29 Oct 2014)
68 +
69 + 29 Oct 2014; Justin Lecher <jlec@g.o> +libdynd-0.6.5.ebuild,
70 + metadata.xml:
71 + Version BUmp
72
73 *libdynd-0.6.2 (10 Jun 2014)
74
75
76
77
78 1.1 dev-libs/libdynd/libdynd-0.6.5.ebuild
79
80 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/libdynd-0.6.5.ebuild?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/libdynd/libdynd-0.6.5.ebuild?rev=1.1&content-type=text/plain
82
83 Index: libdynd-0.6.5.ebuild
84 ===================================================================
85 # Copyright 1999-2014 Gentoo Foundation
86 # Distributed under the terms of the GNU General Public License v2
87 # $Header: /var/cvsroot/gentoo-x86/dev-libs/libdynd/libdynd-0.6.5.ebuild,v 1.1 2014/10/29 15:41:09 jlec Exp $
88
89 EAPI=5
90
91 inherit cmake-utils multilib cuda
92
93 # change each release, to avoid git in tree dependency
94 DYND_GIT_SHA1=2e140844d4a21c436ca0fc46996bf8606ffc21d5
95
96 DESCRIPTION="C++ dynamic multi-dimensionnal array library with Python exposure"
97 HOMEPAGE="https://github.com/ContinuumIO/libdynd"
98 SRC_URI="https://github.com/ContinuumIO/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
99
100 LICENSE="BSD"
101 SLOT="0/${PV}"
102 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
103 IUSE="cuda doc fftw test"
104
105 RDEPEND="
106 dev-libs/c-blosc:0=
107 cuda? ( x11-drivers/nvidia-drivers dev-util/nvidia-cuda-toolkit )
108 fftw? ( sci-libs/fftw:3.0 )
109 "
110 DEPEND="${RDEPEND}"
111
112 DOCS=( README.md )
113
114 PATCHES=(
115 "${FILESDIR}"/${PN}-0.6.0-dont-install-test.patch
116 )
117
118 src_prepare() {
119 cmake-utils_src_prepare
120 # each relase comes with a different set...
121 # remove forced strong flags
122 sed -i \
123 -e "s|@DYND_GIT_SHA1@|${DYND_GIT_SHA1}|" \
124 -e "s|@DYND_VERSION@|${PV}|" \
125 -e 's|-fomit-frame-pointer||' \
126 -e 's|-Werror||g' \
127 CMakeLists.txt || die
128 }
129
130 src_configure() {
131 sed -i \
132 -e '/add_subdirectory(examples)/d' \
133 CMakeLists.txt || die
134 local mycmakeargs=(
135 -DDYND_SHARED_LIB=ON
136 -DDYND_INSTALL_LIB=ON
137 $(cmake-utils_use cuda DYND_CUDA)
138 $(cmake-utils_use test DYND_BUILD_TESTS)
139 )
140 cmake-utils_src_configure
141 }
142
143 src_test() {
144 cd "${BUILD_DIR}" || die
145 ./tests/test_libdynd || die
146 }
147
148 src_install() {
149 cmake-utils_src_install
150 use doc && dodoc documents/*
151 }