summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-03-19 10:01:10 +0100
committerDavid Seifert <soap@gentoo.org>2017-03-19 10:02:09 +0100
commit45f63ad6871a4c168b577a62a1fab34792a2a6c3 (patch)
treed67448600cc376466b4eefdf7e737694ecb56849 /sci-libs/minuit
parentdev-util/kdevelop-pg-qt: Fix S (diff)
downloadgentoo-45f63ad6871a4c168b577a62a1fab34792a2a6c3.tar.gz
gentoo-45f63ad6871a4c168b577a62a1fab34792a2a6c3.tar.bz2
gentoo-45f63ad6871a4c168b577a62a1fab34792a2a6c3.zip
sci-libs/minuit: Version bump to 5.34.14
* EAPI=6 Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sci-libs/minuit')
-rw-r--r--sci-libs/minuit/Manifest1
-rw-r--r--sci-libs/minuit/files/minuit-5.27.02-asneeded.patch8
-rw-r--r--sci-libs/minuit/minuit-5.34.14.ebuild74
3 files changed, 79 insertions, 4 deletions
diff --git a/sci-libs/minuit/Manifest b/sci-libs/minuit/Manifest
index aaca557cef04..c68f06b16993 100644
--- a/sci-libs/minuit/Manifest
+++ b/sci-libs/minuit/Manifest
@@ -1,3 +1,4 @@
DIST Minuit2-5.28.00.tar.gz 471275 SHA256 c3d380b021f4f8e21cde9b73f7019a2aa94c4fcaf5af3f30151ef5f7bfcb23cb SHA512 b543171fe1d3629e5b58af36b2d31c574fd65bcb7d231403a4270f8ea830a9fae335749a3028f003e3b1fe9635e443f5689f37859621a0d1dd1ed1c84e37ac4c WHIRLPOOL 4085efb9d9a283c32aabb7262a69c689ea1804607d7a949248fc29e8e8e1661f051e575c0cc7142beb642537497b1e2098622023da76fa88898e7a4a552dbfcb
+DIST minuit-5.34.14.tar.gz 510005 SHA256 2ca9a283bbc315064c0a322bc4cb74c7e8fd51f9494f7856e5159d0a0aa8c356 SHA512 96e520e0f9454f57a9529662612f444f60bcf63d21b7950b832cf3c670ee407ae78c9ffaf34eee728c0b68a4e39c347ea69121b4a51f1b2d33fd2176db88f720 WHIRLPOOL 921a290b176de9d53cec4c4aa11f05e1e202af93e2a401099e28234e5fb1204cccd16789428e02b8cbd8e8c4d0b9088d16e4d90708eab92903237cbc6821165e
DIST mntutorial.pdf 263735 SHA256 a72207746c548f4b468b147c27552b4a1bc9762df2a19f9cb0f9ec297899ef07 SHA512 27d6fdc85fa190cd8e4e22d9ccac543005878718e24ececfbc1236266f50759390daf7ff50859dcfae18562a655955846460a56deeb4d44f23e77a629b1cddb1 WHIRLPOOL 29a77b3990d71c9e51ec55cb1e3a4e84d92f842a63453c23a62027e0bfec0b5f1279d24be192a98affb657d980bb1b13dae49cdadf2cfe29ad60c3bb0ea2f24e
DIST mnusersguide.pdf 260072 SHA256 cffef5faa1c4d6ac589d4bd40ea474302f55fab47ab2e711b37f1183870fb206 SHA512 6ed46923a798de7b1e5d9eb556684ece53fb85b57b18f4fd847de9f83251461fa69f841418272337e5284e061760c96798913b3f8e1d718a35a86f6e702d269b WHIRLPOOL c51ab4a9cc00b449e9bb8069ab4c3e19341bd25baa49053b0686d59f36e3a877769aed1cf88b303b6db8b2e2d34f72970fad821af963165a3c22e7aa54e05bb9
diff --git a/sci-libs/minuit/files/minuit-5.27.02-asneeded.patch b/sci-libs/minuit/files/minuit-5.27.02-asneeded.patch
index b9b8b4b5bb5d..e808a928f5e6 100644
--- a/sci-libs/minuit/files/minuit-5.27.02-asneeded.patch
+++ b/sci-libs/minuit/files/minuit-5.27.02-asneeded.patch
@@ -2,8 +2,8 @@ This OpenMP library finding code is from ImageMagick's configure.ac
http://bugs.gentoo.org/314095
---- configure.in
-+++ configure.in
+--- a/configure.in
++++ b/configure.in
@@ -44,6 +44,20 @@
CFLAGS="$CFLAGS $OPENMP_CFLAGS"
CXXFLAGS="$CXXFLAGS $OPENMP_CXXFLAGS"
@@ -25,8 +25,8 @@ http://bugs.gentoo.org/314095
dnl files to be generated
AC_OUTPUT(Makefile inc/Makefile inc/Minuit2/Makefile inc/Math/Makefile src/Makefile
doc/Doxyfile doc/Makefile test/Makefile test/MnSim/Makefile
---- src/Makefile.am
-+++ src/Makefile.am
+--- a/src/Makefile.am
++++ b/src/Makefile.am
@@ -9,6 +9,8 @@
# The convenience library to be built.
lib_LTLIBRARIES = libMinuit2.la
diff --git a/sci-libs/minuit/minuit-5.34.14.ebuild b/sci-libs/minuit/minuit-5.34.14.ebuild
new file mode 100644
index 000000000000..433d7e2663a2
--- /dev/null
+++ b/sci-libs/minuit/minuit-5.34.14.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A C++ physics analysis tool for function minimization"
+HOMEPAGE="https://seal.web.cern.ch/seal/snapshot/work-packages/mathlibs/minuit/"
+SRC_URI="
+ http://www.cern.ch/mathlibs/sw/${PV//./_}/${PN^}2/${PN^}2-5.34.14.tar.gz -> ${P}.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="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc openmp static-libs"
+
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND=""
+
+S="${WORKDIR}/${PN^}2-${PV}"
+
+PATCHES=( "${FILESDIR}"/${PN}-5.27.02-asneeded.patch )
+
+src_prepare() {
+ default
+ rm config/m4/ac_openmp.m4 || die
+ mv configure.{in,ac} || die
+
+ AT_M4DIR="config/m4" eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ $(use_enable openmp)
+}
+
+src_compile() {
+ default
+ use doc && emake docs
+}
+
+src_test() {
+ emake check
+
+ cd test/MnTutorial || die
+ local t
+ for t in test_*; do
+ ./${t} || die "${t} failed"
+ done
+}
+
+src_install() {
+ if use doc; then
+ # remove doxygen junk
+ find doc/html \( -iname '*.map' -o -iname '*.md5' \) -delete || die
+ HTML_DOCS=( doc/html/. )
+ dodoc "${DISTDIR}"/mn{usersguide,tutorial}.pdf
+ fi
+ default
+
+ docinto examples
+ dodoc test/MnTutorial/*.{h,cxx}
+ docompress -x /usr/share/doc/${PF}/examples
+
+ if ! use static-libs; then
+ find "${D}" -name '*.la' -delete || die
+ fi
+}