forked from pool/python-nltk
		
	- 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:
		
				
					committed by
					
						 Git OBS Bridge
						Git OBS Bridge
					
				
			
			
				
	
			
			
			
						parent
						
							f3752dd71f
						
					
				
				
					commit
					fa205a413e
				
			
							
								
								
									
										3
									
								
								nltk-2.0.1rc1.tar.gz
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								nltk-2.0.1rc1.tar.gz
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:b595a204495292aa820c5ebc612464ec2ee8a7df3bcddd5392ccc8e886fec534 | ||||
| size 1958214 | ||||
| @@ -1,3 +0,0 @@ | ||||
| version https://git-lfs.github.com/spec/v1 | ||||
| oid sha256:08fe7f1b167cdce810d729547eb14fd276a47d222b697dec4f97c1358161509a | ||||
| size 731882 | ||||
| @@ -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 | ||||
|   | ||||
|   | ||||
| @@ -16,61 +16,50 @@ | ||||
| # Please submit bugfixes or comments via http://bugs.opensuse.org/ | ||||
| # | ||||
|  | ||||
| # norootforbuild | ||||
|  | ||||
| %define modname nltk | ||||
|  | ||||
| Name:           python-nltk | ||||
| Version:        2.0b8 | ||||
| Release:        1 | ||||
| License:        Apache V2.0 | ||||
| Version:        2.0.1rc1 | ||||
| Release:        0 | ||||
| Url:            http://nltk.org/ | ||||
| Summary:        Natural Language Toolkit | ||||
| License:        Apache-2.0 | ||||
| Group:          Development/Libraries/Python | ||||
| Url:            http://www.nltk.org/ | ||||
| Source0:        nltk-%{version}.tar.bz2 | ||||
| %{py_requires} | ||||
| Source:         http://pypi.python.org/packages/source/n/nltk/nltk-%{version}.tar.gz | ||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build | ||||
| BuildRequires:  python-devel | ||||
| BuildRequires:  python-distribute | ||||
| BuildRequires:  python-yaml | ||||
| BuildRequires:  pyxml | ||||
| BuildRequires:  unzip | ||||
| BuildRequires:  python-xml | ||||
| Requires:       python-numpy | ||||
| Requires:       python-tk | ||||
| Requires:       python-yaml | ||||
| Requires:       pyxml | ||||
| Requires:       python-xml | ||||
| %if 0%{?suse_version} | ||||
| Recommends:     python-matplotlib | ||||
| BuildRoot:      %{_tmppath}/%{name}-%{version}-build | ||||
| # Build as noarch for >= 11.2 | ||||
| %if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1} | ||||
| BuildArch: noarch | ||||
| %py_requires | ||||
| %if 0%{?suse_version} > 1110 | ||||
| BuildArch:      noarch | ||||
| %endif | ||||
| %endif | ||||
| %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} | ||||
|  | ||||
| %description | ||||
| NLTK -- the Natural Language Toolkit -- is a suite of open source | ||||
| Python modules, data sets and tutorials supporting research and | ||||
| 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 | ||||
| %setup -q -n %{modname}-%{version} | ||||
| %setup -q -n nltk-%{version} | ||||
|  | ||||
| %build | ||||
| %{__python} setup.py build | ||||
| python setup.py build | ||||
|  | ||||
| %install | ||||
| %{__python} setup.py install --prefix=%{_prefix} --record-rpm=INSTALLED_FILES --root="$RPM_BUILD_ROOT" | ||||
| python setup.py install --prefix=%{_prefix} --root="%{buildroot}" | ||||
|  | ||||
| %clean | ||||
| rm -rf %{buildroot} | ||||
|  | ||||
| %files -f INSTALLED_FILES | ||||
| %files | ||||
| %defattr(-, root, root) | ||||
| %doc README.txt LICENSE.txt | ||||
| %{python_sitelib}/* | ||||
|  | ||||
| %changelog | ||||
|   | ||||
		Reference in New Issue
	
	Block a user