commit: c461eb3d7a12ec8da0184c04d998ddeaa16c37a2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Sat Nov 18 17:53:22 2017 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Sat Nov 18 17:53:22 2017 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c461eb3d
sci-visualization/mantid: Dropped due to missing dependency Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> .../mantid/files/mantid-3.3.0-minigzip-OF.patch | 28 ------- sci-visualization/mantid/mantid-3.3.0.ebuild | 98 ---------------------- sci-visualization/mantid/metadata.xml | 29 ------- 3 files changed, 155 deletions(-) diff --git a/sci-visualization/mantid/files/mantid-3.3.0-minigzip-OF.patch b/sci-visualization/mantid/files/mantid-3.3.0-minigzip-OF.patch deleted file mode 100644 index 6067ad7f7..000000000 --- a/sci-visualization/mantid/files/mantid-3.3.0-minigzip-OF.patch +++ /dev/null @@ -1,28 +0,0 @@ -The minigzip code does the same thing as sys-libs/zlib[minizip] but for .gz files rather than .zip - -It uses a macro 'OF(args)' - this seems to be for compatibility with old C compilers. -It is declared in zconf.h but newer versions of zlib use _Z_OF instead. - -This patch has been submitted upstream at: -https://github.com/mantidproject/mantid/pull/149 - -diff --git a/MantidPlot/src/zlib123/minigzip.c b/MantidPlot/src/zlib123/minigzip.c -index 97fbae1..5f4612f 100644 ---- a/MantidPlot/src/zlib123/minigzip.c -+++ b/MantidPlot/src/zlib123/minigzip.c -@@ -50,6 +50,15 @@ - # include <unix.h> /* for fileno */ - #endif - -+/* New versions of zlib use _Z_OF rather than OF */ -+#ifndef OF -+# ifdef _Z_OF -+# define OF _Z_OF -+# else -+# define OF(args) args -+# endif -+#endif -+ - #ifndef WIN32 /* unlink already in stdio.h for WIN32 */ - extern int unlink OF((const char *)); - #else diff --git a/sci-visualization/mantid/mantid-3.3.0.ebuild b/sci-visualization/mantid/mantid-3.3.0.ebuild deleted file mode 100644 index 17048fb68..000000000 --- a/sci-visualization/mantid/mantid-3.3.0.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -FORTRAN_STANDARD=90 - -PYTHON_COMPAT=( python2_7 ) - -inherit eutils cmake-utils versionator python-single-r1 multilib flag-o-matic - -MAJOR_PV=$(get_version_component_range 1-2) - -DESCRIPTION="Utilities for processing and plotting neutron scattering data" -HOMEPAGE="http://www.mantidproject.org/" -SRC_URI="mirror://sourceforge/project/${PN}/${MAJOR_PV}/${P}-Source.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64" -IUSE="doc +opencascade opencl paraview pch tcmalloc test" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RESTRICT="test" # Testing requires sample data and X11 access - -# There is a list of dependencies on the Mantid website at: -# http://www.mantidproject.org/Mantid_Prerequisites -RDEPEND=" - ${PYTHON_DEPS} - >=sci-libs/nexus-4.2 - >=dev-libs/poco-1.4.2 - dev-libs/boost[python,${PYTHON_USEDEP}] - >=dev-qt/qthelp-4.6:4 - >=dev-qt/qtwebkit-4.6:4 - doc? ( >=dev-qt/assistant-4.6:4 ) - opencl? ( virtual/opencl ) - tcmalloc? ( dev-util/google-perftools ) - paraview? ( >=sci-visualization/paraview-4[python,${PYTHON_USEDEP}] ) - virtual/opengl - x11-libs/qscintilla - x11-libs/qwt:5 - x11-libs/qwtplot3d - dev-python/PyQt4[${PYTHON_USEDEP}] - sci-libs/gsl - dev-python/sip[${PYTHON_USEDEP}] - dev-python/ipython[qt4,${PYTHON_USEDEP}] - dev-python/numpy[${PYTHON_USEDEP}] - sci-libs/scipy[${PYTHON_USEDEP}] - dev-cpp/muParser - dev-libs/jsoncpp - dev-libs/openssl:0 - opencascade? ( sci-libs/opencascade:=[qt4] ) -" - -DEPEND="${RDEPEND} - dev-python/sphinx - doc? ( - app-doc/doxygen[dot] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx-bootstrap-theme[${PYTHON_USEDEP}] - app-text/dvipng - dev-texlive/texlive-latex - dev-texlive/texlive-latexextra - ) - test? ( dev-util/cppcheck ) -" - -S="${WORKDIR}/${P}-Source" - -PATCHES=( "${FILESDIR}"/${P}-minigzip-OF.patch ) - -src_configure() { - append-cppflags -DHAVE_IOSTREAM -DHAVE_LIMITS -DHAVE_IOMANIP - mycmakeargs=( - $(cmake-utils_use_enable doc QTASSISTANT) - $(cmake-utils_use_use doc DOT) - $(cmake-utils_use doc DOCS_HTML) - $(cmake-utils_use_no opencascade) - $(cmake-utils_use opencl OPENCL_BUILD) - $(cmake-utils_use_use tcmalloc TCMALLOC) - $(cmake-utils_use paraview MAKE_VATES) - $(cmake-utils_use_use pch PRECOMPILED_HEADERS) - $(cmake-utils_use_build test TESTING) - ) - if use opencascade - then - [[ -z ${CASROOT} ]] && die "CASROOT environment variable not defined, that usually means you need to use 'eselect opencascade'." - mycmakeargs+=( -DCMAKE_PREFIX_PATH="${CASROOT}" ) - fi - cmake-utils_src_configure -} - -src_test() { - # Tests are not built by default - emake AllTests - cmake-utils_src_test -} diff --git a/sci-visualization/mantid/metadata.xml b/sci-visualization/mantid/metadata.xml deleted file mode 100644 index b3d3b4618..000000000 --- a/sci-visualization/mantid/metadata.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>cj...@cam.ac.uk</email> - <name>Chris Kerr</name> - <description>I don't develop this software, I'm just a Gentoo user who wanted to install it</description> - </maintainer> - <maintainer type="project"> - <email>s...@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <longdescription>The Mantid project provides a framework that supports - high-performance computing and visualisation of scientific data. - - Mantid has been created to manipulate and analyse neutron scattering and muon - spectroscopy data, but could be applied to many other techniques. - </longdescription> - <use> - <flag name="doc">Generate documentation with <pkg>app-doc/doxygen</pkg>, QT Assistant etc</flag> - <flag name="opencascade">Use OpenCascade to show 3D models of instruments</flag> - <flag name="opencl">Use OpenCL to accelerate calculations</flag> - <flag name="paraview">Enable the Visualisation and Analysis Toolkit ExtensionS (VATES)</flag> - <flag name="tcmalloc">Use thread-caching malloc</flag> - </use> - <upstream> - <remote-id type="sourceforge">mantid</remote-id> - </upstream> -</pkgmetadata>