summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-08-28 18:32:08 -0700
committerPeter Scheibel <scheibel1@llnl.gov>2019-08-28 18:32:08 -0700
commit4aa5928311e3c5e8d059845b5a3571d4f96ca19f (patch)
treedef2186135b0c1a3b6594605080afe3e71fc49e7 /var
parentbd1a837bee62091f718f58f7e5c7d77bd9ec78f4 (diff)
downloadspack-4aa5928311e3c5e8d059845b5a3571d4f96ca19f.tar.gz
spack-4aa5928311e3c5e8d059845b5a3571d4f96ca19f.tar.bz2
spack-4aa5928311e3c5e8d059845b5a3571d4f96ca19f.tar.xz
spack-4aa5928311e3c5e8d059845b5a3571d4f96ca19f.zip
New package: py-wand (#12590)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-wand/package.py30
1 files changed, 30 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-wand/package.py b/var/spack/repos/builtin/packages/py-wand/package.py
new file mode 100644
index 0000000000..ac4f82fd5b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-wand/package.py
@@ -0,0 +1,30 @@
+# 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 PyWand(PythonPackage):
+ """Wand is a ctypes-based simple ImageMagick binding for Python.
+ """
+
+ homepage = "http://docs.wand-py.org"
+ url = "https://pypi.io/packages/source/W/Wand/Wand-0.5.6.tar.gz"
+
+ version('0.5.6', sha256='d06b59f36454024ce952488956319eb542d5dc65f1e1b00fead71df94dbfcf88')
+ version('0.4.2', sha256='a0ded99a9824ddd82617a4b449164e2c5c93853aaff96f9e0bab8b405d62ca7c')
+
+ variant('docs', default=False, description='Build docs')
+
+ depends_on('py-setuptools', type='build')
+ # provides libmagickwand
+ depends_on('image-magick')
+ depends_on('python@2.7:2.8,3.3:', type=('build', 'run'))
+
+ depends_on('py-sphinx@1:', type='build', when='+docs')
+
+ depends_on('py-pytest@2.3.0:', type='test')
+ depends_on('py-pytest-xdist@1.8:', type='test')
+ depends_on('py-psutil@1.0.1:', type='test')