From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Subject: [PATCH 04/10] gnu: Add python-pylev and python2-pylev. Date: Thu, 23 Jun 2016 23:18:51 +0800 Message-ID: <20160623151857.23978-3-iyzsong@gmail.com> References: <20160623151857.23978-1-iyzsong@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6Pe-0005sD-MS for guix-devel@gnu.org; Thu, 23 Jun 2016 11:19:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bG6PZ-0005XS-CS for guix-devel@gnu.org; Thu, 23 Jun 2016 11:19:25 -0400 Received: from mail.openmailbox.org ([62.4.1.34]:54772) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bG6PZ-0005X7-6L for guix-devel@gnu.org; Thu, 23 Jun 2016 11:19:21 -0400 In-Reply-To: <20160623151857.23978-1-iyzsong@gmail.com> 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" To: guix-devel@gnu.org Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= * gnu/packages/python.scm (python-pylev, python2-pylev): 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 ced8232..1dc5212 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9368,3 +9368,26 @@ underscored string.") (define-public python2-inflection (package-with-python2 python-inflection)) +(define-public python-pylev + (package + (name "python-pylev") + (version "1.3.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "pylev" version)) + (sha256 + (base32 + "1hz1x9blsbxya1y9nnhnwwdnqmakxi9mc0jkwj0rn6b1h44i0f86")))) + (build-system python-build-system) + (native-inputs + `(("python-setuptools" ,python-setuptools))) + (home-page "http://github.com/toastdriven/pylev") + (synopsis "Levenshtein distance implementation in Python") + (description "Pure Python Levenshtein implementation, based off the +Wikipedia code samples at +@url{http://en.wikipedia.org/wiki/Levenshtein_distance}.") + (license bsd-3))) + +(define-public python2-pylev + (package-with-python2 python-pylev)) + -- 2.8.4