spack/var/spack/repos/builtin/packages/py-pymol/package.py
Adam J. Stewart b43e8fcaa7
Python: optional dependencies and post-installation tests (#10335)
* Add post-installation tests to Python package

* libbsd does not build on macOS

* Make Python dependencies optional

* Add readline dep, remove ncurses patch, fix autoreconf
2019-02-23 12:36:26 -06:00

33 lines
1.1 KiB
Python

# Copyright 2013-2019 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)
from spack import *
class PyPymol(PythonPackage):
"""PyMOL is a Python-enhanced molecular graphics tool. It excels at 3D
visualization of proteins, small molecules, density, surfaces, and
trajectories. It also includes molecular editing, ray tracing, and
movies. Open Source PyMOL is free to everyone!"""
homepage = "https://pymol.org"
url = "https://sourceforge.net/projects/pymol/files/pymol/2/pymol-v2.1.0.tar.bz2"
version('2.1.0', 'ef2ab2ce11d65785ca3258b4e6982dfb')
depends_on('python+tkinter', type=('build', 'run'))
depends_on('tcl')
depends_on('tk')
depends_on('py-pmw')
depends_on('gl')
depends_on('glu')
depends_on('glew')
depends_on('libpng')
depends_on('freetype')
depends_on('libxml2')
depends_on('msgpack-c')
depends_on('py-pyqt', type=('build', 'run'))
depends_on('freeglut')