26 lines
1.1 KiB
Python
26 lines
1.1 KiB
Python
# Copyright 2013-2021 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 RFarver(RPackage):
|
|
"""High Performance Colour Space Manipulation
|
|
|
|
The encoding of colour can be handled in many different ways, using
|
|
different colour spaces. As different colour spaces have different uses,
|
|
efficient conversion between these representations are important. The
|
|
'farver' package provides a set of functions that gives access to very fast
|
|
colour space conversion and comparisons implemented in C++, and offers
|
|
speed improvements over the 'convertColor' function in the 'grDevices'
|
|
package."""
|
|
|
|
homepage = "https://github.com/thomasp85/farver"
|
|
url = "https://cloud.r-project.org/src/contrib/farver_2.0.1.tar.gz"
|
|
list_url = "https://cloud.r-project.org/src/contrib/Archive/farver"
|
|
|
|
version('2.0.3', sha256='0e1590df79ec6078f10426411b96216b70568a4eaf3ffd84ca723add0ed8e5cc')
|
|
version('2.0.1', sha256='1642ca1519ef80616ab044ae7f6eaf464118356f2a7875e9d0e3df60ca84012b')
|