sharlatan pushed a commit to branch python-team
in repository guix.
commit 44b688a593215777e70f45dc1ae00714b2c23af6
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Fri Nov 29 15:20:51 2024 +0000
gnu: python-snowballstemmer: Update to 2.2.0.
* gnu/packages/python-xyz.scm (python-snowballstemmer): Update to 2.2.0.
Improve style.
[build-system]: Swap to pyproject-build-system.
[arguments]<tests>: Switch them off as not provided.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: Ifbef2578990eb4a3e3a498922de8852fadbdc5b7
---
gnu/packages/python-xyz.scm | 32 +++++++++++++++++++-------------
1 file changed, 19 insertions(+), 13 deletions(-)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c9179bb1b1..f76217b634 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23927,25 +23927,31 @@ numbers, real numbers, mixed types and more, and
comes with a shell command
between the different Python versions.")
(license license:psfl)))
+;; XXX: The last time updated in 2015, consider to remove it when nothing is
+;; depend on it.
(define-public python-snowballstemmer
(package
(name "python-snowballstemmer")
- (version "2.0.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "snowballstemmer" version))
- (sha256
- (base32
- "0ligk61idlz8kkgd5hpip5whm172riwglb6xydii7h62yhysqfyz"))))
- (build-system python-build-system)
+ (version "2.2.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "snowballstemmer" version))
+ (sha256
+ (base32 "1ccwy75i0f5yi1vy6fyvr1gf43ydhjani45mswm43ls7hpmnvc89"))))
+ (build-system pyproject-build-system)
(arguments
- `(;; No tests exist
- #:tests? #f))
+ (list
+ #:tests? #f)) ; no tests
+ (native-inputs
+ (list python-setuptools
+ python-wheel))
(home-page "https://github.com/shibukawa/snowball_py")
(synopsis "Snowball stemming library collection for Python")
- (description "This package provides 16 word stemmer algorithms generated
- from Snowball algorithms. It includes the 15 original ones plus the
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)))
(define-public python-setproctitle