summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/py-colorspacious/package.py
blob: 59787c0b001ade5e98744c8822d91485f0795444 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2022 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"
    pypi = "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'))