* [gentoo-commits] proj/sci:master commit in: sci-libs/spr/files/, sci-libs/spr/
@ 2011-05-04 0:18 Sebastien Fabbro
0 siblings, 0 replies; only message in thread
From: Sebastien Fabbro @ 2011-05-04 0:18 UTC (permalink / raw
To: gentoo-commits
commit: 60df2b3d6b7e98ad07dd2df41f01bf6f95c7f9ad
Author: Sébastien Fabbro <sebfabbro <AT> gmail <DOT> com>
AuthorDate: Wed May 4 00:06:46 2011 +0000
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org>
CommitDate: Wed May 4 00:06:46 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=60df2b3d
[sci-libs/spr] moved to main tree
---
sci-libs/spr/ChangeLog | 8 --
sci-libs/spr/files/spr-3.3.1-autotools.patch | 154 --------------------------
sci-libs/spr/metadata.xml | 16 ---
sci-libs/spr/spr-3.3.1.ebuild | 38 -------
4 files changed, 0 insertions(+), 216 deletions(-)
diff --git a/sci-libs/spr/ChangeLog b/sci-libs/spr/ChangeLog
deleted file mode 100644
index 6bd9b19..0000000
--- a/sci-libs/spr/ChangeLog
+++ /dev/null
@@ -1,8 +0,0 @@
-# ChangeLog for sci-libs/spr
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 12 Dec 2008; Sébastien Fabbro <bicatali@gentoo.org>
- +files/spr-3.3.1-autotools.patch, +metadata.xml, +spr-3.3.1.ebuild:
- Initial import
-
diff --git a/sci-libs/spr/files/spr-3.3.1-autotools.patch b/sci-libs/spr/files/spr-3.3.1-autotools.patch
deleted file mode 100644
index c2088f7..0000000
--- a/sci-libs/spr/files/spr-3.3.1-autotools.patch
+++ /dev/null
@@ -1,154 +0,0 @@
-diff -Nur SPR-3.3.1.orig/configure.ac SPR-3.3.1/configure.ac
---- SPR-3.3.1.orig/configure.ac 2008-12-12 18:04:35.368439834 +0000
-+++ SPR-3.3.1/configure.ac 2008-12-12 18:04:38.116323616 +0000
-@@ -114,7 +114,7 @@
- AC_SUBST([ROOTLIBS])
- fi
-
--AM_CONDITIONAL(WITH_ROOT, [test $with_root != xno])
-+AM_CONDITIONAL(WITH_ROOT, [test x$with_root != xno])
-
- ################################
-
-@@ -125,10 +125,6 @@
- # HippoDraw (not used)
- AM_CONDITIONAL([WITH_HIPPODRAW], false)
-
--AM_CXXFLAGS="-ansi -pedantic -O4"
--AC_SUBST(AM_CPPFLAGS)
--AC_SUBST(AM_CXXFLAGS)
--
- AC_CONFIG_FILES(Makefile)
- AC_CONFIG_FILES(math/Makefile)
- AC_CONFIG_FILES(src/Makefile)
-diff -Nur SPR-3.3.1.orig/data/Makefile.am SPR-3.3.1/data/Makefile.am
---- SPR-3.3.1.orig/data/Makefile.am 2008-12-12 18:04:35.416440392 +0000
-+++ SPR-3.3.1/data/Makefile.am 2008-12-12 18:34:35.723458729 +0000
-@@ -1,4 +1,5 @@
--dist_data_DATA = \
-+
-+pkgdata_DATA = \
- discrete_square.pat gausscorr_uniform_2d_train.pat \
- gauss2_uniform_2d_train.pat trainRoot.pat \
- gauss2_uniform_2d_valid.pat triangle_square_00_train.pat \
-@@ -9,4 +10,4 @@
- lambda-test.pat cmc.data \
- gauss2_uniform_2d_train_root.pat mlp_root.pat \
- tmva_root.pat cleveland.data \
--samplematrixindicator.cfg
-\ No newline at end of file
-+samplematrixindicator.cfg
-diff -Nur SPR-3.3.1.orig/src/Makefile.am SPR-3.3.1/src/Makefile.am
---- SPR-3.3.1.orig/src/Makefile.am 2008-12-12 18:04:35.372441231 +0000
-+++ SPR-3.3.1/src/Makefile.am 2008-12-12 18:44:45.930690186 +0000
-@@ -51,16 +51,16 @@
-
- libSPR_la_SOURCES += $(TMP_ROOT_FILES)
- libSPR_la_CPPFLAGS += $(ROOTCPPFLAGS)
--libSPR_la_CXXFLAGS = $(CXXFLAGS) $(AM_CXXFLAGS) $(ROOTCXXFLAGS)
--libSPR_la_LDFLAGS = $(ROOTLDFLAGS) -lstdc++
--libSPR_la_LIBADD = $(top_srcdir)/math/libSPRmath.la
-+libSPR_la_CXXFLAGS = $(ROOTCXXFLAGS)
-+libSPR_la_LDFLAGS = $(ROOTLDFLAGS)
-+libSPR_la_LIBADD = $(top_builddir)/math/libSPRmath.la -lstdc++ $(ROOTLIBS)
-
- #####################################################################
-
- APPCPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir) $(ROOTCPPFLAGS)
- APPCXXFLAGS = $(ROOTCXXFLAGS)
--APPLDFLAGS = -L/usr/lib -L$(top_srcdir)/src $(ROOTLDFLAGS)
--APPLDADD = -lSPR $(ROOTLIBS)
-+APPLDFLAGS = $(ROOTLDFLAGS)
-+APPLDADD = libSPR.la
-
- #if WITH_ROOT
- # APPCPPFLAGS += -DSPRROOTTUPLE
-@@ -77,81 +77,53 @@
- AM_CPPFLAGS = $(APPCPPFLAGS)
- AM_CXXFLAGS = $(APPCXXFLAGS)
- AM_LDFLAGS = $(APPLDFLAGS)
--AM_LIBS = $(APPLDADD)
-+LDADD = $(APPLDADD)
-
--noinst_PROGRAMS = exampleBootstrapVarianceEst exampleCorrTest exampleUserCuts \
-+check_PROGRAMS = exampleBootstrapVarianceEst exampleCorrTest exampleUserCuts \
- exampleMatrixTest
-+
- exampleBootstrapVarianceEst_SOURCES = exampleBootstrapVarianceEst.cc
--exampleBootstrapVarianceEst_LDADD = $(APPLDADD)
- exampleCorrTest_SOURCES = exampleCorrTest.cc
--exampleCorrTest_LDADD = $(APPLDADD)
-+exampleUserCuts_SOURCES = exampleUserCuts.cc
- exampleMatrixTest_SOURCES = exampleMatrixTest.cc
--exampleMatrixTest_LDADD = $(APPLDADD)
-
- bin_PROGRAMS = SprFisherLogitApp SprDecisionTreeApp SprExploratoryAnalysisApp \
- SprMultiClassApp SprGoFDecisionTreeApp SprAdaBoostBinarySplitApp \
- SprRBFNetApp SprAdaBoostDecisionTreeApp SprStdBackpropApp \
- SprCombinerApp SprBaggerDecisionTreeApp SprBumpHunterApp \
- SprInteractiveAnalysisApp SprOutputAnalyzerApp SprOutputWriterApp \
-- SprBoosterApp SprBaggerApp exampleUserCuts \
-+ SprBoosterApp SprBaggerApp \
- SprVariableImportanceApp SprIOTestApp SprAddBaggersApp \
- SprTransformationApp SprSplitterApp SprAddNRemoveRApp \
- SprGEPApp SprCrossValidatorApp SprAddColumnsForMCLApp \
- SprIndicatorMatrixApp
-
- SprFisherLogitApp_SOURCES = SprFisherLogitApp.cc
--SprFisherLogitApp_LDADD = $(APPLDADD)
- SprDecisionTreeApp_SOURCES = SprDecisionTreeApp.cc
--SprDecisionTreeApp_LDADD = $(APPLDADD)
- SprExploratoryAnalysisApp_SOURCES = SprExploratoryAnalysisApp.cc
--SprExploratoryAnalysisApp_LDADD = $(APPLDADD)
- SprMultiClassApp_SOURCES = SprMultiClassApp.cc
--SprMultiClassApp_LDADD = $(APPLDADD)
- SprGoFDecisionTreeApp_SOURCES = SprGoFDecisionTreeApp.cc
--SprGoFDecisionTreeApp_LDADD = $(APPLDADD)
- SprAdaBoostBinarySplitApp_SOURCES = SprAdaBoostBinarySplitApp.cc
--SprAdaBoostBinarySplitApp_LDADD = $(APPLDADD)
- SprRBFNetApp_SOURCES = SprRBFNetApp.cc
--SprRBFNetApp_LDADD = $(APPLDADD)
- SprAdaBoostDecisionTreeApp_SOURCES = SprAdaBoostDecisionTreeApp.cc
--SprAdaBoostDecisionTreeApp_LDADD = $(APPLDADD)
- SprStdBackpropApp_SOURCES = SprStdBackpropApp.cc
--SprStdBackpropApp_LDADD = $(APPLDADD)
- SprCombinerApp_SOURCES = SprCombinerApp.cc
--SprCombinerApp_LDADD = $(APPLDADD)
- SprBaggerDecisionTreeApp_SOURCES = SprBaggerDecisionTreeApp.cc
--SprBaggerDecisionTreeApp_LDADD = $(APPLDADD)
- SprBumpHunterApp_SOURCES = SprBumpHunterApp.cc
--SprBumpHunterApp_LDADD = $(APPLDADD)
- SprInteractiveAnalysisApp_SOURCES = SprInteractiveAnalysisApp.cc
--SprInteractiveAnalysisApp_LDADD = $(APPLDADD)
- SprOutputAnalyzerApp_SOURCES = SprOutputAnalyzerApp.cc
--SprOutputAnalyzerApp_LDADD = $(APPLDADD)
- SprOutputWriterApp_SOURCES = SprOutputWriterApp.cc
--SprOutputWriterApp_LDADD = $(APPLDADD)
- SprBoosterApp_SOURCES = SprBoosterApp.cc
--SprBoosterApp_LDADD = $(APPLDADD)
- SprBaggerApp_SOURCES = SprBaggerApp.cc
--SprBaggerApp_LDADD = $(APPLDADD)
--exampleUserCuts_SOURCES = exampleUserCuts.cc
--exampleUserCuts_LDADD = $(APPLDADD)
- SprVariableImportanceApp_SOURCES = SprVariableImportanceApp.cc
--SprVariableImportanceApp_LDADD = $(APPLDADD)
- SprIOTestApp_SOURCES = SprIOTestApp.cc
--SprIOTestApp_LDADD = $(APPLDADD)
- SprAddBaggersApp_SOURCES = SprAddBaggersApp.cc
--SprAddBaggersApp_LDADD = $(APPLDADD)
- SprTransformationApp_SOURCES = SprTransformationApp.cc
--SprTransformationApp_LDADD = $(APPLDADD)
- SprSplitterApp_SOURCES = SprSplitterApp.cc
--SprSplitterApp_LDADD = $(APPLDADD)
- SprAddNRemoveRApp_SOURCES = SprAddNRemoveRApp.cc
--SprAddNRemoveRApp_LDADD = $(APPLDADD)
- SprGEPApp_SOURCES = SprGEPApp.cc
--SprGEPApp_LDADD = $(APPLDADD)
- SprCrossValidatorApp_SOURCES = SprCrossValidatorApp.cc
--SprCrossValidatorApp_LDADD = $(APPLDADD)
- SprAddColumnsForMCLApp_SOURCES = SprAddColumnsForMCLApp.cc
--SprAddColumnsForMCLApp_LDADD = $(APPLDADD)
- SprIndicatorMatrixApp_SOURCES = SprIndicatorMatrixApp.cc
--SprIndicatorMatrixApp_LDADD = $(APPLDADD)
-+
-+TESTS= $(check_PROGRAMS)
diff --git a/sci-libs/spr/metadata.xml b/sci-libs/spr/metadata.xml
deleted file mode 100644
index 0e26c19..0000000
--- a/sci-libs/spr/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>sci-physics</herd>
- <longdescription lang="en">
- The package implements a variety of tools for categorization of
- multivariate data such as boosted decision trees, bagging and
- random forest, bump hunting, a multi-class learner and others.
- It is used mostly in High Energy Physics.
- </longdescription>
- <use>
- <flag name='root'>Add <pkg>sci-physics/root</pkg> graphics and i/o
- support</flag>
- </use>
-
-</pkgmetadata>
diff --git a/sci-libs/spr/spr-3.3.1.ebuild b/sci-libs/spr/spr-3.3.1.ebuild
deleted file mode 100644
index 46266cb..0000000
--- a/sci-libs/spr/spr-3.3.1.ebuild
+++ /dev/null
@@ -1,38 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=2
-inherit eutils autotools
-
-MYP=SPR-${PV}
-
-DESCRIPTION="Statistical analysis and machine learning library"
-HOMEPAGE="http://www.hep.caltech.edu/~narsky/spr.html"
-SRC_URI="mirror://sourceforge/statpatrec/${MYP}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-IUSE="root"
-
-DEPEND="root? ( sci-physics/root )"
-
-S="${WORKDIR}/${MYP}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-autotools.patch
- rm -f aclocal.m4
- eautoreconf
- cp data/gauss* src/
-}
-
-src_configure() {
- econf $(use_with root)
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc README ChangeLog AUTHORS
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2011-05-04 0:18 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04 0:18 [gentoo-commits] proj/sci:master commit in: sci-libs/spr/files/, sci-libs/spr/ Sebastien Fabbro
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox