summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2007-08-01 19:15:35 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2007-08-01 19:15:35 +0000
commitf3d82759a5cd6b28f393400b9857d2248ceff4f4 (patch)
tree74d3c331a65a3cee8fadea94d3a37424be74c78f /sci-libs
parentx86 stable wrt security #187205 (diff)
downloadgentoo-2-f3d82759a5cd6b28f393400b9857d2248ceff4f4.tar.gz
gentoo-2-f3d82759a5cd6b28f393400b9857d2248ceff4f4.tar.bz2
gentoo-2-f3d82759a5cd6b28f393400b9857d2248ceff4f4.zip
Version bump. Added proper src_test
(Portage version: 2.1.2.9)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/minuit/ChangeLog8
-rw-r--r--sci-libs/minuit/files/digest-minuit-5.16.009
-rw-r--r--sci-libs/minuit/files/minuit-5.16.00-test.patch22
-rw-r--r--sci-libs/minuit/minuit-5.16.00.ebuild51
4 files changed, 89 insertions, 1 deletions
diff --git a/sci-libs/minuit/ChangeLog b/sci-libs/minuit/ChangeLog
index e57dd8fd1b15..2839a11b6cd0 100644
--- a/sci-libs/minuit/ChangeLog
+++ b/sci-libs/minuit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/minuit
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/minuit/ChangeLog,v 1.1 2007/02/23 01:52:46 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/minuit/ChangeLog,v 1.2 2007/08/01 19:15:35 bicatali Exp $
+
+*minuit-5.16.00 (01 Aug 2007)
+
+ 01 Aug 2007; Sébastien Fabbro <bicatali@gentoo.org>
+ +files/minuit-5.16.00-test.patch, +minuit-5.16.00.ebuild:
+ Version bump. Added proper src_test
*minuit-5.15.02 (23 Feb 2007)
diff --git a/sci-libs/minuit/files/digest-minuit-5.16.00 b/sci-libs/minuit/files/digest-minuit-5.16.00
new file mode 100644
index 000000000000..8bcd9bd1132f
--- /dev/null
+++ b/sci-libs/minuit/files/digest-minuit-5.16.00
@@ -0,0 +1,9 @@
+MD5 6ea5feca06fca365d324bcfe16db7f08 Minuit2-5.16.00.tar.gz 438532
+RMD160 72fc99cb798196a53b99e1bf52e2c8c7046dc582 Minuit2-5.16.00.tar.gz 438532
+SHA256 db840e4983de0cea9fa1e861cd3c373c5effd969ad88849b1dd0894f80a02717 Minuit2-5.16.00.tar.gz 438532
+MD5 82739f128e9bed8b9224f7b29a115461 mntutorial.pdf 263735
+RMD160 4ef7806018a0ac43e322325ab9ea716268ac65cd mntutorial.pdf 263735
+SHA256 a72207746c548f4b468b147c27552b4a1bc9762df2a19f9cb0f9ec297899ef07 mntutorial.pdf 263735
+MD5 c92c2ba4dac7c0a665cce687fb19b29c mnusersguide.pdf 260072
+RMD160 d3809c8c7f0b105fef61f23c63708ff926853c37 mnusersguide.pdf 260072
+SHA256 cffef5faa1c4d6ac589d4bd40ea474302f55fab47ab2e711b37f1183870fb206 mnusersguide.pdf 260072
diff --git a/sci-libs/minuit/files/minuit-5.16.00-test.patch b/sci-libs/minuit/files/minuit-5.16.00-test.patch
new file mode 100644
index 000000000000..1ed753755722
--- /dev/null
+++ b/sci-libs/minuit/files/minuit-5.16.00-test.patch
@@ -0,0 +1,22 @@
+--- test/MnSim/Makefile.am.orig 2007-08-01 19:36:04.236966500 +0100
++++ test/MnSim/Makefile.am 2007-08-01 19:36:41.487294500 +0100
+@@ -18,6 +18,8 @@
+ test_Minuit2_PaulTest4 \
+ test_Minuit2_ReneTest
+
++TESTS = $(check_PROGRAMS)
++
+ test_Minuit2_DemoGaussSim_SOURCES = \
+ GaussFunction.h \
+ GaussRandomGen.h \
+--- test/MnTutorial/Makefile.am.orig 2007-08-01 19:36:20.253967500 +0100
++++ test/MnTutorial/Makefile.am 2007-08-01 19:37:06.568862000 +0100
+@@ -15,6 +15,8 @@
+ test_Minuit2_Quad12FMain \
+ test_Minuit2_Quad1FMain
+
++TESTS = $(check_PROGRAMS)
++
+ test_Minuit2_Quad4FMain_SOURCES = \
+ Quad4F.h \
+ Quad4FMain.cxx
diff --git a/sci-libs/minuit/minuit-5.16.00.ebuild b/sci-libs/minuit/minuit-5.16.00.ebuild
new file mode 100644
index 000000000000..badedc99dd1e
--- /dev/null
+++ b/sci-libs/minuit/minuit-5.16.00.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/minuit/minuit-5.16.00.ebuild,v 1.1 2007/08/01 19:15:35 bicatali Exp $
+
+MY_PN=Minuit2
+
+DESCRIPTION="A C++ physics analysis tool for function minimization"
+HOMEPAGE="http://seal.web.cern.ch/seal/MathLibs/Minuit2/html/index.html"
+
+SRC_URI="http://seal.web.cern.ch/seal/MathLibs/${MY_PN}/${MY_PN}-${PV}.tar.gz
+ doc? ( http://seal.cern.ch/documents/minuit/mnusersguide.pdf
+ http://seal.cern.ch/documents/minuit/mntutorial.pdf )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="doc"
+DEPEND="doc? ( app-doc/doxygen )"
+
+S=${WORKDIR}/${MY_PN}-${PV}
+
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+ if use doc; then
+ make docs || die "make docs failed"
+ fi
+}
+
+src_test() {
+ emake check || die "emake check failed"
+ # make check only compiles the tests. run them
+ for d in test/Mn*; do
+ cd ${S}/${d}
+ for t in test_*; do
+ ./${t} || die "${t} failed"
+ done
+ done
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ insinto /usr/share/doc/${PF}/MnTutorial
+ doins test/MnTutorial/*.{h,cxx}
+ if use doc; then
+ insinto /usr/share/doc/${PF}
+ doins "${DISTDIR}"/mn*.pdf || die "doins failed"
+ dohtml -r doc/html/* || die "dohtml failed"
+ fi
+}