Accepting request 720577 from home:pgajdos

- version update to 1.9.0
  * no upstream change log
  * relicensed to BSD-3-Clause, se README.rst
- added sources
  https://github.com/snowballstem/snowball/issues/102
  + COPYING

OBS-URL: https://build.opensuse.org/request/show/720577
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-snowballstemmer?expand=0&rev=11
This commit is contained in:
Tomáš Chvátal 2019-08-02 11:10:26 +00:00 committed by Git OBS Bridge
parent 2030a2f641
commit 9864da5c22
5 changed files with 48 additions and 7 deletions

27
COPYING Normal file
View File

@ -0,0 +1,27 @@
Copyright (c) 2001, Dr Martin Porter
Copyright (c) 2004,2005, Richard Boulton
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the Snowball project nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Aug 2 10:59:50 UTC 2019 - pgajdos@suse.com
- version update to 1.9.0
* no upstream change log
* relicensed to BSD-3-Clause, se README.rst
- added sources
https://github.com/snowballstem/snowball/issues/102
+ COPYING
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Dec 4 12:54:25 UTC 2018 - Matej Cepl <mcepl@suse.com> Tue Dec 4 12:54:25 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-snowballstemmer # spec file for package python-snowballstemmer
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,13 +18,15 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-snowballstemmer Name: python-snowballstemmer
Version: 1.2.1 Version: 1.9.0
Release: 0 Release: 0
Summary: This package provides 16 stemmer algorithms Summary: This package provides 16 stemmer algorithms
License: BSD-2-Clause License: BSD-3-Clause
Group: Development/Languages/Python Group: Development/Languages/Python
Url: https://github.com/shibukawa/snowball_py Url: https://github.com/shibukawa/snowball_py
Source: https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-%{version}.tar.gz Source: https://pypi.python.org/packages/source/s/snowballstemmer/snowballstemmer-%{version}.tar.gz
# https://github.com/snowballstem/snowball/issues/102
Source1: https://raw.githubusercontent.com/snowballstem/snowball/master/COPYING
BuildRequires: %{python_module base} BuildRequires: %{python_module base}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@ -47,6 +49,7 @@ accelerate.
%setup -q -n snowballstemmer-%{version} %setup -q -n snowballstemmer-%{version}
%build %build
cp %{SOURCE1} .
%python_build %python_build
%install %install
@ -56,6 +59,7 @@ accelerate.
%files %{python_files} %files %{python_files}
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{python_sitelib}/* %{python_sitelib}/*
%doc README.rst LICENSE.rst %doc README.rst
%license COPYING
%changelog %changelog

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:919f26a68b2c17a7634da993d91339e288964f93c274f1343e3bbbe2096e1128
size 49626

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9f3b9ffe0809d174f7047e121431acf99c89a7040f0ca84f94ba53a498e6d0c9
size 76910