Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-astronomy/casacore: metadata.xml ChangeLog casacore-1.5.0.ebuild casacore-1.3.0.ebuild
Date: Tue, 05 Jun 2012 22:35:45
Message-Id: 20120605223534.AF13A2004C@flycatcher.gentoo.org
1 bicatali 12/06/05 22:35:34
2
3 Modified: metadata.xml ChangeLog
4 Added: casacore-1.5.0.ebuild
5 Removed: casacore-1.3.0.ebuild
6 Log:
7 Version bump. Now adds the data package
8
9 (Portage version: 2.1.10.63/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.3 sci-astronomy/casacore/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/casacore/metadata.xml?rev=1.3&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/casacore/metadata.xml?rev=1.3&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/casacore/metadata.xml?r1=1.2&r2=1.3
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/casacore/metadata.xml,v
21 retrieving revision 1.2
22 retrieving revision 1.3
23 diff -u -r1.2 -r1.3
24 --- metadata.xml 31 Mar 2012 17:03:08 -0000 1.2
25 +++ metadata.xml 5 Jun 2012 22:35:34 -0000 1.3
26 @@ -1,11 +1,16 @@
27 <?xml version="1.0" encoding="UTF-8"?>
28 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
29 <pkgmetadata>
30 - <herd>sci-astronomy</herd>
31 - <longdescription lang="en">A set of libraries for the the Common Astronomy Software
32 +<herd>sci-astronomy</herd>
33 +<longdescription lang="en">
34 + A set of libraries for the the Common Astronomy Software
35 Applications for radioastronomy. This project contains C++ libraries
36 - which were the code of the discontinued AIPS++ package.</longdescription>
37 - <upstream>
38 - <remote-id type="google-code">casacore</remote-id>
39 - </upstream>
40 + which were the code of the discontinued AIPS++ package.
41 +</longdescription>
42 +<upstream>
43 + <remote-id type="google-code">casacore</remote-id>
44 +</upstream>
45 +<use>
46 + <flag name="data">Installs measures and data (pulls <pkg>sci-astronomy/casa-data</pkg>)</flag>
47 +</use>
48 </pkgmetadata>
49
50
51
52 1.4 sci-astronomy/casacore/ChangeLog
53
54 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/casacore/ChangeLog?rev=1.4&view=markup
55 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/casacore/ChangeLog?rev=1.4&content-type=text/plain
56 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/casacore/ChangeLog?r1=1.3&r2=1.4
57
58 Index: ChangeLog
59 ===================================================================
60 RCS file: /var/cvsroot/gentoo-x86/sci-astronomy/casacore/ChangeLog,v
61 retrieving revision 1.3
62 retrieving revision 1.4
63 diff -u -r1.3 -r1.4
64 --- ChangeLog 11 May 2012 21:51:50 -0000 1.3
65 +++ ChangeLog 5 Jun 2012 22:35:34 -0000 1.4
66 @@ -1,6 +1,13 @@
67 # ChangeLog for sci-astronomy/casacore
68 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
69 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/casacore/ChangeLog,v 1.3 2012/05/11 21:51:50 bicatali Exp $
70 +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/casacore/ChangeLog,v 1.4 2012/06/05 22:35:34 bicatali Exp $
71 +
72 +*casacore-1.5.0 (05 Jun 2012)
73 +
74 + 05 Jun 2012; Sébastien Fabbro <bicatali@g.o>
75 + +files/1.5.0-gcc47.patch, +files/1.5.0-sysdep.patch, -casacore-1.3.0.ebuild,
76 + +casacore-1.5.0.ebuild, metadata.xml:
77 + Version bump. Now adds the data package
78
79 *casacore-1.4.0 (11 May 2012)
80
81
82
83
84 1.1 sci-astronomy/casacore/casacore-1.5.0.ebuild
85
86 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/casacore/casacore-1.5.0.ebuild?rev=1.1&view=markup
87 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-astronomy/casacore/casacore-1.5.0.ebuild?rev=1.1&content-type=text/plain
88
89 Index: casacore-1.5.0.ebuild
90 ===================================================================
91 # Copyright 1999-2012 Gentoo Foundation
92 # Distributed under the terms of the GNU General Public License v2
93 # $Header: /var/cvsroot/gentoo-x86/sci-astronomy/casacore/casacore-1.5.0.ebuild,v 1.1 2012/06/05 22:35:34 bicatali Exp $
94
95 EAPI=4
96
97 inherit cmake-utils eutils toolchain-funcs fortran-2
98
99 DESCRIPTION="Core libraries for the Common Astronomy Software Applications"
100 HOMEPAGE="http://code.google.com/p/casacore/"
101 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
102
103 LICENSE="GPL-2"
104 KEYWORDS="~amd64 ~x86"
105 SLOT="0"
106 IUSE="+data doc fftw hdf5 openmp threads test"
107
108 RDEPEND="sci-libs/cfitsio
109 sci-astronomy/wcslib
110 sys-libs/readline
111 virtual/blas
112 virtual/fortran
113 virtual/lapack
114 data? ( sci-astronomy/casa-data )
115 fftw? ( >=sci-libs/fftw-3 )
116 hdf5? ( sci-libs/hdf5 )"
117 DEPEND="${RDEPEND}
118 virtual/pkgconfig
119 doc? ( app-doc/doxygen )
120 test? ( sci-astronomy/casa-data )"
121
122 PATCHES=(
123 "${FILESDIR}"/1.3.0-implicits.patch
124 "${FILESDIR}"/1.3.0-libdir.patch
125 "${FILESDIR}"/1.5.0-sysdep.patch
126 "${FILESDIR}"/1.5.0-gcc47.patch
127 )
128
129 pkg_setup() {
130 if use openmp && [[ $(tc-getCC)$ == *gcc* ]] && ! tc-has-openmp; then
131 ewarn "You are using gcc but without OpenMP capabilities"
132 die "Need an OpenMP capable compiler"
133 fi
134 fortran-2_pkg_setup
135 }
136
137 src_configure() {
138 has_version sci-libs/hdf5[mpi] && export CXX=mpicxx
139 mycmakeargs+=(
140 -DENABLE_SHARED=ON
141 -DDATA_DIR="${EPREFIX}/usr/share/casa/data"
142 $(cmake-utils_use_build test TESTING)
143 $(cmake-utils_use_use fftw FFTW3)
144 $(cmake-utils_use_use hdf5 HDF5)
145 $(cmake-utils_use_use threads THREADS)
146 $(cmake-utils_use_use openmp OPENMP)
147 )
148 cmake-utils_src_configure
149 }
150
151 src_compile() {
152 cmake-utils_src_compile
153 use doc && doxygen doxygen.cfg
154 }
155
156 src_install(){
157 cmake-utils_src_install
158 use doc && dohtml -r doc/html
159 }