rpms/python-nltk/devel .cvsignore, 1.5, 1.6 python-nltk.spec, 1.12, 1.13 sources, 1.6, 1.7 nltk-0.9.2-use-sys-yaml.patch, 1.1, NONE
Robin 'cheese' Lee
cheeselee at fedoraproject.org
Mon May 17 14:06:49 UTC 2010
Author: cheeselee
Update of /cvs/pkgs/rpms/python-nltk/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv14199
Modified Files:
.cvsignore python-nltk.spec sources
Removed Files:
nltk-0.9.2-use-sys-yaml.patch
Log Message:
* Mon May 17 2010 Robin Lee <robinlee.sysu at gmail.com> - 1:2.0-0.1.b8
- Updated to 2.0b8
- License switched upstream to ASL 2.0 since 2.0b4
- Remove specifications for obsolete Fedora versions
- Remove python_sitelib definition
- URL and Source0 URL revised
- BuildRoot tag removed
- BR: tkinter removed, PyYAML added
- Requires: tkinter removed
- nltk-0.9.2-use-sys-yaml.patch removed
- All redundant commands in 'install' section removed
- nltk_contrib entry in 'file' section was removed since it will include no
file. Upstream split off a new tarball for nltk-contrib.
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-nltk/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- .cvsignore 7 Apr 2008 06:47:42 -0000 1.5
+++ .cvsignore 17 May 2010 14:06:48 -0000 1.6
@@ -1 +1 @@
-nltk-0.9.2.tar.gz
+nltk-2.0b8.tar.gz
Index: python-nltk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-nltk/devel/python-nltk.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- python-nltk.spec 26 Jul 2009 20:44:11 -0000 1.12
+++ python-nltk.spec 17 May 2010 14:06:48 -0000 1.13
@@ -1,25 +1,18 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
-
-# define prerel
+%global prerel b8
Name: python-nltk
Epoch: 1
-Version: 0.9.2
-Release: 4%{?dist}
+Version: 2.0
+Release: 0.1.%{prerel}%{?dist}
Summary: Natural Language Toolkit
Group: Development/Libraries
-License: GPLv2
-URL: http://nltk.sf.net/
-Source0: http://osdn.dl.sourceforge.net/sourceforge/nltk/nltk-%{version}%{?prerel}.tar.gz
-Patch0: nltk-0.9.2-use-sys-yaml.patch
-BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
+License: ASL 2.0
+URL: http://www.nltk.org/
+Source0: http://nltk.googlecode.com/files/nltk-%{version}%{?prerel}.tar.gz
BuildArch: noarch
-Obsoletes: python-nltk_lite <= 0.6.6-2%{?dist}
-Provides: python-nltk_lite = %{version}-%{release}
-
-BuildRequires: python-devel tkinter
-Requires: numpy python-matplotlib tkinter PyYAML
+BuildRequires: python2-devel PyYAML
+Requires: numpy python-matplotlib PyYAML
%description
NLTK is a Python package that simplifies the construction of programs
@@ -32,7 +25,6 @@ research projects.
%prep
%setup -q -n nltk-%{version}%{?prerel}
-%patch0 -p1 -b .use-sys-yaml
%build
@@ -41,25 +33,8 @@ research projects.
%install
rm -rf $RPM_BUILD_ROOT
-sed -ie 's|\xD1|-|g' README.txt
%{__python} setup.py install --skip-build --root $RPM_BUILD_ROOT
-# Make scripts executable
-pushd $RPM_BUILD_ROOT%{python_sitelib}
-pushd nltk
-chmod +x stem/{porter,rslp}.py misc/nemo.py corpus/reader/toolbox.py
-chmod +x test/{coverage,doctest_driver}.py
-popd
-pushd nltk_contrib
-chmod +x bioreader/bioreader.py
-chmod +x readability/{crawler,languageclassifier,syllables_no,textanalyzer,urlextracter}.py
-chmod +x toolbox/{data,iu_mien_hier,language,normalise,settings}.py
-# Fix EOL
-sed -i 's|\r$||g' \
- readability/{syllables_no,textanalyzer}.py
-popd
-popd
-
%clean
rm -rf $RPM_BUILD_ROOT
@@ -69,13 +44,24 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc LICENSE.txt README.txt
%{python_sitelib}/nltk
-%{python_sitelib}/nltk_contrib
-%if 0%{?fedora} >= 9
%{python_sitelib}/nltk-*.egg-info
-%endif
%changelog
+* Mon May 17 2010 Robin Lee <robinlee.sysu at gmail.com> - 1:2.0-0.1.b8
+- Updated to 2.0b8
+- License switched upstream to ASL 2.0 since 2.0b4
+- Remove specifications for obsolete Fedora versions
+- Remove python_sitelib definition
+- URL and Source0 URL revised
+- BuildRoot tag removed
+- BR: tkinter removed, PyYAML added
+- Requires: tkinter removed
+- nltk-0.9.2-use-sys-yaml.patch removed
+- All redundant commands in 'install' section removed
+- nltk_contrib entry in 'file' section was removed since it will include no
+ file. Upstream split off a new tarball for nltk-contrib.
+
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:0.9.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-nltk/devel/sources,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -p -r1.6 -r1.7
--- sources 7 Apr 2008 06:47:42 -0000 1.6
+++ sources 17 May 2010 14:06:48 -0000 1.7
@@ -1 +1 @@
-f48ae60bac4175f8af67d0f19d4d226c nltk-0.9.2.tar.gz
+d9e94beced346268e4d3d1b314d6f57f nltk-2.0b8.tar.gz
--- nltk-0.9.2-use-sys-yaml.patch DELETED ---
More information about the scm-commits
mailing list