Accepting request 308503 from home:TheBlackCat:branches:devel:languages:python

Update to version 3.0.2

OBS-URL: https://build.opensuse.org/request/show/308503
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nltk?expand=0&rev=6
This commit is contained in:
Todd R 2015-05-24 11:04:50 +00:00 committed by Git OBS Bridge
parent 05e79db05a
commit 69f054332b
5 changed files with 12 additions and 21 deletions

View File

@ -1,12 +0,0 @@
--- a/setup.py
+++ b/setup.py
@@ -19,9 +19,6 @@
with open(version_file) as fh:
nltk_version = fh.read().strip()
-import distribute_setup
-distribute_setup.use_setuptools()
-
from setuptools import setup, find_packages
#

View File

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

3
nltk-3.0.2.tar.gz Normal file
View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu May 21 14:53:43 UTC 2015 - toddrme2178@gmail.com
- Remove upstreamed nltk-2.0.4-dont-use-python-distribute.patch
- Update to version 3.0.2
+ No changelog available
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Dec 8 13:33:14 UTC 2013 - p.drouand@gmail.com Sun Dec 8 13:33:14 UTC 2013 - p.drouand@gmail.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-nltk # spec file for package python-nltk
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX Products 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
@ -17,16 +17,13 @@
Name: python-nltk Name: python-nltk
Version: 2.0.4 Version: 3.0.2
Release: 0 Release: 0
Url: http://nltk.org/ Url: http://nltk.org/
Summary: Natural Language Toolkit Summary: Natural Language Toolkit
License: Apache-2.0 License: Apache-2.0
Group: Development/Languages/Python Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/n/nltk/nltk-%{version}.tar.gz Source: http://pypi.python.org/packages/source/n/nltk/nltk-%{version}.tar.gz
# PATCH-FIX-UPSTREAM nltk-2.0.4-dont-use-python-distribute.patch --setup script wan't import setuptools from distribute at first
# and try to download it
Patch: nltk-2.0.4-dont-use-python-distribute.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-setuptools BuildRequires: python-setuptools
@ -49,7 +46,6 @@ development in Natural Language Processing.
%prep %prep
%setup -q -n nltk-%{version} %setup -q -n nltk-%{version}
%patch -p1
%build %build
python setup.py build python setup.py build