summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2011-12-07 12:54:24 +0000
committerobache <obache@pkgsrc.org>2011-12-07 12:54:24 +0000
commit1d983669cc197ceb606e86db746ae52205dc3271 (patch)
treec8af80441e6abd2c9883e1f2d8da8aefa36c9a13
parent8d71a3d9dd74de2f2919f28e13010d3099018ac7 (diff)
downloadpkgsrc-1d983669cc197ceb606e86db746ae52205dc3271.tar.gz
Import py-ordereddict-1.1 as devel/py-ordereddict.
Drop-in substitute for Py2.7's new collections.OrderedDict. The recipe has big-oh performance that matches regular dictionaries (amortized O(1) insertion/deletion/lookup and O(n) iteration/repr/copy/equality_testing).
-rw-r--r--devel/py-ordereddict/DESCR3
-rw-r--r--devel/py-ordereddict/Makefile19
-rw-r--r--devel/py-ordereddict/PLIST5
-rw-r--r--devel/py-ordereddict/distinfo5
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/py-ordereddict/DESCR b/devel/py-ordereddict/DESCR
new file mode 100644
index 00000000000..352a5428ba2
--- /dev/null
+++ b/devel/py-ordereddict/DESCR
@@ -0,0 +1,3 @@
+Drop-in substitute for Py2.7's new collections.OrderedDict. The recipe has
+big-oh performance that matches regular dictionaries (amortized O(1)
+insertion/deletion/lookup and O(n) iteration/repr/copy/equality_testing).
diff --git a/devel/py-ordereddict/Makefile b/devel/py-ordereddict/Makefile
new file mode 100644
index 00000000000..cab5755ef40
--- /dev/null
+++ b/devel/py-ordereddict/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/12/07 12:54:24 obache Exp $
+#
+
+DISTNAME= ordereddict-1.1
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= http://pypi.python.org/packages/source/o/ordereddict/
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://pypi.python.org/ordereddict/
+COMMENT= Drop-in substitute for Py2.7's new collections.OrderedDict
+LICENSE= mit
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/py-ordereddict/PLIST b/devel/py-ordereddict/PLIST
new file mode 100644
index 00000000000..83f322dc669
--- /dev/null
+++ b/devel/py-ordereddict/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/12/07 12:54:24 obache Exp $
+${PLIST.eggfile}${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/ordereddict.py
+${PYSITELIB}/ordereddict.pyc
+${PYSITELIB}/ordereddict.pyo
diff --git a/devel/py-ordereddict/distinfo b/devel/py-ordereddict/distinfo
new file mode 100644
index 00000000000..d1d1385b23e
--- /dev/null
+++ b/devel/py-ordereddict/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/12/07 12:54:24 obache Exp $
+
+SHA1 (ordereddict-1.1.tar.gz) = ab90b67dceab55a11b609d253846fa486eb980c4
+RMD160 (ordereddict-1.1.tar.gz) = a181547c43bb0ce4e106188ae5ad13648c1938cc
+Size (ordereddict-1.1.tar.gz) = 2114 bytes