14
0
forked from pool/python-nltk

Accepting request 1218431 from home:yeey:OpenWebUI

update to version 3.9.1

OBS-URL: https://build.opensuse.org/request/show/1218431
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nltk?expand=0&rev=51
This commit is contained in:
2024-10-26 07:58:26 +00:00
committed by Git OBS Bridge
parent 990db408d5
commit ae0f6cf597
8 changed files with 15 additions and 159 deletions

View File

@@ -17,8 +17,9 @@
%define modname nltk
%{?sle15_python_module_pythons}
Name: python-nltk
Version: 3.8.1
Version: 3.9.1
Release: 0
Summary: Natural Language Toolkit
License: Apache-2.0
@@ -61,10 +62,6 @@ Source99: python-nltk.rpmlintrc
# PATCH-FIX-UPSTREAM skip-networked-test.patch gh#nltk/nltk#2969 mcepl@suse.com
# skip tests requiring network connection
Patch0: skip-networked-test.patch
# PATCH-FIX-UPSTREAM nltk-pr3207-py312.patch gh#nltk/nltk#3207
Patch1: nltk-pr3207-py312.patch
# PATCH-FIX-UPSTREAM CVE-2024-39705.patch bsc#1227174 gh#nltk/nltk#3290
Patch2: CVE-2024-39705.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
@@ -150,7 +147,6 @@ sed -E -i "/#![[:space:]]*\/usr\/bin\/env python/d" \
sed -E -i "s|#![[:space:]]*%{_bindir}/env python|#!%{_bindir}/python3|" \
setup.py \
tools/global_replace.py \
nltk_data/corpora/pl196x/splitter.py \
tools/find_deprecated.py
%autopatch -p1