summaryrefslogtreecommitdiff
path: root/graphics/py-cycler
diff options
context:
space:
mode:
authorrichard <richard>2016-08-17 13:38:28 +0000
committerrichard <richard>2016-08-17 13:38:28 +0000
commitc3213c3d1f8312c1d038ab30126dc8668747fa78 (patch)
treeb333203307bc601fff493b097affe6b395a60198 /graphics/py-cycler
parent7c545bacdacb0f687c6f2a6a780422191b97d2fb (diff)
downloadpkgsrc-c3213c3d1f8312c1d038ab30126dc8668747fa78.tar.gz
add cycler-0.10.0
A composable cycle class used for constructing style-cycles. Feature release for cycler. This release includes a number of new features: Cycler objecst learned to generate an itertools.cycle by calling them, a-la a generator. Cycler objects learned to change the name of a key via the new .change_key(old_key, new_key) method. Cycler objects learned how to compare each other and determine if they are equal or not (==). Cycler objects learned how to join another Cycler to be concatenated into a single longer Cycler via concat method of function. A.concat(B) or concat(A, B). The cycler factory function learned to construct a complex Cycler from iterables provided as keyword arguments. Cycler objects learn do show their insides with the by_key method which returns a dictionary of lists (instead of an iterable of dictionaries).
Diffstat (limited to 'graphics/py-cycler')
-rw-r--r--graphics/py-cycler/DESCR1
-rw-r--r--graphics/py-cycler/Makefile18
-rw-r--r--graphics/py-cycler/PLIST9
-rw-r--r--graphics/py-cycler/distinfo6
4 files changed, 34 insertions, 0 deletions
diff --git a/graphics/py-cycler/DESCR b/graphics/py-cycler/DESCR
new file mode 100644
index 00000000000..1f20ad4b166
--- /dev/null
+++ b/graphics/py-cycler/DESCR
@@ -0,0 +1 @@
+Composable cycle class used for constructing style-cycles.
diff --git a/graphics/py-cycler/Makefile b/graphics/py-cycler/Makefile
new file mode 100644
index 00000000000..76b936b56d6
--- /dev/null
+++ b/graphics/py-cycler/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2016/08/17 13:38:28 richard Exp $
+
+DISTNAME= cycler-0.10.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= graphics python
+MASTER_SITES= ${MASTER_SITE_GITHUB:=matplotlib/}
+GITHUB_PROJECT= cycler
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://matplotlib.org/cycler
+COMMENT= Composable style cycles
+LICENSE= 2-clause-bsd
+
+DEPENDS+= ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/py-cycler/PLIST b/graphics/py-cycler/PLIST
new file mode 100644
index 00000000000..af4086e2832
--- /dev/null
+++ b/graphics/py-cycler/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1 2016/08/17 13:38:28 richard Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/cycler.py
+${PYSITELIB}/cycler.pyc
+${PYSITELIB}/cycler.pyo
diff --git a/graphics/py-cycler/distinfo b/graphics/py-cycler/distinfo
new file mode 100644
index 00000000000..282d474a303
--- /dev/null
+++ b/graphics/py-cycler/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/08/17 13:38:28 richard Exp $
+
+SHA1 (cycler-0.10.0.tar.gz) = c7591a281ddd0a30c542d04ea8ff671f1dc5503f
+RMD160 (cycler-0.10.0.tar.gz) = 0bac2a6eb44639f667ace99aeef391c7352afe19
+SHA512 (cycler-0.10.0.tar.gz) = 685231d455dfdde70eb71415dfe561e07c34579d7b31ef7197f4c1441301635b387fec903d610b35406b619264f4c0cc616562de8f02b8192414c29274b63c01
+Size (cycler-0.10.0.tar.gz) = 21672 bytes