From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 3/5] gnu: Add python-snowballstemmer. Date: Fri, 1 Jul 2016 21:04:51 -0400 Message-ID: References: Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJ9Mw-0001xA-FT for guix-devel@gnu.org; Fri, 01 Jul 2016 21:05:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJ9Mu-0001NH-3c for guix-devel@gnu.org; Fri, 01 Jul 2016 21:05:14 -0400 Received: from out3-smtp.messagingengine.com ([66.111.4.27]:36740) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJ9Ms-0001DZ-T4 for guix-devel@gnu.org; Fri, 01 Jul 2016 21:05:12 -0400 Received: from localhost.localdomain (c-73-188-17-148.hsd1.pa.comcast.net [73.188.17.148]) by mail.messagingengine.com (Postfix) with ESMTPA id AB33DF29F4 for ; Fri, 1 Jul 2016 21:05:02 -0400 (EDT) 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" To: guix-devel@gnu.org * gnu/packages/python.scm (python-snowballstemmer, python2-snowballstemmer): New variables. --- gnu/packages/python.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 4eed92f..73312e8 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -9746,3 +9746,25 @@ default Sphinx theme.") (native-inputs `(("python2-setuptools" ,python2-setuptools) ,@(package-native-inputs base)))))) + +(define-public python-snowballstemmer + (package + (name "python-snowballstemmer") + (version "1.2.1") + (source (origin + (method url-fetch) + (uri (pypi-uri "snowballstemmer" version)) + (sha256 + (base32 + "0a0idq4y5frv7qsg2x62jd7rd272749xk4x99misf5rcifk2d7wi")))) + (build-system python-build-system) + (arguments + `(#:tests? #f)) ; no test suite + (synopsis "Snowball stemming library collection for Python") + (description "This package provides 16 stemmer algorithms generated from +Snowball algorithms") + (home-page "https://github.com/shibukawa/snowball_py") + (license bsd-2))) + +(define-public python2-snowballstemmer + (package-with-python2 python-snowballstemmer)) -- 2.9.0