Up to [cvs.NetBSD.org] / pkgsrc / www / py-webcolors
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
py-webcolors: updated to 24.11.1 Version 24.11.1 * Correct an error with specifying the version in the 24.11.0 package. The version number of the package was accidentally defined in two places, and they were out of sync. The extra definition has been removed. The 24.11.0 package has been yanked from PyPI to prevent problems. Version 24.11.0 * Supported Python versions are now 3.9, 3.10, 3.11, 3.12, and 3.13.
py-*: remove unused tool dependency py-setuptools includes the py-wheel functionality nowadays
py-webcolors: updated to 24.8.0 Version 24.8.0 * Added the :func:`~webcolors.names` function to allow retrieving lists of color names. The underlying mappings of color names/values still are not supported API; to obtain the color value corresponding to a name, use the appropriate conversion function.
py-webcolors: updated to 24.6.0 Version 24.6.0 * Supported Python versions are now 3.8, 3.9, 3.10, and 3.11. * Running the unit tests no longer uses a third-party test runner; the standard-library ``unittest`` module's runner is used instead. * Documentation of the HTML5 color algorithms has been updated to emphasize which HTML5 spec is used (the WHATWG spec, which is now the only canonical and maintained HTML5 spec) and comments in the implementations have been updated to include the latest prose description of the HTML5 algorithms from the spec. These updates do not change the behavior of the HTML5 algorithms, and are only for clarity of documentation and explanation. * Adopted `CalVer versioning <https://calver.org>`_. * The raw mappings of color names/values are no longer publicly exposed; use the appropriate normalizing conversion functions instead of accessing the mappings directly.
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.
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``.
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.
*: bump PKGREVISION for egg.mk users They now have a tool dependency on py-setuptools instead of a DEPENDS
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.
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.
Comment out dead sites.
Convert all occurrences (353 by my count) of MASTER_SITES= site1 \ site2 style continuation lines to be simple repeated MASTER_SITES+= site1 MASTER_SITES+= site2 lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint accordingly.
Set MAINTAINER to pkgsrc-users.
Mark packages as not ready for python-3.x where applicable; either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Update webcolors to 1.4. some improvements and clarify LICENSE.
Tag the 28 locations that result in a Python 3.1 package as supporting so. Remove it from the default list for the rest.
Import py-webcolors-1.3.1 as www/py-webcolors. 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
Initial revision