3b44f883a7
This library brings functools.singledispatch from Python 3.4 to Python 2.6-3.3. PEP 443 proposed to expose a mechanism in the functools standard library module in Python 3.4 that provides a simple form of generic programming known as single-dispatch generic functions. This library is a backport of this functionality to Python 2.6 - 3.3. WWW: https://pypi.python.org/pypi/singledispatch
19 lines
389 B
Makefile
19 lines
389 B
Makefile
# Created by: Juergen Lock <nox@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= singledispatch
|
|
PORTVERSION= 3.4.0.2
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= python@FreeBSD.org
|
|
COMMENT= provides single-dispatch generic functions
|
|
|
|
LICENSE= MIT
|
|
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
PYDISTUTILS_AUTOPLIST= yes
|
|
|
|
.include <bsd.port.mk>
|