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-mathematics/dataplot: metadata.xml Manifest dataplot-20080225.ebuild ChangeLog
Date: Wed, 04 Jun 2008 16:31:47
Message-Id: E1K3vtl-0001FB-F6@stork.gentoo.org
1 bicatali 08/06/04 16:31:41
2
3 Added: metadata.xml Manifest dataplot-20080225.ebuild
4 ChangeLog
5 Log:
6 Initial import from sunrise. Proxy-maintaining for Thomas Anderson
7 (Portage version: 2.1.5.3)
8
9 Revision Changes Path
10 1.1 sci-mathematics/dataplot/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/dataplot/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/dataplot/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>sci-mathematics</herd>
21 <maintainer>
22 <email>gentoofan23@×××××.com</email>
23 <name>Thomas Anderson</name>
24 <description>Third party maintainer, through the sci-mathematics herd
25 as a proxy
26 </description>
27 </maintainer>
28 <longdescription lang="en">
29 Dataplot is a software system for scientific visualization,
30 statistical analysis, and non-linear modeling. The target Dataplot
31 user is the researcher and analyst engaged in the characterization,
32 modeling, visualization, analysis, monitoring, and optimization of
33 scientific and engineering processes (original version:1978).
34 Gentoo version adds autotools to facilitate building and robustness.
35 </longdescription>
36 </pkgmetadata>
37
38
39
40 1.1 sci-mathematics/dataplot/Manifest
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/dataplot/Manifest?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/dataplot/Manifest?rev=1.1&content-type=text/plain
44
45 Index: Manifest
46 ===================================================================
47 AUX 90dataplot 75 RMD160 d561beb32d6b98a1809fa46a103beaa115450585 SHA1 160b11d262ee4aac6d1af48dc96af905d1724a55 SHA256 a0e547d52eca3ec872bd996712e93d550d65f66a693416ce6944504cab78df6c
48 AUX Makefile.am.20080225 1246 RMD160 05e5b07336606da88381a31882f32b482e807d22 SHA1 acb5e834086dbf895e60cb75a8807dfa763f5372 SHA256 083de39fb87096dc26209b2084d04d9ead949a0c8a87f6da9dddb21899acbfef
49 AUX configure.ac.20080225 2967 RMD160 7e5f8a192fba3e5e4441b912bec60e97f3c3c981 SHA1 2a8ea0e90240071cd3d80d1af88fc54266ad9a07 SHA256 a89eade674ffaf683b73537133e56df6d6ccc3093ea78c783049400a845eec85
50 AUX dpsrc-dp1patches-20080225.patch 3003 RMD160 e3480165e3ce77e8f74bb8b1f20ba4beecc54d76 SHA1 16616bd81b6e91dcf3a105d97d593794711c4901 SHA256 3279e55fafa3e43700f5f7df3f8422b0f124d1e12cd356f344f85cb33a0b3551
51 AUX dpsrc-patchset-20080225.patch 4587 RMD160 a582f14dbe92cb3802b641b737d726ed2d39d527 SHA1 3aa03d5d53135ca9ac1464f26a3eceae4a8a9d3a SHA256 4a1c7ca2418558a857bd7d55d0815c5caa6fbe911bd4bf320b8460aa917effbb
52 DIST dplib.02_25_2008.tar.gz 5340447 RMD160 51b5892c83bb5d420f324e3dab5edec24925f728 SHA1 3a77ed5e1e49f377083a11b8a177f678284b91f2 SHA256 7f9a30ae8ab029e0eeca4fbe08e665b572ec98a05ec001a67f95e4857d2a5b05
53 DIST dpsrc.02_25_2008.tar.gz 6399167 RMD160 ed14f8ceb225e86f25026916ab4934a140f602ae SHA1 f1023d99ec7d2a64611dabedfbc5ad6f16e67cf7 SHA256 794bedcc48cf444c5813f864f4bacb158474d450337279edaf7fba1055c552c6
54 EBUILD dataplot-20080225.ebuild 2635 RMD160 49e4813f81eee73c29f1e30cc308067c9b96dfdf SHA1 bc7ef38aa83d93946fa52b9c365c41cb7651536d SHA256 a90dbaf85e55ef29d6b2df9bbfb0ece162c54b993960029cc3c57a80d6123fa5
55 MISC ChangeLog 3815 RMD160 59aa5b37c2f3ab1624eaa577e9cfa006d028c434 SHA1 c70b32bd829519485446062e8be5f3ba1de1d5c9 SHA256 3964c83e9b7441a52d483d3a5e02cc3c456ea55645b039504a1ed8ed3aef0670
56 MISC metadata.xml 822 RMD160 9b2e00c3f86eb984e63f2f8e5ff6544c4ce0d63b SHA1 22a1640afdc42c3cc4f446c648fa4ec54476f026 SHA256 47370a4178ddaba52cfa81eba8e9f42a7100107ea059a94b349ebd1bfe682ecb
57
58
59
60 1.1 sci-mathematics/dataplot/dataplot-20080225.ebuild
61
62 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/dataplot/dataplot-20080225.ebuild?rev=1.1&view=markup
63 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/dataplot/dataplot-20080225.ebuild?rev=1.1&content-type=text/plain
64
65 Index: dataplot-20080225.ebuild
66 ===================================================================
67 # Copyright 1999-2008 Gentoo Foundation
68 # Distributed under the terms of the GNU General Public License v2
69 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/dataplot-20080225.ebuild,v 1.1 2008/06/04 16:31:40 bicatali Exp $
70
71 inherit eutils toolchain-funcs flag-o-matic autotools fortran
72
73 # DAY MONTH YEAR
74 MY_PV=${PV:4:2}_${PV:6:2}_${PV:0:4}
75 MY_P=dpsrc.${MY_PV}
76 MY_P_AUX=dplib.${MY_PV}
77
78 DESCRIPTION="A program for scientific visualization and statistical analyis"
79 HOMEPAGE="http://www.itl.nist.gov/div898/software/dataplot/"
80 SRC_URI="ftp://ftp.nist.gov/pub/dataplot/unix/dpsrc.${MY_PV}.tar.gz
81 ftp://ftp.nist.gov/pub/dataplot/unix/dplib.${MY_PV}.tar.gz"
82
83
84 LICENSE="public-domain"
85 SLOT="0"
86 KEYWORDS="~amd64 ~x86"
87 IUSE="examples gd gs opengl X"
88
89 COMMON_DEPEND="opengl? ( virtual/opengl )
90 gd? ( media-libs/gd )
91 gs? ( virtual/ghostscript media-libs/gd )"
92 DEPEND="${COMMON_DEPEND}
93 dev-util/pkgconfig"
94 RDEPEND="${COMMON_DEPEND}
95 X? ( x11-misc/xdg-utils )"
96
97 S="${WORKDIR}/${MY_P}"
98 S_AUX="${WORKDIR}/${MY_P_AUX}"
99
100 pkg_setup() {
101 #Dataplot requires media-libs/gd to be built with USE="png jpeg"
102 if use gd || use gs; then
103 if ! built_with_use -a media-libs/gd png jpeg; then
104 eerror "media-libs/gd is not compiled with USE=\"png jpeg\""
105 eerror "Please recompile media-libs/gd, ensuring USE=\"png jpeg\""
106 die
107 fi
108 fi
109 ##FIXME: Just gfortran for now, I'll get to testing g77 later
110 FORTRAN="gfortran"
111 fortran_pkg_setup
112 }
113
114 src_unpack() {
115 # unpacking and renaming because
116 # upstream does not use directories
117 mkdir "${S_AUX}" && cd "${S_AUX}"
118 unpack ${MY_P_AUX}.tar.gz
119 mkdir ${MY_P} && cd "${S}"
120 unpack ${MY_P}.tar.gz
121
122 # autotoolization: need to fix a few files with
123 # hardcoded directories (will be fixed with autoconf)
124 mv DPCOPA.INC DPCOPA.INC.in
125 mv dp1_linux.f dp1_linux.f.in
126 mv dp1_linux_64.f dp1_linux_64.f.in
127 # various fixes (mainly syntax)
128 epatch "${FILESDIR}"/dpsrc-patchset-${PV}.patch
129 # some fortran patches
130 epatch "${FILESDIR}"/dpsrc-dp1patches-${PV}.patch
131 cp "${FILESDIR}"/Makefile.am.${PV} Makefile.am
132 cp "${FILESDIR}"/configure.ac.${PV} configure.ac
133 eautoreconf
134 }
135
136 src_compile() {
137 econf \
138 $(use_enable gd) \
139 $(use_enable gs) \
140 $(use_enable opengl) \
141 $(use_enable X) || die "Econf failed"
142
143 emake || die "Make failed"
144 }
145
146 src_install() {
147 emake DESTDIR="${D}" install || die "Install failed"
148
149 if use examples; then
150 insinto /usr/share/doc/${PF}/examples
151 doins -r "${S_AUX}"/data/* || die "Installing examples failed"
152 fi
153 insinto /usr/share/dataplot
154 doins "${S_AUX}"/dp{mes,sys,log}f.tex || die "Doins failed."
155 doenvd "${FILESDIR}"/90${PN} || die "doenvd failed"
156 }
157
158 pkg_postinst() {
159 elog "Before using dataplot, please run (as root):"
160 elog "env-update && source /etc/profile"
161 }
162
163
164
165 1.1 sci-mathematics/dataplot/ChangeLog
166
167 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/dataplot/ChangeLog?rev=1.1&view=markup
168 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/dataplot/ChangeLog?rev=1.1&content-type=text/plain
169
170 Index: ChangeLog
171 ===================================================================
172 # ChangeLog for sci-mathematics/dataplot
173 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
174 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/dataplot/ChangeLog,v 1.1 2008/06/04 16:31:40 bicatali Exp $
175
176 *dataplot-20080225 (04 Jun 2008)
177
178 04 Jun 2008; Sébastien Fabbro <bicatali@g.o>
179 +files/dpsrc-dp1patches-20080225.patch, +files/90dataplot,
180 +files/dpsrc-patchset-20080225.patch, +files/Makefile.am.20080225,
181 +files/configure.ac.20080225, +metadata.xml, +dataplot-20080225.ebuild:
182 Initial import from sunrise. Proxy-maintaining for Thomas Anderson
183
184 30 May 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
185 dataplot-20080225-r1.ebuild, -files/dpsrc-maxobvvalue-20080225.patch,
186 files/dpsrc-dp1patches-20080225.patch, -files/Makefile.am,
187 +files/Makefile.am.20080225, -files/configure.ac,
188 +files/configure.ac.20080225:
189 Merge maxobvvalue into dp1patches. Move dataplot's Makefile.am and
190 configure.ac to {configure.ac,Makefile.am}.${PV}. Add || die to doins and
191 econf
192
193 30 May 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
194 dataplot-20080225-r1.ebuild:
195 tweak fortran checks
196
197 30 May 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
198 -files/dpsrc-datadir-20080225.patch:
199 Remove obsolete patches that have been incorporated into dp1patches
200
201 30 May 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
202 dataplot-20080225-r1.ebuild:
203 Switch back to using need_fortran instead of built_with_use checks, though
204 it's doing essentially the same thing behind the scenes
205
206 19 May 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
207 dataplot-20080225-r1.ebuild:
208 Notify user about the need to update their environment after merging to
209 avoid error messages.
210
211 13 May 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
212 dataplot-20080225-r1.ebuild:
213 Add DEPEND on dev-util/pkgconfig since it is used in the autotools stuff.
214
215 30 Apr 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
216 -dataplot-20080225.ebuild, +dataplot-20080225-r1.ebuild:
217 Oops, forgot to revbump for new ghostscript(gs) USE flag
218
219 30 Apr 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
220 +files/90dataplot, dataplot-20080225.ebuild:
221 Add env.d file for dataplot. Necessary for startup file location, env
222 variable, and
223
224 30 Apr 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
225 dataplot-20080225.ebuild, +files/dpsrc-datadir-20080225.patch,
226 +files/dpsrc-maxobvvalue-20080225.patch,
227 files/dpsrc-patchset-20080225.patch,
228 +files/dpsrc-dp1patches-20080225.patch, +files/Makefile.am,
229 +files/configure.ac:
230 Many changes. Add parallel build support, using autotools. Add GhostScript
231 support. Many many thanks to bicatali for helping with the autofoo and other
232 general pointers.
233
234 30 Apr 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
235 dataplot-20080225.ebuild:
236 Only do built_with_use check if USE='gd'
237
238 19 Apr 2008; Thomas Anderson <gentoofan23@g.o>
239 dataplot-20080225.ebuild:
240 Move -I/usr/include/GL from `use gd` conditional to `use gl`
241
242 16 Apr 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
243 dataplot-20080225.ebuild:
244 Various style fixes from bicatali
245
246 14 Apr 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
247 dataplot-20080225.ebuild:
248 Make DESCRIPTION a little nicer and more accurate
249
250 12 Apr 2008; Thomas Sachau (Tommy[D]) <tommy@g.o>
251 dataplot-20080225.ebuild:
252 Use alphabetical order
253
254 12 Apr 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
255 dataplot-20080225.ebuild:
256 Don't do "need_fortran g77 gfortran" but "need_fortran gfortran" until
257 testing with g77 is done
258
259 12 Apr 2008; Thomas Anderson (gentoofan23) <gentoofan23@×××××.com>
260 +dataplot-20080225.ebuild, +files/dpsrc-patchset-20080225.patch,
261 +metadata.xml:
262 New Ebuild for bug #217390, thanks to Tommy[D] for reviewing
263
264
265
266
267 --
268 gentoo-commits@l.g.o mailing list