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.
This commit is contained in:
Hector Martinez-Seara 2019-11-26 17:42:39 +01:00 committed by Adam J. Stewart
parent 7d3d03dea9
commit ad2cc38f22
2 changed files with 31 additions and 13 deletions

View file

@ -0,0 +1,19 @@
# 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 LibmmtfCpp(CMakePackage):
"""The macromolecular transmission format (MMTF) is a binary encoding of
biological structures. This repository holds the C++-03 compatible API,
encoding and decoding libraries."""
homepage = "https://github.com/rcsb/mmtf-cpp"
url = "https://github.com/rcsb/mmtf-cpp/archive/v1.0.0.tar.gz"
version('1.0.0', sha256='881f69c4bb56605fa63fd5ca50842facc4947f686cbf678ad04930674d714f40')
depends_on('msgpack-c')

View file

@ -13,20 +13,19 @@ class PyPymol(PythonPackage):
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"
url = "https://github.com/schrodinger/pymol-open-source/archive/v2.3.0.tar.gz"
version('2.1.0', sha256='7ae8ebb899533d691a67c1ec731b00518dea456ab3e258aa052a65c24b63eae2')
version('2.3.0', sha256='62aa21fafd1db805c876f89466e47513809f8198395e1f00a5f5cc40d6f40ed0')
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('freetype', type=('build', 'run'))
depends_on('glew')
depends_on('libpng')
depends_on('freetype')
depends_on('libxml2')
depends_on('msgpack-c')
depends_on('py-pyqt4', type=('build', 'run'))
depends_on('freeglut')
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'))