rpms/python-nltk/devel nltk-0.9.2-use-sys-yaml.patch, NONE, 1.1 .cvsignore, 1.4, 1.5 python-nltk.spec, 1.8, 1.9 sources, 1.5, 1.6 nltk-0.9-use-sys-yaml.patch, 1.1, NONE
Michel Alexandre Salim (salimma)
fedora-extras-commits at redhat.com
Mon Apr 7 06:48:27 UTC 2008
Author: salimma
Update of /cvs/pkgs/rpms/python-nltk/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv2098
Modified Files:
.cvsignore python-nltk.spec sources
Added Files:
nltk-0.9.2-use-sys-yaml.patch
Removed Files:
nltk-0.9-use-sys-yaml.patch
Log Message:
nltk-0.9.2
nltk-0.9.2-use-sys-yaml.patch:
--- NEW FILE nltk-0.9.2-use-sys-yaml.patch ---
--- nltk-0.9.2/setup.py.use-sys-yaml 2008-02-28 16:49:21.000000000 -0500
+++ nltk-0.9.2/setup.py 2008-04-07 02:13:45.000000000 -0400
@@ -64,6 +64,5 @@
'nltk_contrib.rte',
'nltk_contrib.toolbox',
'nltk_contrib.wordnet',
- 'yaml'
],
)
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-nltk/devel/.cvsignore,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- .cvsignore 21 Jan 2008 04:28:29 -0000 1.4
+++ .cvsignore 7 Apr 2008 06:47:42 -0000 1.5
@@ -1 +1 @@
-nltk-0.9.tar.gz
+nltk-0.9.2.tar.gz
Index: python-nltk.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-nltk/devel/python-nltk.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- python-nltk.spec 24 Feb 2008 03:33:01 -0000 1.8
+++ python-nltk.spec 7 Apr 2008 06:47:42 -0000 1.9
@@ -3,15 +3,15 @@
# define prerel
Name: python-nltk
Epoch: 1
-Version: 0.9
-Release: 2%{?dist}
+Version: 0.9.2
+Release: 1%{?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-use-sys-yaml.patch
+Patch0: nltk-0.9.2-use-sys-yaml.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
@@ -38,6 +38,7 @@
%build
%{__python} setup.py build
+
%install
rm -rf $RPM_BUILD_ROOT
sed -ie 's|\xD1|-|g' README.txt
@@ -49,7 +50,14 @@
chmod +x stem/{porter,rslp}.py misc/nemo.py corpus/reader/toolbox.py
chmod +x test/{coverage,doctest_driver}.py
popd
-chmod +x nltk_contrib/{bioreader/bioreader,toolbox/{settings,language,data}}.py
+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
@@ -63,11 +71,14 @@
%{python_sitelib}/nltk
%{python_sitelib}/nltk_contrib
%if 0%{?fedora} >= 9
-%{python_sitelib}/nltk-0.9-py2.5.egg-info
+%{python_sitelib}/nltk-*.egg-info
%endif
%changelog
+* Mon Apr 7 2008 Michel Salim <salimma at fedoraproject.org> - 1:0.9.2-1
+- Update to 0.9.2
+
* Sat Feb 23 2008 Michel Salim <michel.sylvan at gmail.com> - 1:0.9-2
- Use system PyYAML (bug #432329)
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-nltk/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources 21 Jan 2008 04:28:29 -0000 1.5
+++ sources 7 Apr 2008 06:47:42 -0000 1.6
@@ -1 +1 @@
-00cec5d3347a6aa69d26553635187f85 nltk-0.9.tar.gz
+f48ae60bac4175f8af67d0f19d4d226c nltk-0.9.2.tar.gz
--- nltk-0.9-use-sys-yaml.patch DELETED ---
More information about the fedora-extras-commits
mailing list