Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2019 15:54:33 +0000 (UTC)
From:      "Jason W. Bacon" <jwb@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r512590 - in head/graphics: . py-spectra
Message-ID:  <201909221554.x8MFsXUT025728@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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