- Update to version 2.0.1rc1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nltk?expand=0&rev=3
This commit is contained in:
Sascha Peilicke 2011-09-23 12:31:44 +00:00 committed by Git OBS Bridge
parent f3752dd71f
commit fa205a413e
4 changed files with 28 additions and 34 deletions

3
nltk-2.0.1rc1.tar.gz Normal file
View File

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

View File

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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Sep 23 12:29:05 UTC 2011 - saschpe@suse.de
- Update to version 2.0.1rc1
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Feb 7 18:51:07 CST 2010 - oddrationale@gmail.com Sun Feb 7 18:51:07 CST 2010 - oddrationale@gmail.com

View File

@ -16,61 +16,50 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild
%define modname nltk
Name: python-nltk Name: python-nltk
Version: 2.0b8 Version: 2.0.1rc1
Release: 1 Release: 0
License: Apache V2.0 Url: http://nltk.org/
Summary: Natural Language Toolkit Summary: Natural Language Toolkit
License: Apache-2.0
Group: Development/Libraries/Python Group: Development/Libraries/Python
Url: http://www.nltk.org/ Source: http://pypi.python.org/packages/source/n/nltk/nltk-%{version}.tar.gz
Source0: nltk-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build
%{py_requires}
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-distribute
BuildRequires: python-yaml BuildRequires: python-yaml
BuildRequires: pyxml BuildRequires: python-xml
BuildRequires: unzip
Requires: python-numpy Requires: python-numpy
Requires: python-tk Requires: python-tk
Requires: python-yaml Requires: python-yaml
Requires: pyxml Requires: python-xml
%if 0%{?suse_version}
Recommends: python-matplotlib Recommends: python-matplotlib
BuildRoot: %{_tmppath}/%{name}-%{version}-build %py_requires
# Build as noarch for >= 11.2 %if 0%{?suse_version} > 1110
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} BuildArch: noarch
BuildArch: noarch
%endif %endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%description %description
NLTK -- the Natural Language Toolkit -- is a suite of open source NLTK -- the Natural Language Toolkit -- is a suite of open source
Python modules, data sets and tutorials supporting research and Python modules, data sets and tutorials supporting research and
development in Natural Language Processing. development in Natural Language Processing.
Authors:
--------
Steven Bird <sb@csse.unimelb.edu.au>
Edward Loper <edloper@gradient.cis.upenn.edu>
Ewan Klein <ewan@inf.ed.ac.uk>
%prep %prep
%setup -q -n %{modname}-%{version} %setup -q -n nltk-%{version}
%build %build
%{__python} setup.py build python setup.py build
%install %install
%{__python} setup.py install --prefix=%{_prefix} --record-rpm=INSTALLED_FILES --root="$RPM_BUILD_ROOT" python setup.py install --prefix=%{_prefix} --root="%{buildroot}"
%clean %files
rm -rf %{buildroot}
%files -f INSTALLED_FILES
%defattr(-, root, root) %defattr(-, root, root)
%doc README.txt LICENSE.txt %doc README.txt LICENSE.txt
%{python_sitelib}/*
%changelog %changelog