spack/var/spack/repos/builtin/packages/py-pymol/package.py
Hector Martinez-Seara ad2cc38f22 Py-pymol package has been updated to the latest version (#13764)
* Added new package libmmtf-cpp required by py-pymol

* Added SPDX-License-Identifier to MIT

*  Updated py-pymol to version 2.3.0

* py-pymol: Added mising py-pmw dependency

* py-pymol: flake8 minor change

* py-pymol: Added patch for apbstools_tcltk8.6

This patch is borrowed from archlinux
https://bugs.archlinux.org/task/39526

* libmmtf-cpp: flake8 compliance

* libmmtf-cpp: flake8 compliance

* libmmtf-cpp: change license to  (Apache-2.0 OR MIT) when refering to the MIT license

* libmmtf-cpp: Added header text about license as in examples

* py-pymol: removed unnecesary dependency mesa-glu

* py-pymol: removed unnecesary patch

* py-pymol: Removed empty line at the end of the file to comply with flake8.
2019-11-26 10:42:39 -06:00

32 lines
1.2 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://github.com/schrodinger/pymol-open-source/archive/v2.3.0.tar.gz"
version('2.3.0', sha256='62aa21fafd1db805c876f89466e47513809f8198395e1f00a5f5cc40d6f40ed0')
depends_on('python+tkinter', type=('build', 'run'))
depends_on('freetype', type=('build', 'run'))
depends_on('glew')
depends_on('glm')
depends_on('freeglut', type=('build', 'run'))
depends_on('py-numpy', type=('build', 'run'))
depends_on('tcsh', type=('build', 'run'))
depends_on('py-pyqt5', type=('build', 'run'))
depends_on('py-pmw', type=('build', 'run'))
depends_on('libmmtf-cpp', type=('build'))
depends_on('msgpack-c', type=('build'))