Files
spack/var/spack/repos/builtin/packages/tulip/package.py
Todd Gamblin a8ccb8e116 copyrights: update all files with license headers for 2021
- [x] add `concretize.lp`, `spack.yaml`, etc. to licensed files
- [x] update all licensed files to say 2013-2021 using
      `spack license update-copyright-year`
- [x] appease mypy with some additions to package.py that needed
      for oneapi.py
2021-01-02 12:12:00 -08:00

43 lines
1.4 KiB
Python

# Copyright 2013-2021 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'
]