aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2015-07-16 03:23:09 +0800
committerskreuzer <skreuzer@FreeBSD.org>2015-07-16 03:23:09 +0800
commit01035459fd921a18d36b936d41bb5ecb3b037688 (patch)
tree77883ff61c0d5b46242a169ef5c9ce59c91ad9c9 /devel
parent2bf41ef6afb9bd7b15974b1d1e1ceab411dc43b9 (diff)
downloadfreebsd-ports-gnome-01035459fd921a18d36b936d41bb5ecb3b037688.tar.gz
freebsd-ports-gnome-01035459fd921a18d36b936d41bb5ecb3b037688.tar.zst
freebsd-ports-gnome-01035459fd921a18d36b936d41bb5ecb3b037688.zip
A relatively sane approach to multiple dispatch in Python.
This implementation of multiple dispatch is efficient, mostly complete, performs static analysis to avoid conflicts, and provides optional namespace support. It looks good too. WWW: https://pypi.python.org/pypi/multipledispatch
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-multipledispatch/Makefile18
-rw-r--r--devel/py-multipledispatch/distinfo2
-rw-r--r--devel/py-multipledispatch/pkg-descr7
4 files changed, 28 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3a41674c1486..54aead8ee61c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4023,6 +4023,7 @@
SUBDIR += py-more-itertools
SUBDIR += py-mox
SUBDIR += py-msgpack
+ SUBDIR += py-multipledispatch
SUBDIR += py-mwlib
SUBDIR += py-mwlib.ext
SUBDIR += py-mwlib.rl
diff --git a/devel/py-multipledispatch/Makefile b/devel/py-multipledispatch/Makefile
new file mode 100644
index 000000000000..a35c23b82d16
--- /dev/null
+++ b/devel/py-multipledispatch/Makefile
@@ -0,0 +1,18 @@
+# Created by: Steven Kreuzer <skreuzer@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= multipledispatch
+PORTVERSION= 0.4.7
+CATEGORIES= devel python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= skreuzer@FreeBSD.org
+COMMENT= Relatively sane approach to multiple dispatch in Python
+
+LICENSE= BSD3CLAUSE
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+.include <bsd.port.mk>
diff --git a/devel/py-multipledispatch/distinfo b/devel/py-multipledispatch/distinfo
new file mode 100644
index 000000000000..0090f2faf99d
--- /dev/null
+++ b/devel/py-multipledispatch/distinfo
@@ -0,0 +1,2 @@
+SHA256 (multipledispatch-0.4.7.tar.gz) = 401bb875cdbd85359f01029e60ef7610bf1172b5052474285daf4102b109496d
+SIZE (multipledispatch-0.4.7.tar.gz) = 7234
diff --git a/devel/py-multipledispatch/pkg-descr b/devel/py-multipledispatch/pkg-descr
new file mode 100644
index 000000000000..f726d71863ff
--- /dev/null
+++ b/devel/py-multipledispatch/pkg-descr
@@ -0,0 +1,7 @@
+A relatively sane approach to multiple dispatch in Python.
+
+This implementation of multiple dispatch is efficient, mostly complete,
+performs static analysis to avoid conflicts, and provides optional namespace
+support. It looks good too.
+
+WWW: https://pypi.python.org/pypi/multipledispatch