From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 02/13] gnu: Add python-munkres. Date: Thu, 3 Mar 2016 20:26:28 -0500 Message-ID: References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38141) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abeVy-0008PL-Kv for guix-devel@gnu.org; Thu, 03 Mar 2016 20:26:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1abeVv-0002Vq-Ja for guix-devel@gnu.org; Thu, 03 Mar 2016 20:26:46 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:56143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1abeVv-0002Vc-Fl for guix-devel@gnu.org; Thu, 03 Mar 2016 20:26:43 -0500 Received: from jasmine.lan (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id E36CBC00024 for ; Thu, 3 Mar 2016 20:26:42 -0500 (EST) In-Reply-To: In-Reply-To: References: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/python.scm (python-munkres, python2-munkres): New variables. --- gnu/packages/python.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 131ec62..da2c67c 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -8193,3 +8193,26 @@ introspection of @code{zope.interface} instances in code.") (inherit (package-with-python2 (strip-python2-variant python-psycopg2))) (native-inputs `(("python2-setuptools" ,python2-setuptools))))) + +(define-public python-munkres + (package + (name "python-munkres") + (version "1.0.7") + (source (origin + (method url-fetch) + (uri (pypi-uri "munkres" version)) + (sha256 + (base32 + "1i6nf45i0kkzdx6k70giybsqxz4dxsjbrkrfqgjd7znfkf25sjik")))) + (build-system python-build-system) + (arguments + '(#:tests? #f)) ; no test suite + (home-page "http://software.clapper.org/munkres/") + (synopsis "Implementation of the Munkres algorithm") + (description "The Munkres module provides an implementation of the Munkres +algorithm (also called the Hungarian algorithm or the Kuhn-Munkres algorithm), +useful for solving the Assignment Problem.") + (license bsd-3))) + +(define-public python2-munkres + (package-with-python2 python-munkres)) -- 2.6.3