Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jul 2015 17:35:03 +0000 (UTC)
From:      Steven Kreuzer <skreuzer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r392173 - in head/math: . py-colormath
Message-ID:  <201507151735.t6FHZ3GI076722@svnmir.geo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: skreuzer
Date: Wed Jul 15 17:35:02 2015
New Revision: 392173
URL: https://svnweb.freebsd.org/changeset/ports/392173

Log:
  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

Added:
  head/math/py-colormath/
  head/math/py-colormath/Makefile   (contents, props changed)
  head/math/py-colormath/distinfo   (contents, props changed)
  head/math/py-colormath/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Wed Jul 15 17:19:13 2015	(r392172)
+++ head/math/Makefile	Wed Jul 15 17:35:02 2015	(r392173)
@@ -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

Added: head/math/py-colormath/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-colormath/Makefile	Wed Jul 15 17:35:02 2015	(r392173)
@@ -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>

Added: head/math/py-colormath/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-colormath/distinfo	Wed Jul 15 17:35:02 2015	(r392173)
@@ -0,0 +1,2 @@
+SHA256 (colormath-2.1.1.tar.gz) = 003a2b2d9c1f43aa7d90addf1863fb2d822463c839b1166ae3092950792f9707
+SIZE (colormath-2.1.1.tar.gz) = 39048

Added: head/math/py-colormath/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/py-colormath/pkg-descr	Wed Jul 15 17:35:02 2015	(r392173)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507151735.t6FHZ3GI076722>