summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorSinan <sbulutw@gmail.com>2019-08-03 16:36:17 -0700
committerAdam J. Stewart <ajstewart426@gmail.com>2019-08-03 18:36:17 -0500
commit5bb73d4ad3633b9d101d1211b5198cb824052de2 (patch)
tree395f0befef519c5b14d020b15792700739d9fbd1 /var
parent98605bba0d44cd8581375a1a57a9cb0f2bb18673 (diff)
downloadspack-5bb73d4ad3633b9d101d1211b5198cb824052de2.tar.gz
spack-5bb73d4ad3633b9d101d1211b5198cb824052de2.tar.bz2
spack-5bb73d4ad3633b9d101d1211b5198cb824052de2.tar.xz
spack-5bb73d4ad3633b9d101d1211b5198cb824052de2.zip
new package: py-colorpy (#12266)
* new package: py-colorpy * remove incorrect dependency
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-colorpy/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-colorpy/package.py b/var/spack/repos/builtin/packages/py-colorpy/package.py
new file mode 100644
index 0000000000..672badc0c5
--- /dev/null
+++ b/var/spack/repos/builtin/packages/py-colorpy/package.py
@@ -0,0 +1,23 @@
+# 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 PyColorpy(PythonPackage):
+ """ColorPy is a Python package to convert physical descriptions of light -
+ spectra of light intensity vs. wavelength - into RGB colors that can be
+ drawn on a computer screen. It provides a nice set of attractive plots
+ that you can make of such spectra, and some other color related
+ functions as well.
+ """
+
+ homepage = "http://markkness.net/colorpy/ColorPy.html"
+ url = "https://pypi.org/packages/source/c/colorpy/colorpy-0.1.1.tar.gz"
+
+ version('0.1.1', sha256='e400a7e879adc83c6098dde13cdd093723f3936778c245b1caf88f5f1411170d')
+
+ depends_on('py-numpy', type='run')
+ depends_on('py-matplotlib', type='run')