Gentoo Archives: gentoo-commits

From: Sebastien Fabbro <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/spr/files/, sci-libs/spr/
Date: Wed, 04 May 2011 00:18:43
Message-Id: 60df2b3d6b7e98ad07dd2df41f01bf6f95c7f9ad.bicatali@gentoo
1 commit: 60df2b3d6b7e98ad07dd2df41f01bf6f95c7f9ad
2 Author: Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
3 AuthorDate: Wed May 4 00:06:46 2011 +0000
4 Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
5 CommitDate: Wed May 4 00:06:46 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=60df2b3d
7
8 [sci-libs/spr] moved to main tree
9
10 ---
11 sci-libs/spr/ChangeLog | 8 --
12 sci-libs/spr/files/spr-3.3.1-autotools.patch | 154 --------------------------
13 sci-libs/spr/metadata.xml | 16 ---
14 sci-libs/spr/spr-3.3.1.ebuild | 38 -------
15 4 files changed, 0 insertions(+), 216 deletions(-)
16
17 diff --git a/sci-libs/spr/ChangeLog b/sci-libs/spr/ChangeLog
18 deleted file mode 100644
19 index 6bd9b19..0000000
20 --- a/sci-libs/spr/ChangeLog
21 +++ /dev/null
22 @@ -1,8 +0,0 @@
23 -# ChangeLog for sci-libs/spr
24 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
25 -# $Header: $
26 -
27 - 12 Dec 2008; Sébastien Fabbro <bicatali@g.o>
28 - +files/spr-3.3.1-autotools.patch, +metadata.xml, +spr-3.3.1.ebuild:
29 - Initial import
30 -
31
32 diff --git a/sci-libs/spr/files/spr-3.3.1-autotools.patch b/sci-libs/spr/files/spr-3.3.1-autotools.patch
33 deleted file mode 100644
34 index c2088f7..0000000
35 --- a/sci-libs/spr/files/spr-3.3.1-autotools.patch
36 +++ /dev/null
37 @@ -1,154 +0,0 @@
38 -diff -Nur SPR-3.3.1.orig/configure.ac SPR-3.3.1/configure.ac
39 ---- SPR-3.3.1.orig/configure.ac 2008-12-12 18:04:35.368439834 +0000
40 -+++ SPR-3.3.1/configure.ac 2008-12-12 18:04:38.116323616 +0000
41 -@@ -114,7 +114,7 @@
42 - AC_SUBST([ROOTLIBS])
43 - fi
44 -
45 --AM_CONDITIONAL(WITH_ROOT, [test $with_root != xno])
46 -+AM_CONDITIONAL(WITH_ROOT, [test x$with_root != xno])
47 -
48 - ################################
49 -
50 -@@ -125,10 +125,6 @@
51 - # HippoDraw (not used)
52 - AM_CONDITIONAL([WITH_HIPPODRAW], false)
53 -
54 --AM_CXXFLAGS="-ansi -pedantic -O4"
55 --AC_SUBST(AM_CPPFLAGS)
56 --AC_SUBST(AM_CXXFLAGS)
57 --
58 - AC_CONFIG_FILES(Makefile)
59 - AC_CONFIG_FILES(math/Makefile)
60 - AC_CONFIG_FILES(src/Makefile)
61 -diff -Nur SPR-3.3.1.orig/data/Makefile.am SPR-3.3.1/data/Makefile.am
62 ---- SPR-3.3.1.orig/data/Makefile.am 2008-12-12 18:04:35.416440392 +0000
63 -+++ SPR-3.3.1/data/Makefile.am 2008-12-12 18:34:35.723458729 +0000
64 -@@ -1,4 +1,5 @@
65 --dist_data_DATA = \
66 -+
67 -+pkgdata_DATA = \
68 - discrete_square.pat gausscorr_uniform_2d_train.pat \
69 - gauss2_uniform_2d_train.pat trainRoot.pat \
70 - gauss2_uniform_2d_valid.pat triangle_square_00_train.pat \
71 -@@ -9,4 +10,4 @@
72 - lambda-test.pat cmc.data \
73 - gauss2_uniform_2d_train_root.pat mlp_root.pat \
74 - tmva_root.pat cleveland.data \
75 --samplematrixindicator.cfg
76 -\ No newline at end of file
77 -+samplematrixindicator.cfg
78 -diff -Nur SPR-3.3.1.orig/src/Makefile.am SPR-3.3.1/src/Makefile.am
79 ---- SPR-3.3.1.orig/src/Makefile.am 2008-12-12 18:04:35.372441231 +0000
80 -+++ SPR-3.3.1/src/Makefile.am 2008-12-12 18:44:45.930690186 +0000
81 -@@ -51,16 +51,16 @@
82 -
83 - libSPR_la_SOURCES += $(TMP_ROOT_FILES)
84 - libSPR_la_CPPFLAGS += $(ROOTCPPFLAGS)
85 --libSPR_la_CXXFLAGS = $(CXXFLAGS) $(AM_CXXFLAGS) $(ROOTCXXFLAGS)
86 --libSPR_la_LDFLAGS = $(ROOTLDFLAGS) -lstdc++
87 --libSPR_la_LIBADD = $(top_srcdir)/math/libSPRmath.la
88 -+libSPR_la_CXXFLAGS = $(ROOTCXXFLAGS)
89 -+libSPR_la_LDFLAGS = $(ROOTLDFLAGS)
90 -+libSPR_la_LIBADD = $(top_builddir)/math/libSPRmath.la -lstdc++ $(ROOTLIBS)
91 -
92 - #####################################################################
93 -
94 - APPCPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) $(ROOTCPPFLAGS)
95 - APPCXXFLAGS = $(ROOTCXXFLAGS)
96 --APPLDFLAGS = -L/usr/lib -L$(top_srcdir)/src $(ROOTLDFLAGS)
97 --APPLDADD = -lSPR $(ROOTLIBS)
98 -+APPLDFLAGS = $(ROOTLDFLAGS)
99 -+APPLDADD = libSPR.la
100 -
101 - #if WITH_ROOT
102 - # APPCPPFLAGS += -DSPRROOTTUPLE
103 -@@ -77,81 +77,53 @@
104 - AM_CPPFLAGS = $(APPCPPFLAGS)
105 - AM_CXXFLAGS = $(APPCXXFLAGS)
106 - AM_LDFLAGS = $(APPLDFLAGS)
107 --AM_LIBS = $(APPLDADD)
108 -+LDADD = $(APPLDADD)
109 -
110 --noinst_PROGRAMS = exampleBootstrapVarianceEst exampleCorrTest exampleUserCuts \
111 -+check_PROGRAMS = exampleBootstrapVarianceEst exampleCorrTest exampleUserCuts \
112 - exampleMatrixTest
113 -+
114 - exampleBootstrapVarianceEst_SOURCES = exampleBootstrapVarianceEst.cc
115 --exampleBootstrapVarianceEst_LDADD = $(APPLDADD)
116 - exampleCorrTest_SOURCES = exampleCorrTest.cc
117 --exampleCorrTest_LDADD = $(APPLDADD)
118 -+exampleUserCuts_SOURCES = exampleUserCuts.cc
119 - exampleMatrixTest_SOURCES = exampleMatrixTest.cc
120 --exampleMatrixTest_LDADD = $(APPLDADD)
121 -
122 - bin_PROGRAMS = SprFisherLogitApp SprDecisionTreeApp SprExploratoryAnalysisApp \
123 - SprMultiClassApp SprGoFDecisionTreeApp SprAdaBoostBinarySplitApp \
124 - SprRBFNetApp SprAdaBoostDecisionTreeApp SprStdBackpropApp \
125 - SprCombinerApp SprBaggerDecisionTreeApp SprBumpHunterApp \
126 - SprInteractiveAnalysisApp SprOutputAnalyzerApp SprOutputWriterApp \
127 -- SprBoosterApp SprBaggerApp exampleUserCuts \
128 -+ SprBoosterApp SprBaggerApp \
129 - SprVariableImportanceApp SprIOTestApp SprAddBaggersApp \
130 - SprTransformationApp SprSplitterApp SprAddNRemoveRApp \
131 - SprGEPApp SprCrossValidatorApp SprAddColumnsForMCLApp \
132 - SprIndicatorMatrixApp
133 -
134 - SprFisherLogitApp_SOURCES = SprFisherLogitApp.cc
135 --SprFisherLogitApp_LDADD = $(APPLDADD)
136 - SprDecisionTreeApp_SOURCES = SprDecisionTreeApp.cc
137 --SprDecisionTreeApp_LDADD = $(APPLDADD)
138 - SprExploratoryAnalysisApp_SOURCES = SprExploratoryAnalysisApp.cc
139 --SprExploratoryAnalysisApp_LDADD = $(APPLDADD)
140 - SprMultiClassApp_SOURCES = SprMultiClassApp.cc
141 --SprMultiClassApp_LDADD = $(APPLDADD)
142 - SprGoFDecisionTreeApp_SOURCES = SprGoFDecisionTreeApp.cc
143 --SprGoFDecisionTreeApp_LDADD = $(APPLDADD)
144 - SprAdaBoostBinarySplitApp_SOURCES = SprAdaBoostBinarySplitApp.cc
145 --SprAdaBoostBinarySplitApp_LDADD = $(APPLDADD)
146 - SprRBFNetApp_SOURCES = SprRBFNetApp.cc
147 --SprRBFNetApp_LDADD = $(APPLDADD)
148 - SprAdaBoostDecisionTreeApp_SOURCES = SprAdaBoostDecisionTreeApp.cc
149 --SprAdaBoostDecisionTreeApp_LDADD = $(APPLDADD)
150 - SprStdBackpropApp_SOURCES = SprStdBackpropApp.cc
151 --SprStdBackpropApp_LDADD = $(APPLDADD)
152 - SprCombinerApp_SOURCES = SprCombinerApp.cc
153 --SprCombinerApp_LDADD = $(APPLDADD)
154 - SprBaggerDecisionTreeApp_SOURCES = SprBaggerDecisionTreeApp.cc
155 --SprBaggerDecisionTreeApp_LDADD = $(APPLDADD)
156 - SprBumpHunterApp_SOURCES = SprBumpHunterApp.cc
157 --SprBumpHunterApp_LDADD = $(APPLDADD)
158 - SprInteractiveAnalysisApp_SOURCES = SprInteractiveAnalysisApp.cc
159 --SprInteractiveAnalysisApp_LDADD = $(APPLDADD)
160 - SprOutputAnalyzerApp_SOURCES = SprOutputAnalyzerApp.cc
161 --SprOutputAnalyzerApp_LDADD = $(APPLDADD)
162 - SprOutputWriterApp_SOURCES = SprOutputWriterApp.cc
163 --SprOutputWriterApp_LDADD = $(APPLDADD)
164 - SprBoosterApp_SOURCES = SprBoosterApp.cc
165 --SprBoosterApp_LDADD = $(APPLDADD)
166 - SprBaggerApp_SOURCES = SprBaggerApp.cc
167 --SprBaggerApp_LDADD = $(APPLDADD)
168 --exampleUserCuts_SOURCES = exampleUserCuts.cc
169 --exampleUserCuts_LDADD = $(APPLDADD)
170 - SprVariableImportanceApp_SOURCES = SprVariableImportanceApp.cc
171 --SprVariableImportanceApp_LDADD = $(APPLDADD)
172 - SprIOTestApp_SOURCES = SprIOTestApp.cc
173 --SprIOTestApp_LDADD = $(APPLDADD)
174 - SprAddBaggersApp_SOURCES = SprAddBaggersApp.cc
175 --SprAddBaggersApp_LDADD = $(APPLDADD)
176 - SprTransformationApp_SOURCES = SprTransformationApp.cc
177 --SprTransformationApp_LDADD = $(APPLDADD)
178 - SprSplitterApp_SOURCES = SprSplitterApp.cc
179 --SprSplitterApp_LDADD = $(APPLDADD)
180 - SprAddNRemoveRApp_SOURCES = SprAddNRemoveRApp.cc
181 --SprAddNRemoveRApp_LDADD = $(APPLDADD)
182 - SprGEPApp_SOURCES = SprGEPApp.cc
183 --SprGEPApp_LDADD = $(APPLDADD)
184 - SprCrossValidatorApp_SOURCES = SprCrossValidatorApp.cc
185 --SprCrossValidatorApp_LDADD = $(APPLDADD)
186 - SprAddColumnsForMCLApp_SOURCES = SprAddColumnsForMCLApp.cc
187 --SprAddColumnsForMCLApp_LDADD = $(APPLDADD)
188 - SprIndicatorMatrixApp_SOURCES = SprIndicatorMatrixApp.cc
189 --SprIndicatorMatrixApp_LDADD = $(APPLDADD)
190 -+
191 -+TESTS= $(check_PROGRAMS)
192
193 diff --git a/sci-libs/spr/metadata.xml b/sci-libs/spr/metadata.xml
194 deleted file mode 100644
195 index 0e26c19..0000000
196 --- a/sci-libs/spr/metadata.xml
197 +++ /dev/null
198 @@ -1,16 +0,0 @@
199 -<?xml version="1.0" encoding="UTF-8"?>
200 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
201 -<pkgmetadata>
202 - <herd>sci-physics</herd>
203 - <longdescription lang="en">
204 - The package implements a variety of tools for categorization of
205 - multivariate data such as boosted decision trees, bagging and
206 - random forest, bump hunting, a multi-class learner and others.
207 - It is used mostly in High Energy Physics.
208 - </longdescription>
209 - <use>
210 - <flag name='root'>Add <pkg>sci-physics/root</pkg> graphics and i/o
211 - support</flag>
212 - </use>
213 -
214 -</pkgmetadata>
215
216 diff --git a/sci-libs/spr/spr-3.3.1.ebuild b/sci-libs/spr/spr-3.3.1.ebuild
217 deleted file mode 100644
218 index 46266cb..0000000
219 --- a/sci-libs/spr/spr-3.3.1.ebuild
220 +++ /dev/null
221 @@ -1,38 +0,0 @@
222 -# Copyright 1999-2008 Gentoo Foundation
223 -# Distributed under the terms of the GNU General Public License v2
224 -# $Header: $
225 -
226 -EAPI=2
227 -inherit eutils autotools
228 -
229 -MYP=SPR-${PV}
230 -
231 -DESCRIPTION="Statistical analysis and machine learning library"
232 -HOMEPAGE="http://www.hep.caltech.edu/~narsky/spr.html"
233 -SRC_URI="mirror://sourceforge/statpatrec/${MYP}.tar.bz2"
234 -
235 -LICENSE="GPL-2"
236 -SLOT="0"
237 -KEYWORDS="~amd64 ~x86"
238 -
239 -IUSE="root"
240 -
241 -DEPEND="root? ( sci-physics/root )"
242 -
243 -S="${WORKDIR}/${MYP}"
244 -
245 -src_prepare() {
246 - epatch "${FILESDIR}"/${P}-autotools.patch
247 - rm -f aclocal.m4
248 - eautoreconf
249 - cp data/gauss* src/
250 -}
251 -
252 -src_configure() {
253 - econf $(use_with root)
254 -}
255 -
256 -src_install() {
257 - emake DESTDIR="${D}" install || die "emake install failed"
258 - dodoc README ChangeLog AUTHORS
259 -}