summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2013-02-15 02:53:43 +0000
committerMartin Wilke <miwi@FreeBSD.org>2013-02-15 02:53:43 +0000
commit0cae0af4b1878d41fdb40e6c8de8eba696ed8d90 (patch)
tree58c55b2ab3d1b00c4b4dca14c36432b2d0fb1721
parent- Add auditdistd user for security/openbsm-devel port (diff)
A python implementation of the munkres algorithm
WWW: http://software.clapper.org/munkres/ PR: ports/176068 Submitted by: Mark Felder <feld@feld.me>
Notes
Notes: svn path=/head/; revision=312268
-rw-r--r--math/Makefile1
-rw-r--r--math/py-munkres/Makefile27
-rw-r--r--math/py-munkres/distinfo2
-rw-r--r--math/py-munkres/pkg-descr3
4 files changed, 33 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index e94680889234..6979ae913115 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -548,6 +548,7 @@
SUBDIR += py-mathdom
SUBDIR += py-matplotlib
SUBDIR += py-mpmath
+ SUBDIR += py-munkres
SUBDIR += py-networkx
SUBDIR += py-numarray
SUBDIR += py-numeric
diff --git a/math/py-munkres/Makefile b/math/py-munkres/Makefile
new file mode 100644
index 000000000000..8b749b239c66
--- /dev/null
+++ b/math/py-munkres/Makefile
@@ -0,0 +1,27 @@
+# Created by: Mark Felder <feld@feld.me>
+# $FreeBSD$
+
+PORTNAME= munkres
+PORTVERSION= 1.0.5.4
+CATEGORIES= math python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= feld@feld.me
+COMMENT= A Python implementation of the munkres algorithm
+
+LICENSE= BSD
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= bmc
+GH_TAGNAME= release-${PORTVERSION}
+GH_COMMIT= fbd9fd9
+
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/munkres.py \
+ %%PYTHON_SITELIBDIR%%/munkres.pyc \
+ %%PYTHON_SITELIBDIR%%/munkres.pyo
+
+.include <bsd.port.mk>
diff --git a/math/py-munkres/distinfo b/math/py-munkres/distinfo
new file mode 100644
index 000000000000..61f53706adf9
--- /dev/null
+++ b/math/py-munkres/distinfo
@@ -0,0 +1,2 @@
+SHA256 (munkres-1.0.5.4.tar.gz) = 5d9e1afe233333e3c2434651796c210fab73925e86e29913fdf519260993c66c
+SIZE (munkres-1.0.5.4.tar.gz) = 14428
diff --git a/math/py-munkres/pkg-descr b/math/py-munkres/pkg-descr
new file mode 100644
index 000000000000..774b9d8d7167
--- /dev/null
+++ b/math/py-munkres/pkg-descr
@@ -0,0 +1,3 @@
+A python implementation of the munkres algorithm
+
+WWW: http://software.clapper.org/munkres/