Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/unuran: metadata.xml ChangeLog unuran-1.8.1.ebuild
Date: Wed, 04 Jul 2012 09:32:26
Message-Id: 20120704093216.166CE2004B@flycatcher.gentoo.org
1 jlec 12/07/04 09:32:16
2
3 Modified: metadata.xml ChangeLog unuran-1.8.1.ebuild
4 Log:
5 sci-mathematics/unuran: Move to autotool-utils.eclass
6
7 (Portage version: 2.2.0_alpha115/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.2 sci-mathematics/unuran/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/unuran/metadata.xml?rev=1.2&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/unuran/metadata.xml?rev=1.2&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/unuran/metadata.xml?r1=1.1&r2=1.2
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/unuran/metadata.xml,v
19 retrieving revision 1.1
20 retrieving revision 1.2
21 diff -u -r1.1 -r1.2
22 --- metadata.xml 17 Dec 2010 22:36:07 -0000 1.1
23 +++ metadata.xml 4 Jul 2012 09:32:15 -0000 1.2
24 @@ -1,16 +1,16 @@
25 <?xml version="1.0" encoding="UTF-8"?>
26 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
27 <pkgmetadata>
28 -<herd>sci-mathematics</herd>
29 -<longdescription lang="en">
30 + <herd>sci-mathematics</herd>
31 + <longdescription lang="en">
32 UNU.RAN is an ANSI C library licensed under GPL.
33 It contains universal (also called automatic or black-box) algorithms
34 that can generate random numbers from large classes of continuous or
35 discrete distributions, and also from practically all standard
36 distributions.
37 </longdescription>
38 -<use>
39 - <flag name="rngstreams">Use <pkg>sci-mathematics/rngstreams</pkg> library</flag>
40 - <flag name="prng">Use <pkg>sci-mathematics/prng</pkg> library</flag>
41 -</use>
42 + <use>
43 + <flag name="rngstreams">Use <pkg>sci-mathematics/rngstreams</pkg> library</flag>
44 + <flag name="prng">Use <pkg>sci-mathematics/prng</pkg> library</flag>
45 + </use>
46 </pkgmetadata>
47
48
49
50 1.6 sci-mathematics/unuran/ChangeLog
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/unuran/ChangeLog?rev=1.6&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/unuran/ChangeLog?rev=1.6&content-type=text/plain
54 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/unuran/ChangeLog?r1=1.5&r2=1.6
55
56 Index: ChangeLog
57 ===================================================================
58 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/unuran/ChangeLog,v
59 retrieving revision 1.5
60 retrieving revision 1.6
61 diff -u -r1.5 -r1.6
62 --- ChangeLog 26 Jun 2012 21:19:33 -0000 1.5
63 +++ ChangeLog 4 Jul 2012 09:32:15 -0000 1.6
64 @@ -1,6 +1,10 @@
65 # ChangeLog for sci-mathematics/unuran
66 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
67 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/unuran/ChangeLog,v 1.5 2012/06/26 21:19:33 bicatali Exp $
68 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/unuran/ChangeLog,v 1.6 2012/07/04 09:32:15 jlec Exp $
69 +
70 + 04 Jul 2012; Justin Lecher <jlec@g.o> unuran-1.8.1.ebuild,
71 + metadata.xml:
72 + Move to autotool-utils.eclass
73
74 26 Jun 2012; Sebastien Fabbro <fabbros@g.o> -unuran-1.8.0.ebuild,
75 unuran-1.8.1.ebuild:
76
77
78
79 1.3 sci-mathematics/unuran/unuran-1.8.1.ebuild
80
81 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/unuran/unuran-1.8.1.ebuild?rev=1.3&view=markup
82 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/unuran/unuran-1.8.1.ebuild?rev=1.3&content-type=text/plain
83 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-mathematics/unuran/unuran-1.8.1.ebuild?r1=1.2&r2=1.3
84
85 Index: unuran-1.8.1.ebuild
86 ===================================================================
87 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/unuran/unuran-1.8.1.ebuild,v
88 retrieving revision 1.2
89 retrieving revision 1.3
90 diff -u -r1.2 -r1.3
91 --- unuran-1.8.1.ebuild 26 Jun 2012 21:19:33 -0000 1.2
92 +++ unuran-1.8.1.ebuild 4 Jul 2012 09:32:15 -0000 1.3
93 @@ -1,19 +1,22 @@
94 # Copyright 1999-2012 Gentoo Foundation
95 # Distributed under the terms of the GNU General Public License v2
96 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/unuran/unuran-1.8.1.ebuild,v 1.2 2012/06/26 21:19:33 bicatali Exp $
97 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/unuran/unuran-1.8.1.ebuild,v 1.3 2012/07/04 09:32:15 jlec Exp $
98
99 EAPI=4
100 -inherit eutils
101 +
102 +inherit autotools-utils
103
104 DESCRIPTION="Universal Non-Uniform Random number generator"
105 HOMEPAGE="http://statmath.wu.ac.at/unuran/"
106 SRC_URI="${HOMEPAGE}${P}.tar.gz"
107 -LICENSE="GPL-2"
108
109 +LICENSE="GPL-2"
110 SLOT=0
111 KEYWORDS="~amd64 ~x86 ~amd64 ~x86-linux"
112 IUSE="doc examples gsl prng +rngstreams static-libs"
113 -DEPEND="gsl? ( sci-libs/gsl )
114 +
115 +DEPEND="
116 + gsl? ( sci-libs/gsl )
117 prng? ( sci-mathematics/prng )
118 rngstreams? ( sci-mathematics/rngstreams )"
119 RDEPEND="${DEPEND}"
120 @@ -21,17 +24,18 @@
121 src_configure() {
122 local udefault=builtin
123 use rngstreams && udefault=rngstream
124 - econf \
125 - --enable-shared \
126 - --with-urng-default=${udefault} \
127 - $(use_enable static-libs static) \
128 - $(use_with gsl urng-gsl) \
129 - $(use_with prng urng-prng) \
130 + local myeconfargs=(
131 + --enable-shared
132 + --with-urng-default=${udefault}
133 + $(use_with gsl urng-gsl)
134 + $(use_with prng urng-prng)
135 $(use_with rngstreams urng-rngstream)
136 + )
137 + autotools-utils_src_configure
138 }
139
140 src_install() {
141 - default
142 + autotools-utils_src_install
143 use doc && dodoc doc/${PN}.pdf
144 if use examples; then
145 emake distclean -C examples