svn commit: r512590 - in head/graphics: . py-spectra
Jason W. Bacon
jwb at FreeBSD.org
Sun Sep 22 15:54:34 UTC 2019
Author: jwb
Date: Sun Sep 22 15:54:33 2019
New Revision: 512590
URL: https://svnweb.freebsd.org/changeset/ports/512590
Log:
graphics/py-spectra: Color scales and color conversion made easy for Python
Spectra is a Python library that makes color math, color scales, and
color-space conversion easy.
Support for:
Color scales
Color ranges
Color blending
Brightening/darkening colors
Saturating/desaturating colors
Conversion to/from multiple color spaces
Spectra is built on colormath and grapefruit. Spectra is enormously inspired by
chroma.js and d3's scales.
Added:
head/graphics/py-spectra/
head/graphics/py-spectra/Makefile (contents, props changed)
head/graphics/py-spectra/distinfo (contents, props changed)
head/graphics/py-spectra/pkg-descr (contents, props changed)
Modified:
head/graphics/Makefile
Modified: head/graphics/Makefile
==============================================================================
--- head/graphics/Makefile Sun Sep 22 14:45:50 2019 (r512589)
+++ head/graphics/Makefile Sun Sep 22 15:54:33 2019 (r512590)
@@ -897,6 +897,7 @@
SUBDIR += py-seqdiag
SUBDIR += py-sorl-thumbnail
SUBDIR += py-soya3d
+ SUBDIR += py-spectra
SUBDIR += py-stltools
SUBDIR += py-svgwrite
SUBDIR += py-termtosvg
Added: head/graphics/py-spectra/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/py-spectra/Makefile Sun Sep 22 15:54:33 2019 (r512590)
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= spectra
+DISTVERSION= 0.0.11
+CATEGORIES= graphics python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= jwb at FreeBSD.org
+COMMENT= Color scales and color conversion made easy for Python
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>0:devel/py-nose@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+do-test:
+ @cd ${WRKSRC} && ${PYTHON_CMD} -m nose -v test
+
+.include <bsd.port.mk>
Added: head/graphics/py-spectra/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/py-spectra/distinfo Sun Sep 22 15:54:33 2019 (r512590)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1569116785
+SHA256 (spectra-0.0.11.tar.gz) = 8eb362a5187cb63cee13cd01186799c0c791a3ad3bec57b279132e12521762b8
+SIZE (spectra-0.0.11.tar.gz) = 18819
Added: head/graphics/py-spectra/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/graphics/py-spectra/pkg-descr Sun Sep 22 15:54:33 2019 (r512590)
@@ -0,0 +1,16 @@
+Spectra is a Python library that makes color math, color scales, and
+color-space conversion easy.
+
+Support for:
+
+ Color scales
+ Color ranges
+ Color blending
+ Brightening/darkening colors
+ Saturating/desaturating colors
+ Conversion to/from multiple color spaces
+
+Spectra is built on colormath and grapefruit. Spectra is enormously inspired by
+chroma.js and d3's scales.
+
+WWW: https://pypi.python.org/pypi/spectra
More information about the svn-ports-head
mailing list