BSD Ports

graphics/py-spectra 0.1.0 FreeBSD

Color scales and color conversion made easy for Python

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
2414383046
License
MIT
Categories
graphics, python
Package size
38.5 KiB, 245.2 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDgraphics/py-spectra0.1.0
NetBSDgraphics/py-spectra0.0.11
DragonFlygraphics/py-spectra0.0.11_2

Install

Binary package:

pkg install py312-spectra

From the ports tree:

cd /usr/ports/graphics/py-spectra/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-spectra>0:graphics/py-spectra

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.1.00.1.00.0.110.0.11_20.1.0
FreeBSD:14:quarterly0.1.00.1.0n/a0.0.11_20.1.0
FreeBSD:15:latest0.1.00.1.0n/a0.0.11_20.0.11_2
FreeBSD:15:quarterly0.1.00.1.0n/an/an/a
FreeBSD:16:latest0.1.00.1.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 164

The first 100 are listed.

Configuration

No options to configure.

USES
python
Service scripts
none

Message after installing

===>   NOTICE:

The py312-spectra port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

Files

distinfo 1
FileSizeSHA256
spectra-0.1.0.tar.gz193636a30e33241cb18256020395181cb4cc029dcac6de6f8d78cecbed81c14226a3f
Master sites 1
  • PYPI

Commit history 2

DateCommitCreditsLog message
2414383046 Jason W. Bacon Release numerous ports to ports@
I've been retired for a few years, and it is unlikely I will be doing any more scientific computing support in the future. I have continued to maintain ~160 ports to the best of my ability, mainly as a favor to the community, but I can no longer justify the time and effort required. I am therefore releasing most of my scientific ports, along with a few others, to ports@. I will continue to maintain ports I am actively using and those for which I am upstream.
e7d57a7982 Jason W. Bacon graphics/py-spectra: Update to 0.1.0
Switch dependencies to colormath2 and pytest Changes: https://github.com/jsvine/spectra/releases Reported by: Repology