diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/py-simplegeneric/Makefile | 20 | ||||
-rw-r--r-- | devel/py-simplegeneric/distinfo | 2 | ||||
-rw-r--r-- | devel/py-simplegeneric/pkg-descr | 7 |
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 29fe9a5d2635..18b8c99dcfcd 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -3816,6 +3816,7 @@ SUBDIR += py-setuptools_darcs SUBDIR += py-setuptools_hg SUBDIR += py-shapely + SUBDIR += py-simplegeneric SUBDIR += py-simplejson SUBDIR += py-simpleparse SUBDIR += py-simpletal diff --git a/devel/py-simplegeneric/Makefile b/devel/py-simplegeneric/Makefile new file mode 100644 index 000000000000..57819153d554 --- /dev/null +++ b/devel/py-simplegeneric/Makefile @@ -0,0 +1,20 @@ +# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= simplegeneric +PORTVERSION= 0.8.1 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Simple generic functions + +LICENSE= ZPL21 + +PYDISTUTILS_AUTOPLIST= yes +USE_PYDISTUTILS=yes +USE_PYTHON= yes +USES= zip + +.include <bsd.port.mk> diff --git a/devel/py-simplegeneric/distinfo b/devel/py-simplegeneric/distinfo new file mode 100644 index 000000000000..9d268450a1df --- /dev/null +++ b/devel/py-simplegeneric/distinfo @@ -0,0 +1,2 @@ +SHA256 (simplegeneric-0.8.1.zip) = dc972e06094b9af5b855b3df4a646395e43d1c9d0d39ed345b7393560d0b9173 +SIZE (simplegeneric-0.8.1.zip) = 12663 diff --git a/devel/py-simplegeneric/pkg-descr b/devel/py-simplegeneric/pkg-descr new file mode 100644 index 000000000000..eb29b17f6dbd --- /dev/null +++ b/devel/py-simplegeneric/pkg-descr @@ -0,0 +1,7 @@ +The simplegeneric module lets you define simple single-dispatch generic +functions, akin to Python's built-in generic functions like len(), iter() and so +on. However, instead of using specially-named methods, these generic functions +use simple lookup tables, akin to those used by e.g. pickle.dump() and other +generic functions found in the Python standard library. + +WWW: https://pypi.python.org/pypi/simplegeneric |