diff options
author | obache <obache> | 2011-07-15 13:37:23 +0000 |
---|---|---|
committer | obache <obache> | 2011-07-15 13:37:23 +0000 |
commit | bd03e70a82f0f2487373f27d5912ace3f0462b18 (patch) | |
tree | 48434ff732076ea4b6b3192accf54e297c1a1423 /www/py-webcolors | |
parent | 83b9ebb97cd8a9765796fbe0ee9de07d5bf1971a (diff) | |
download | pkgsrc-bd03e70a82f0f2487373f27d5912ace3f0462b18.tar.gz |
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
Diffstat (limited to 'www/py-webcolors')
-rw-r--r-- | www/py-webcolors/DESCR | 13 | ||||
-rw-r--r-- | www/py-webcolors/Makefile | 20 | ||||
-rw-r--r-- | www/py-webcolors/PLIST | 5 | ||||
-rw-r--r-- | www/py-webcolors/distinfo | 5 |
4 files changed, 43 insertions, 0 deletions
diff --git a/www/py-webcolors/DESCR b/www/py-webcolors/DESCR new file mode 100644 index 00000000000..d95f8634e1a --- /dev/null +++ b/www/py-webcolors/DESCR @@ -0,0 +1,13 @@ +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 diff --git a/www/py-webcolors/Makefile b/www/py-webcolors/Makefile new file mode 100644 index 00000000000..6a67eb9257a --- /dev/null +++ b/www/py-webcolors/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/07/15 13:37:23 obache Exp $ +# + +DISTNAME= webcolors-1.3.1 +PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +CATEGORIES= www +MASTER_SITES= http://bitbucket.org/ubernostrum/webcolors/downloads/ \ + http://pypi.python.org/packages/source/w/webcolors/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://www.bitbucket.org/ubernostrum/webcolors/overview/ +COMMENT= Library for working with color specifications for HTML and CSS +#LICENSE= # just OSI Approved BSD License + +PKG_DESTDIR_SUPPORT= user-destdir + +USE_LANGUAGES= # none + +.include "../../lang/python/distutils.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/www/py-webcolors/PLIST b/www/py-webcolors/PLIST new file mode 100644 index 00000000000..16cbbf3dc4f --- /dev/null +++ b/www/py-webcolors/PLIST @@ -0,0 +1,5 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2011/07/15 13:37:23 obache Exp $ +${PLIST.eggfile}${PYSITELIB}/${EGG_FILE} +${PYSITELIB}/webcolors.py +${PYSITELIB}/webcolors.pyc +${PYSITELIB}/webcolors.pyo diff --git a/www/py-webcolors/distinfo b/www/py-webcolors/distinfo new file mode 100644 index 00000000000..66896d82532 --- /dev/null +++ b/www/py-webcolors/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2011/07/15 13:37:23 obache Exp $ + +SHA1 (webcolors-1.3.1.tar.gz) = 6e0bddf81bd3b1258cd5b2c596964a2a98708304 +RMD160 (webcolors-1.3.1.tar.gz) = 479f2ed6ccffadbe7f1f0ede3ee2be43d0664bc1 +Size (webcolors-1.3.1.tar.gz) = 6429 bytes |