[packages/python-snowballstemmer] - updated to 2.0.0; 10 more languages

qboosh qboosh at pld-linux.org
Sun Jan 19 11:04:29 CET 2020


commit 927503ccf8d996cc86e5c4ecb46a669ac01d5782
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jan 19 11:04:37 2020 +0100

    - updated to 2.0.0; 10 more languages

 python-snowballstemmer.spec | 79 ++++++++++++++++++++++++++++++++++-----------
 1 file changed, 60 insertions(+), 19 deletions(-)
---
diff --git a/python-snowballstemmer.spec b/python-snowballstemmer.spec
index eeb4f9c..dcc021c 100644
--- a/python-snowballstemmer.spec
+++ b/python-snowballstemmer.spec
@@ -7,69 +7,91 @@
 Summary:	Stemmer algorithms generated from Snowball algorithms
 Summary(pl.UTF-8):	Algorytmy wyznaczające rdzeniesłów wygenerowane z algorytmów Snowball
 Name:		python-%{module}
-Version:	1.2.1
-Release:	3
+Version:	2.0.0
+Release:	1
 License:	BSD
 Group:		Libraries/Python
-#Source0Download: https://pypi.python.org/pypi/snowballstemmer
-Source0:	https://pypi.python.org/packages/source/s/snowballstemmer/%{module}-%{version}.tar.gz
-# Source0-md5:	643b019667a708a922172e33a99bf2fa
-URL:		https://github.com/shibukawa/snowball_py
+#Source0Download: https://pypi.org/simple/snowballstemmer
+Source0:	https://files.pythonhosted.org/packages/source/s/snowballstemmer/%{module}-%{version}.tar.gz
+# Source0-md5:	c05ec4a897be3c953c8b8b844c4241d4
+URL:		https://github.com/snowballstem/snowball
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.714
 %if %{with python2}
+BuildRequires:	python-modules >= 1:2.6
 BuildRequires:	python-setuptools
 %endif
 %if %{with python3}
+BuildRequires:	python3-modules >= 1:3.4
 BuildRequires:	python3-setuptools
 %endif
-Requires:	python-modules
+Requires:	python-modules >= 1:2.6
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This package provides 16 stemmer algorithms (15 + Porter English
-stemmer) generated from Snowball algorithms.
+This package provides 26 stemmer algorithms (25 languages + Porter
+English stemmer) generated from Snowball algorithms.
 
 It includes following language algorithms:
+ - Arabic
+ - Basque
+ - Catalan
  - Danish
  - Dutch
  - English (Standard, Porter)
  - Finnish
  - French
  - German
+ - Greek
+ - Hindi
  - Hungarian
+ - Indonesian
+ - Irish
  - Italian
+ - Lithuanian
+ - Nepali
  - Norwegian
  - Portuguese
  - Romanian
  - Russian
  - Spanish
  - Swedish
+ - Tamil
  - Turkish
 
 This is a pure Python stemming library. If PyStemmer is available,
 this module uses it to accelerate.
 
 %description -l pl.UTF-8
-Ten pakiet udostępnia 16 algorytmów znajdujących rdzenie słów (15 +
-angielski Portera), wygenerowane z algorytmów Snowball.
+Ten pakiet udostępnia 26 algorytmów znajdujących rdzenie słów (25
+języków + angielski Portera), wygenerowane z algorytmów Snowball.
 
 Zawiera algorytmy dla następujących języków:
+ - arabski
+ - baskijski
+ - kataloński
  - duński
  - holenderski
  - angielski (standardowy i Portera)
  - fiński
  - francuski
  - niemiecki
+ - grecki
+ - hindi
  - węgierski
+ - indonezyjski
+ - irlandzki
  - włoski
+ - litewski
+ - nepalski
  - norweski
  - portugalski
  - rumuński
  - rosyjski
  - hiszpański
  - szwedzki
+ - tamilski
  - turecki
 
 Ta biblioteka jest napisana w czystym Pythonie. Jeśli dostępny jest
@@ -79,52 +101,71 @@ PyStemmer, jest używany w celu przyspieszenia.
 Summary:	Stemmer algorithms generated from Snowball algorithms
 Summary(pl.UTF-8):	Algorytmy wyznaczające rdzeniesłów wygenerowane z algorytmów Snowball
 Group:		Libraries/Python
-Requires:	python3-modules
+Requires:	python3-modules >= 1:3.4
 
 %description -n python3-%{module}
-This package provides 16 stemmer algorithms (15 + Porter English
-stemmer) generated from Snowball algorithms.
+This package provides 26 stemmer algorithms (25 languages + Porter
+English stemmer) generated from Snowball algorithms.
 
 It includes following language algorithms:
-
+ - Arabic
+ - Basque
+ - Catalan
  - Danish
  - Dutch
  - English (Standard, Porter)
  - Finnish
  - French
  - German
+ - Greek
+ - Hindi
  - Hungarian
+ - Indonesian
+ - Irish
  - Italian
+ - Lithuanian
+ - Nepali
  - Norwegian
  - Portuguese
  - Romanian
  - Russian
  - Spanish
  - Swedish
+ - Tamil
  - Turkish
 
 This is a pure Python stemming library. If PyStemmer is available,
 this module uses it to accelerate.
 
 %description -n python3-%{module} -l pl.UTF-8
-Ten pakiet udostępnia 16 algorytmów znajdujących rdzenie słów (15 +
-angielski Portera), wygenerowane z algorytmów Snowball.
+Ten pakiet udostępnia 26 algorytmów znajdujących rdzenie słów (25
+języków + angielski Portera), wygenerowane z algorytmów Snowball.
 
 Zawiera algorytmy dla następujących języków:
+ - arabski
+ - baskijski
+ - kataloński
  - duński
  - holenderski
  - angielski (standardowy i Portera)
  - fiński
  - francuski
  - niemiecki
+ - grecki
+ - hindi
  - węgierski
+ - indonezyjski
+ - irlandzki
  - włoski
+ - litewski
+ - nepalski
  - norweski
  - portugalski
  - rumuński
  - rosyjski
  - hiszpański
  - szwedzki
+ - tamilski
  - turecki
 
 Ta biblioteka jest napisana w czystym Pythonie. Jeśli dostępny jest
@@ -161,7 +202,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python2}
 %files
 %defattr(644,root,root,755)
-%doc README.rst
+%doc CHANGES.rst COPYING README.rst
 %{py_sitescriptdir}/%{module}
 %{py_sitescriptdir}/%{module}-%{version}-py*.egg-info
 %endif
@@ -169,7 +210,7 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with python3}
 %files -n python3-%{module}
 %defattr(644,root,root,755)
-%doc README.rst
+%doc CHANGES.rst COPYING README.rst
 %{py3_sitescriptdir}/%{module}
 %{py3_sitescriptdir}/%{module}-%{version}-py*.egg-info
 %endif
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-snowballstemmer.git/commitdiff/927503ccf8d996cc86e5c4ecb46a669ac01d5782



More information about the pld-cvs-commit mailing list