Packages/py colorspacious (#17623)

* typo error correction

* Adding recipe for `colorspacious` (a python package)

* Copyright year changed

* revert last commit on basic_usage.rst

* better with a good description

* fix according to failed test

* Update var/spack/repos/builtin/packages/py-colorspacious/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Update var/spack/repos/builtin/packages/py-colorspacious/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
Claire Guilbaud 2020-08-04 06:01:03 +02:00 committed by GitHub
parent b1133fab22
commit ce7aefbb4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,20 @@
# Copyright 2013-2020 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 PyColorspacious(PythonPackage):
"""A powerful, accurate, and easy-to-use Python library for doing colorspace
conversions.
"""
homepage = "https://github.com/njsmith/colorspacious"
url = "https://pypi.io/packages/source/c/colorspacious/colorspacious-1.1.2.tar.gz"
version('1.1.2', sha256='5e9072e8cdca889dac445c35c9362a22ccf758e97b00b79ff0d5a7ba3e11b618')
depends_on('py-setuptools', type='build')
depends_on('py-numpy', type=('build', 'run'))