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

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

Branch: CURRENT, Version: 1.11.1, Package name: py37-webcolors-1.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:

Master sites:

SHA1: e3d84ff93d9f125d1ef1033c522245fb8ff20564
RMD160: 808eb25a7e7c8171cd7701f59f612683a87923cc
Filesize: 302.147 KB

Version history: (Expand)

CVS history: (Expand)

   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`,

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

* 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

* 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

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.
   2017-09-04 20:01:05 by Thomas Klausner | Files touched by this commit (192)
Log message:
Comment out dead sites.
   2017-01-19 19:52:30 by Alistair G. Crooks | Files touched by this commit (352)
Log message:
Convert all occurrences (353 by my count) of

	MASTER_SITES= 	site1 \

style continuation lines to be simple repeated


lines. As previewed on tech-pkg. With thanks to rillig for fixing pkglint
   2015-11-04 03:47:43 by Alistair G. Crooks | Files touched by this commit (758)
Log message:
Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-03-15 21:13:25 by Hiramatsu Yoshifumi | Files touched by this commit (18)
Log message:
Set MAINTAINER to pkgsrc-users.
   2014-01-25 11:30:32 by Thomas Klausner | Files touched by this commit (533) | Package updated
Log message:
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
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.
   2012-10-28 07:31:10 by Aleksej Saushev | Files touched by this commit (600)
Log message:
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.