colormath is a simple Python module that spares the user from directly dealing
with color math. Some features include: * Support for a wide range of color spaces. A good chunk of the CIE spaces, RGB, HSL/HSV, CMY/CMYK, and many more. * Conversions between the various color spaces. For example, XYZ to sRGB, Spectral to XYZ, CIE Lab to Adobe RGB. * Calculation of color difference. All CIE Delta E functions, plus CMC. * Chromatic adaptations (changing illuminants). * RGB to hex and vice-versa. * 16-bit RGB support. WWW: https://pypi.python.org/pypi/colormath
This commit is contained in:
parent
d0eca59eae
commit
a36857886d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=392173
@ -554,6 +554,7 @@
|
||||
SUBDIR += py-bitmath
|
||||
SUBDIR += py-bitvector
|
||||
SUBDIR += py-bottleneck
|
||||
SUBDIR += py-colormath
|
||||
SUBDIR += py-cryptominisat
|
||||
SUBDIR += py-fastcluster
|
||||
SUBDIR += py-ffc
|
||||
|
21
math/py-colormath/Makefile
Normal file
21
math/py-colormath/Makefile
Normal file
@ -0,0 +1,21 @@
|
||||
# Created by: Steven Kreuzer <skreuzer@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= colormath
|
||||
PORTVERSION= 2.1.1
|
||||
CATEGORIES= math python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= skreuzer@FreeBSD.org
|
||||
COMMENT= Module that spares the user from directly dealing with color math
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.2:${PORTSDIR}/math/py-numpy \
|
||||
${PYTHON_PKGNAMEPREFIX}networkx>=1.9.1:${PORTSDIR}/math/py-networkx
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
.include <bsd.port.mk>
|
2
math/py-colormath/distinfo
Normal file
2
math/py-colormath/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (colormath-2.1.1.tar.gz) = 003a2b2d9c1f43aa7d90addf1863fb2d822463c839b1166ae3092950792f9707
|
||||
SIZE (colormath-2.1.1.tar.gz) = 39048
|
15
math/py-colormath/pkg-descr
Normal file
15
math/py-colormath/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
colormath is a simple Python module that spares the user from directly dealing
|
||||
with color math.
|
||||
|
||||
Some features include:
|
||||
|
||||
* Support for a wide range of color spaces. A good chunk of the CIE spaces,
|
||||
RGB, HSL/HSV, CMY/CMYK, and many more.
|
||||
* Conversions between the various color spaces. For example, XYZ to sRGB,
|
||||
Spectral to XYZ, CIE Lab to Adobe RGB.
|
||||
* Calculation of color difference. All CIE Delta E functions, plus CMC.
|
||||
* Chromatic adaptations (changing illuminants).
|
||||
* RGB to hex and vice-versa.
|
||||
* 16-bit RGB support.
|
||||
|
||||
WWW: https://pypi.python.org/pypi/colormath
|
Loading…
Reference in New Issue
Block a user