pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/py-spectra



Module Name:    pkgsrc
Committed By:   bacon
Date:           Thu Jul 20 14:20:02 UTC 2023

Added Files:
        pkgsrc/graphics/py-spectra: DESCR Makefile PLIST distinfo

Log Message:
graphics/py-spectra: Color scales and color conversion

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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/py-spectra/DESCR \
    pkgsrc/graphics/py-spectra/Makefile pkgsrc/graphics/py-spectra/PLIST \
    pkgsrc/graphics/py-spectra/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/graphics/py-spectra/DESCR
diff -u /dev/null pkgsrc/graphics/py-spectra/DESCR:1.1
--- /dev/null   Thu Jul 20 14:20:02 2023
+++ pkgsrc/graphics/py-spectra/DESCR    Thu Jul 20 14:20:02 2023
@@ -0,0 +1,11 @@
+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.
Index: pkgsrc/graphics/py-spectra/Makefile
diff -u /dev/null pkgsrc/graphics/py-spectra/Makefile:1.1
--- /dev/null   Thu Jul 20 14:20:02 2023
+++ pkgsrc/graphics/py-spectra/Makefile Thu Jul 20 14:20:02 2023
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2023/07/20 14:20:02 bacon Exp $
+
+DISTNAME=      spectra-0.0.11
+PKGNAME=       ${PYPKGPREFIX}-spectra-0.0.11
+CATEGORIES=    graphics
+MASTER_SITES=  ${MASTER_SITE_PYPI:=s/spectra/}
+
+OWNER=         bacon%NetBSD.org@localhost
+HOMEPAGE=      https://pypi.python.org/pypi/spectra
+COMMENT=       Color scales and color conversion made easy for Python
+LICENSE=       mit
+
+DEPENDS=       ${PYPKGPREFIX}-colormath>=3.0.0:../../math/py-colormath
+
+TEST_DEPENDS=  ${PYPKGPREFIX}-nose>0:../../devel/py-nose
+
+do-test:
+       cd ${WRKSRC} && ${PYTHONBIN} -m nose -v test
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/graphics/py-spectra/PLIST
diff -u /dev/null pkgsrc/graphics/py-spectra/PLIST:1.1
--- /dev/null   Thu Jul 20 14:20:02 2023
+++ pkgsrc/graphics/py-spectra/PLIST    Thu Jul 20 14:20:02 2023
@@ -0,0 +1,20 @@
+@comment $NetBSD: PLIST,v 1.1 2023/07/20 14:20:02 bacon Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/spectra/__init__.py
+${PYSITELIB}/spectra/__init__.pyc
+${PYSITELIB}/spectra/__init__.pyo
+${PYSITELIB}/spectra/_version.py
+${PYSITELIB}/spectra/_version.pyc
+${PYSITELIB}/spectra/_version.pyo
+${PYSITELIB}/spectra/core.py
+${PYSITELIB}/spectra/core.pyc
+${PYSITELIB}/spectra/core.pyo
+${PYSITELIB}/spectra/grapefruit.py
+${PYSITELIB}/spectra/grapefruit.pyc
+${PYSITELIB}/spectra/grapefruit.pyo
Index: pkgsrc/graphics/py-spectra/distinfo
diff -u /dev/null pkgsrc/graphics/py-spectra/distinfo:1.1
--- /dev/null   Thu Jul 20 14:20:02 2023
+++ pkgsrc/graphics/py-spectra/distinfo Thu Jul 20 14:20:02 2023
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2023/07/20 14:20:02 bacon Exp $
+
+BLAKE2s (spectra-0.0.11.tar.gz) = c91c559e3302f839837d76c72445a813bf45585fac342ff6a6bf32f94a6ac5ab
+SHA512 (spectra-0.0.11.tar.gz) = 7b4e244ba200df8c6d7cff19ddf36a5af6cfe8cf6f89283f8dbb64345a3eb85b4f62456e3c75b7c8ce2d24e01c8a123a5763605b1e702903fe16839966e47b32
+Size (spectra-0.0.11.tar.gz) = 18819 bytes



Home | Main Index | Thread Index | Old Index