summaryrefslogtreecommitdiff
path: root/www/py-webcolors
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2019-11-18 04:47:09 +0000
committergutteridge <gutteridge@pkgsrc.org>2019-11-18 04:47:09 +0000
commitf5819e6df3ac05b860ad7b1d5ddc6c88897f3495 (patch)
treefe982fec5b7ba007a9cd9cf42167abdd483f4b5e /www/py-webcolors
parentda970b32e2502eae7497bab79fdc9832e279eb1e (diff)
downloadpkgsrc-f5819e6df3ac05b860ad7b1d5ddc6c88897f3495.tar.gz
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.
Diffstat (limited to 'www/py-webcolors')
-rw-r--r--www/py-webcolors/DESCR1
-rw-r--r--www/py-webcolors/Makefile13
-rw-r--r--www/py-webcolors/PLIST9
-rw-r--r--www/py-webcolors/distinfo10
4 files changed, 20 insertions, 13 deletions
diff --git a/www/py-webcolors/DESCR b/www/py-webcolors/DESCR
index d95f8634e1a..e1d275540c4 100644
--- a/www/py-webcolors/DESCR
+++ b/www/py-webcolors/DESCR
@@ -1,3 +1,4 @@
+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):
diff --git a/www/py-webcolors/Makefile b/www/py-webcolors/Makefile
index 179a71c4799..d21535de7a1 100644
--- a/www/py-webcolors/Makefile
+++ b/www/py-webcolors/Makefile
@@ -1,17 +1,18 @@
-# $NetBSD: Makefile,v 1.8 2017/09/04 18:01:04 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2019/11/18 04:47:09 gutteridge Exp $
-DISTNAME= webcolors-1.4
+DISTNAME= webcolors-1.10
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= www
-MASTER_SITES= http://bitbucket.org/ubernostrum/webcolors/downloads/
-MASTER_SITES+= http://pypi.python.org/packages/source/w/webcolors/
+MASTER_SITES= ${MASTER_SITE_PYPI:=w/webcolors/}
MAINTAINER= pkgsrc-users@NetBSD.org
-#HOMEPAGE= http://www.bitbucket.org/ubernostrum/webcolors/overview/
+HOMEPAGE= https://github.com/ubernostrum/webcolors
COMMENT= Library for working with color specifications for HTML and CSS
LICENSE= modified-bsd
USE_LANGUAGES= # none
-.include "../../lang/python/distutils.mk"
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
+.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/py-webcolors/PLIST b/www/py-webcolors/PLIST
index 48b75d6d92a..be265445751 100644
--- a/www/py-webcolors/PLIST
+++ b/www/py-webcolors/PLIST
@@ -1,5 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2012/04/08 20:22:00 wiz Exp $
-${PYSITELIB}/${EGG_FILE}
+@comment $NetBSD: PLIST,v 1.3 2019/11/18 04:47:09 gutteridge Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/webcolors.py
${PYSITELIB}/webcolors.pyc
${PYSITELIB}/webcolors.pyo
diff --git a/www/py-webcolors/distinfo b/www/py-webcolors/distinfo
index 4caefcff436..0a505400cb6 100644
--- a/www/py-webcolors/distinfo
+++ b/www/py-webcolors/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/04 02:47:31 agc Exp $
+$NetBSD: distinfo,v 1.4 2019/11/18 04:47:09 gutteridge Exp $
-SHA1 (webcolors-1.4.tar.gz) = 6e3466a8803b2fd470bcb168bbcb3eb1d2189db1
-RMD160 (webcolors-1.4.tar.gz) = c6c976a70917f63e1df6fd90734cc356f5f845a7
-SHA512 (webcolors-1.4.tar.gz) = c31932c7fb0dba22239737d1f01a78c3942619e00d65339f0af61a3546bb6163efdfc648c9766c7c04b09e67f4e23ebb0182488fcf65474f940358cde47aa8e0
-Size (webcolors-1.4.tar.gz) = 7843 bytes
+SHA1 (webcolors-1.10.tar.gz) = d4158485f8479ac85352207f4c7d0de20c1cccc3
+RMD160 (webcolors-1.10.tar.gz) = d6f332969856002ac1ed3c3076ee44cefb6afb89
+SHA512 (webcolors-1.10.tar.gz) = db02dcfc542d1fd08fccad815a02cbe01012a942329c53d468c7f9b6e0d628dd38abf4b2633bc8992fb914932ca4455e54c7ef98e101ca86d34825edfc3c1feb
+Size (webcolors-1.10.tar.gz) = 36108 bytes