aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2016-11-03 08:56:02 +0800
committerfeld <feld@FreeBSD.org>2016-11-03 08:56:02 +0800
commitd33989fba8dede84628cc5d857dfb69c4fc4634e (patch)
tree65b0724955df4646b8bd6e76855bd4bf9afbb224 /devel
parent40de87012d61b73c4905381a6c8c64bc7abdbbea (diff)
downloadfreebsd-ports-gnome-d33989fba8dede84628cc5d857dfb69c4fc4634e.tar.gz
freebsd-ports-gnome-d33989fba8dede84628cc5d857dfb69c4fc4634e.tar.zst
freebsd-ports-gnome-d33989fba8dede84628cc5d857dfb69c4fc4634e.zip
This is an implementation of an ordered dictionary with Key Insertion
Order (KIO: updates of values do not affect the position of the key), Key Value Insertion Order (KVIO, an existing key’s position is removed and put at the back). The standard library module OrderedDict, implemented later, implements a subset of ordereddict functionality. WWW: https://bitbucket.org/ruamel/ordereddict
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-ruamel.ordereddict/Makefile19
-rw-r--r--devel/py-ruamel.ordereddict/distinfo3
-rw-r--r--devel/py-ruamel.ordereddict/pkg-descr7
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 88368c993038..f349dce0459b 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4507,6 +4507,7 @@
SUBDIR += py-roxlib
SUBDIR += py-rq
SUBDIR += py-rtree
+ SUBDIR += py-ruamel.ordereddict
SUBDIR += py-ruamel.yaml
SUBDIR += py-ruledispatch
SUBDIR += py-sanetime
diff --git a/devel/py-ruamel.ordereddict/Makefile b/devel/py-ruamel.ordereddict/Makefile
new file mode 100644
index 000000000000..cd70339b4619
--- /dev/null
+++ b/devel/py-ruamel.ordereddict/Makefile
@@ -0,0 +1,19 @@
+# Created by: Mark Felder <feld@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= ruamel.ordereddict
+PORTVERSION= 0.4.9
+PORTREVISION= 0
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= feld@FreeBSD.org
+COMMENT= Python dict that keeps keys in insertion sorted order
+
+LICENSE= MIT
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-ruamel.ordereddict/distinfo b/devel/py-ruamel.ordereddict/distinfo
new file mode 100644
index 000000000000..309c34bb33c7
--- /dev/null
+++ b/devel/py-ruamel.ordereddict/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1478134420
+SHA256 (ruamel.ordereddict-0.4.9.tar.gz) = 7058c470f131487a3039fb9536dda9dd17004a7581bdeeafa836269a36a2b3f6
+SIZE (ruamel.ordereddict-0.4.9.tar.gz) = 53707
diff --git a/devel/py-ruamel.ordereddict/pkg-descr b/devel/py-ruamel.ordereddict/pkg-descr
new file mode 100644
index 000000000000..5abc49fb228e
--- /dev/null
+++ b/devel/py-ruamel.ordereddict/pkg-descr
@@ -0,0 +1,7 @@
+This is an implementation of an ordered dictionary with Key Insertion
+Order (KIO: updates of values do not affect the position of the key),
+Key Value Insertion Order (KVIO, an existing key’s position is removed
+and put at the back). The standard library module OrderedDict,
+implemented later, implements a subset of ordereddict functionality.
+
+WWW: https://bitbucket.org/ruamel/ordereddict