graphics/py-webcolors 24.8.0_1 MidnightBSD
Library working with the sRGB color space as used in the HTML and CSS
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Port added
- Last update
- Commit
7ea36d7968- License
- bsd3
- Categories
- graphics, python
Description
webcolors is a module for working with HTML/CSS color definitions.
Support is included for normalizing and converting between the following formats (RGB colorspace only; conversion to/from HSL can be handled by the colorsys module in the Python standard library):
* Specification-defined color names * Six-digit hexadecimal * Three-digit hexadecimal * Integer rgb() triplet * Percentage rgb() triplet
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | graphics/py-webcolors | 24.8.0_1 |
| FreeBSD | graphics/py-webcolors | 24.8.0 |
| DragonFly | graphics/py-webcolors | 24.8.0 |
| HardenedBSD | graphics/py-webcolors | 24.8.0 |
| GhostBSD | graphics/py-webcolors | 24.8.0 |
Install
Binary package:
mport install ${PYTHON_PKGNAMEPREFIX}webcolors
From mports:
cd /usr/mports/graphics/py-webcolors && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}webcolors>0:graphics/py-webcolors
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}wheel>0: devel/py-wheel
Build dependencies 1
Required by 1
Configuration
Options name: graphics_webcolors
| Option | Default | Description |
|---|---|---|
| DOCS | off |
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| webcolors-24.8.0.tar.gz | 42392 | 08b07af286a01bcd30d583a7acadf629583d1f79bfef27dd2c2c5c263817277d |
Master sites 1
- PYPI
Commit history 2
| Date | Commit | Credits | Log message |
|---|---|---|---|
7ea36d7968 |
Lucas Holt | graphics/py-webcolors: fix the staging path in the option install targets The option helper targets (post-install-DOCS-on and friends) are entries in
_FAKE_SEQ and run in the main make, not in the sub-make that fake-post-install
starts with FAKE_SETUP. There PREFIX is not stage-prefixed and STAGEDIR is
empty, so ${STAGEDIR}${DOCSDIR} resolved to the live /usr/local: the build
wrote outside the stage directory and the file was then reported missing, e.g.
install ... README.rst /usr/local/share/doc/py312-webcolors
/usr/local/share/doc/py312-webcolors/README.rst not installed.
Fake failed.
Use ${FAKE_DESTDIR} in these targets, as x11-wm/icewm already does.
AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |
|
b807d69740 |
Lucas Holt | Add LangChain AI ports and dependencies AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |