./www/py-webcolors, Library for working with color specifications for HTML and CSS

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 24.11.1, Package name: py312-webcolors-24.11.1, Maintainer: pkgsrc-users

webcolors is a Python module for working with HTML/CSS color definitions.
Support is included for 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


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 44.008 KB

Version history: (Expand)


CVS history: (Expand)


   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-04-23 13:00:22 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-webcolors: updated to 1.13

Version 1.13

No bug fixes or new features.

Other changes

* Supported Python versions are now 3.7, 3.8, 3.9, 3.10, and 3.11

* The codebase was significantly reorganized and modernized. Public API is
  unchanged. Imports should continue to be directly from the top-level
  ``webcolors`` module; attempting to import from submodules is not supported.

* Now packaging declaratively via ``pyproject.toml`` with `PEP 517
  <https://peps.python.org/pep-0517/>`_ support from ``setuptools``.
   2022-09-05 13:24:21 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-webcolors: updated to 1.12

Version 1.12, released 2022-05-25
---------------------------------
No bug fixes or new features.

Other changes
* Supported Python versions are now 3.7, 3.8, 3.9, and 3.10.
   2022-01-04 21:55:40 by Thomas Klausner | Files touched by this commit (1595)
Log message:
*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2020-02-19 18:49:24 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-webcolors: updated to 1.11.1

Version 1.11.1:

Bugs fixed
* Corrected an error regarding supported Python versions in the
  README file.

Version 1.11:
No bug fixes or new features.

Other changes
* Python 2 has reached the end of its support cycle from the Python
  core team; accordingly, Python 2 support is dropped. Supported
  Python versions are now 3.5, 3.6, 3.7, and 3.8.
   2019-11-18 05:47:09 by David H. Gutteridge | Files touched by this commit (4) | Package updated
Log message:
py-webcolors: update to version 1.10

Change log:

Version 1.10, released 2019-09-08
---------------------------------

No bug fixes or new features.

Other changes
~~~~~~~~~~~~~

* Similar to the change in version 1.9 which normalized conversions to
  named colors for `gray`/`grey` to always use the `gray` variant, the
  other named grays of CSS3 now normalize to the `gray` spelling. This
  affects the following colors: `darkgray`/`darkgrey`,
  `darkslategray`/`darkslategrey`, `dimgray`/`dimgrey`,
  `lightgray`/`lightgrey`, `lightslategray`/`lightslategrey`,
  `slategray`/`slategrey`.

Version 1.9.1, released 2019-06-07
----------------------------------

Bugs fixed
~~~~~~~~~~

* The `__version__` attribute of the installed webcolors module,
  although not documented or referenced anywhere, was accidentally not
  updated in the 1.9 release. It has now been updated (and now
  indicates 1.9.1).

Version 1.9, released 2019-06-01
--------------------------------

No bug fixes.

New features
~~~~~~~~~~~~

* Added :ref:`a set of constants to use when referring to
  specifications that define color names <spec-constants>`.

Other changes
~~~~~~~~~~~~~

* When asked to provide a color name, using the CSS3/SVG set of names,
  for the hexadecimal value `#808080`, the integer triplet `rgb(128,
  128, 128)`, or the percentage triplet `rgb(50%, 50%, 50%)`,
  webcolors now always returns `u'gray'`, never `u'grey'`. Previously,
  the behavior could be inconsistent as it depended on the Python
  version in use; `u'gray'` was picked because it was the spelling
  variant used in HTML 4, CSS1, and CSS2.

Version 1.8.1, released 2018-02-12
----------------------------------

The 1.8.1 release is a repackaging of 1.8 to produce both source
(.tar.gz) and binary (.whl) package formats, following reports that
the source-package-only release of 1.8 was causing installation issues
for some users. See `issue 6 in the repository
<https://github.com/ubernostrum/webcolors/issues/6>`_ for details.

Version 1.8, released 2018-02-08
--------------------------------

No bug fixes.

New features
~~~~~~~~~~~~

* Added the :class:`~webcolors.IntegerRGB`,
  :class:`~webcolors.PercentRGB`, and
  :class:`~webcolors.HTML5SimpleColor` named tuples.

Other changes
~~~~~~~~~~~~~

* Drop support for Python 3.3 (Python core team no longer maintains
  3.3).

* Mark support for Python 3.6.

* :ref:`The full verification tests <full-verification>` now run
  correctly on Python 3.

Version 1.7, released 2016-11-25
--------------------------------

No new features or bugfixes.

Other changes
~~~~~~~~~~~~~

* Drop support for Python 2.6 (Python core team no longer maintains
  2.6).

* Mark support for Python 3.4.

* On Python 3, the use of :class:`str` for all functions which take
  string arguments is now mandatory. Attempted use of :class:`bytes`
  will raise an exception. On Python 2, use of bytestrings is still
  permitted.

Version 1.5.1, released 2015-11-23
----------------------------------

No new features.

Bug fixes
~~~~~~~~~

* Corrected multiple typos in documentation.

Version 1.5, released 2015-03-07
--------------------------------

No bug fixes.

New features
~~~~~~~~~~~~

* Python 3 support: webcolors now supports Python 3.3.

* Added :ref:`HTML5 color algorithms <html5-algorithms>`.

Other changes
~~~~~~~~~~~~~

* Packaging improvements.