From f115b3fcb0f769858d2f6a4201fb43239c112714 Mon Sep 17 00:00:00 2001 From: miwi Date: Fri, 15 Feb 2013 02:53:43 +0000 Subject: A python implementation of the munkres algorithm WWW: http://software.clapper.org/munkres/ PR: ports/176068 Submitted by: Mark Felder --- math/Makefile | 1 + math/py-munkres/Makefile | 27 +++++++++++++++++++++++++++ math/py-munkres/distinfo | 2 ++ math/py-munkres/pkg-descr | 3 +++ 4 files changed, 33 insertions(+) create mode 100644 math/py-munkres/Makefile create mode 100644 math/py-munkres/distinfo create mode 100644 math/py-munkres/pkg-descr (limited to 'math') 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 +# $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 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/ -- cgit