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. ok landry@
22 lines
484 B
Makefile
22 lines
484 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2017/08/08 21:25:39 jasper Exp $
|
|
|
|
COMMENT = version of dict that keeps keys in sorted order
|
|
|
|
MODPY_EGG_VERSION = 0.4.13
|
|
DISTNAME = ruamel.ordereddict-${MODPY_EGG_VERSION}
|
|
PKGNAME = py-${DISTNAME}
|
|
|
|
CATEGORIES = devel
|
|
|
|
# MIT
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
# NB: Functionality provided by this modules is not required with Python3.
|
|
MODULES = lang/python
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
WANTLIB = ${MODPY_WANTLIB} pthread
|
|
|
|
.include <bsd.port.mk>
|