summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLevi Baber <baberlevi@gmail.com>2018-04-21 10:28:09 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2018-04-21 10:28:09 -0500
commit3274f16780e6e625198f5178c3da27f021f06bda (patch)
treeac8208932381432a0838043678820ecd1891567d
parent8cc24fa20bb4b805d6bf0a854c15bd375e614c00 (diff)
downloadspack-3274f16780e6e625198f5178c3da27f021f06bda.tar.gz
spack-3274f16780e6e625198f5178c3da27f021f06bda.tar.bz2
spack-3274f16780e6e625198f5178c3da27f021f06bda.tar.xz
spack-3274f16780e6e625198f5178c3da27f021f06bda.zip
py-pymol: new package (#7823)
* py-pymol: new package * py-pymol: needs python+tk
-rw-r--r--var/spack/repos/builtin/packages/py-pymol/package.py51
1 files changed, 51 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-pymol/package.py b/var/spack/repos/builtin/packages/py-pymol/package.py
new file mode 100644
index 0000000000..5ba09f1bc9
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-pymol/package.py
@@ -0,0 +1,51 @@
+##############################################################################
+# Copyright (c) 2013-2018, Lawrence Livermore National Security, LLC.
+# Produced at the Lawrence Livermore National Laboratory.
+#
+# This file is part of Spack.
+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
+# LLNL-CODE-647188
+#
+# For details, see https://github.com/spack/spack
+# Please also see the NOTICE and LICENSE files for our notice and the LGPL.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License (as
+# published by the Free Software Foundation) version 2.1, February 1999.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and
+# conditions of the GNU Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+##############################################################################
+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+tk', 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')