summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorrodent <rodent@pkgsrc.org>2014-06-14 13:43:48 +0000
committerrodent <rodent@pkgsrc.org>2014-06-14 13:43:48 +0000
commitfbcd2d543d45c0acb2e8a42108d4109b2019f124 (patch)
tree5bf7accc2f6d4bba8f2687360e61387acea7210d /textproc
parentf7fd7c05cb381d2f37b77598584f525a32b48e77 (diff)
downloadpkgsrc-fbcd2d543d45c0acb2e8a42108d4109b2019f124.tar.gz
Import py27-colour-0.0.5 as textproc/py-colour.
Converts and manipulates common colour representations (RGB, HSV, web, ...) Features: * Damn simple and pythonic way to manipulate colour representations * Full conversion between RGB, HSV, 6-digit hex, 3-digit hex, human colour * One object (Color) or bunch of single purpose function (rgb2hex, hsl2rgb ...) * Web format that uses the smallest representation between 6-digit, 3-digit, fully-spelled colour, that is following W3C color naming for CSS or HTML colour specifications. * Smooth intuitive colour scale generation choosing N colour gradients. * Can pick colours for you to identify objects of your application.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/py-colour/DESCR12
-rw-r--r--textproc/py-colour/Makefile16
-rw-r--r--textproc/py-colour/PLIST10
-rw-r--r--textproc/py-colour/distinfo5
4 files changed, 43 insertions, 0 deletions
diff --git a/textproc/py-colour/DESCR b/textproc/py-colour/DESCR
new file mode 100644
index 00000000000..3565fa7d63c
--- /dev/null
+++ b/textproc/py-colour/DESCR
@@ -0,0 +1,12 @@
+Converts and manipulates common colour representations (RGB, HSV, web, ...)
+
+Features:
+
+ * Damn simple and pythonic way to manipulate colour representations
+ * Full conversion between RGB, HSV, 6-digit hex, 3-digit hex, human colour
+ * One object (Color) or bunch of single purpose function (rgb2hex, hsl2rgb ...)
+ * Web format that uses the smallest representation between 6-digit, 3-digit,
+ fully-spelled colour, that is following W3C color naming for CSS or HTML
+ colour specifications.
+ * Smooth intuitive colour scale generation choosing N colour gradients.
+ * Can pick colours for you to identify objects of your application.
diff --git a/textproc/py-colour/Makefile b/textproc/py-colour/Makefile
new file mode 100644
index 00000000000..43c8e146a3e
--- /dev/null
+++ b/textproc/py-colour/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2014/06/14 13:43:48 rodent Exp $
+
+DISTNAME= colour-0.0.5
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= python textproc
+MASTER_SITES= https://pypi.python.org/packages/source/c/colour/
+
+MAINTAINER= rodent@NetBSD.org
+HOMEPAGE= http://github.com/vaab/colour
+COMMENT= Converts and manipulates various color representation
+LICENSE= 2-clause-bsd
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/py-colour/PLIST b/textproc/py-colour/PLIST
new file mode 100644
index 00000000000..138805f72f7
--- /dev/null
+++ b/textproc/py-colour/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1 2014/06/14 13:43:48 rodent Exp $
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/colour.py
+${PYSITELIB}/colour.pyc
+${PYSITELIB}/colour.pyo
diff --git a/textproc/py-colour/distinfo b/textproc/py-colour/distinfo
new file mode 100644
index 00000000000..1aa5919468b
--- /dev/null
+++ b/textproc/py-colour/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/06/14 13:43:48 rodent Exp $
+
+SHA1 (colour-0.0.5.tar.gz) = f6e2189345033021a765dd7790f0652d1b4c232a
+RMD160 (colour-0.0.5.tar.gz) = d06157fb24bf2023d35913bf9e4e40a7d55abc04
+Size (colour-0.0.5.tar.gz) = 18911 bytes