summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2020-04-27 16:54:49 +0200
committerGitHub <noreply@github.com>2020-04-27 09:54:49 -0500
commitfe46919e198fdd598f056861c899a31ba2e8c548 (patch)
treebbb1de2ca7b73ce8cd73ec61ba3dbfd81c8fc7db /var
parent3f54e73025455c0f3c671e959846757a69002f25 (diff)
downloadspack-fe46919e198fdd598f056861c899a31ba2e8c548.tar.gz
spack-fe46919e198fdd598f056861c899a31ba2e8c548.tar.bz2
spack-fe46919e198fdd598f056861c899a31ba2e8c548.tar.xz
spack-fe46919e198fdd598f056861c899a31ba2e8c548.zip
tulip: added new package at v5.4.0 (#16319)
closes #3479 Co-authored-by: Kate Isaacs <kisaacs@cs.arizona.edu> Co-authored-by: Kate Isaacs <kisaacs@cs.arizona.edu>
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/tulip/package.py42
1 files changed, 42 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tulip/package.py b/var/spack/repos/builtin/packages/tulip/package.py
new file mode 100644
index 0000000000..77d010222d
--- /dev/null
+++ b/var/spack/repos/builtin/packages/tulip/package.py
@@ -0,0 +1,42 @@
+# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+class Tulip(CMakePackage):
+ """ Tulip is an information visualization framework dedicated to the
+ analysis and visualization of relational data.
+
+ Tulip aims to provide the developer with a complete library, supporting
+ the design of interactive information visualization applications for
+ relational data that can be tailored to the problems he or she is
+ addressing.
+ """
+
+ homepage = "https://tulip.labri.fr"
+ url = "https://sourceforge.net/projects/auber/files/tulip/tulip-5.4.0/tulip-5.4.0_src.tar.gz"
+
+ version('5.4.0', sha256='2175e4e1a79028ab7a2479e882242f304fd3e01fedf80e1f29f8f5e9a6eb1325')
+
+ extends('python')
+ depends_on('py-pyqt5', type=('build', 'run'))
+
+ depends_on('yajl')
+ depends_on('qt')
+ depends_on('qhull')
+ depends_on('freetype')
+ depends_on('zlib')
+ depends_on('glew')
+ depends_on('jpeg')
+ depends_on('libpng')
+ depends_on('libxml2')
+
+ def cmake_args(self):
+ # The use of GL/glu.h seems to be deprecated, see:
+ # https://github.com/nigels-com/glew/issues/192
+ return [
+ '-DCMAKE_CXX_FLAGS="-DGLEW_NO_GLU"',
+ '-DCMAKE_C_FLAGS="-DGLEW_NO_GLU"',
+ '-DTULIP_BUILD_DOC:BOOL=OFF'
+ ]