From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: [PATCH v4 1/3] gnu: Add python-snowballstemmer. Date: Wed, 4 Jan 2017 21:43:12 +0100 Message-ID: <20170104204314.15399-2-dannym@scratchpost.org> References: <20170104204314.15399-1-dannym@scratchpost.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOsP6-0005EX-05 for guix-devel@gnu.org; Wed, 04 Jan 2017 15:43:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOsP3-0003GI-Hx for guix-devel@gnu.org; Wed, 04 Jan 2017 15:43:24 -0500 Received: from dd1012.kasserver.com ([85.13.128.8]:35411) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOsP3-0003G4-Be for guix-devel@gnu.org; Wed, 04 Jan 2017 15:43:21 -0500 In-Reply-To: <20170104204314.15399-1-dannym@scratchpost.org> 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 | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index 04cd3fa90..6589c59e3 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -11695,6 +11695,31 @@ provide extendible implementations of common aspects of a cloud so that you can focus on building massively scalable web applications.") (license license:expat))) +(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 + `(;; No tests exist + #:tests? #f)) + (home-page "https://github.com/shibukawa/snowball_py") + (synopsis "16 stemmer algorithms (15 + Poerter English stemmer)") + (description "This package provides 16 word stemmer algorithms generated +from Snowball algorithms. It includes the 15 original ones plus the Poerter +English stemmer.") + (license license:bsd-3) + (properties `((python2-variant . ,(delay python2-snowballstemmer)))))) + +(define-public python2-snowballstemmer + (package-with-python2 (strip-python2-variant python-snowballstemmer))) + (define-public python-betamax (package (name "python-betamax")