[python-polib] Update to polib-0.7.0
Ding-Yi Chen
dchen at fedoraproject.org
Fri Oct 28 04:32:32 UTC 2011
commit 561737c4870db66a4d48f26b92c37b161e1f61a5
Author: Ding-Yi Chen <dingyichen at gmail.com>
Date: Fri Oct 28 14:32:09 2011 +1000
Update to polib-0.7.0
.gitignore | 1 +
python-polib.spec | 74 +++++++++++++++++++++++++++++++++++++++++++++++-----
sources | 2 +-
3 files changed, 68 insertions(+), 9 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 6d9e670..b230763 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
polib-0.5.1.tar.gz
+/polib-0.7.0.tar.gz
diff --git a/python-polib.spec b/python-polib.spec
index e0c1198..7355d62 100644
--- a/python-polib.spec
+++ b/python-polib.spec
@@ -3,17 +3,14 @@
#%define alphatag r60
Name: python-polib
-Version: 0.5.1
-Release: 3%{?dist}
+Version: 0.7.0
+Release: 1%{?dist}
Summary: A library to parse and manage gettext catalogs
Group: Development/Languages
License: MIT
-URL: http://code.google.com/p/polib/
-# svn export -r60 http://polib.googlecode.com/svn/trunk/ polib-0.4.0-r60
-# tar zcf polib-0.4.0-r60.tar.gz polib-0.4.0-r60
-#Source0: polib-%{version}-%{alphatag}.tar.gz
-Source0: http://polib.googlecode.com/files/polib-0.5.1.tar.gz
+URL: http://bitbucket.org/izi/polib/
+Source0: http://bitbucket.org/izi/polib/downloads/polib-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -44,10 +41,71 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
-%doc LICENSE README
+%doc LICENSE README.rst
%{python_sitelib}/*
%changelog
+* Fri Oct 28 2011 Ding-Yi Chen <dchen at redhat.com> - 0.7.0-1
+- Correct URLs
+- Replace README with README.rst
+- Update to 0.7.0:
+ From Version 0.7.0 (2011/07/14)
+ This version adds support for python 3 (thanks to Vinay Sajip).
+ polib now supports out-of-the-box any version of python ranging
+ from 2.4 to latest 3.X version.
+ From Version 0.6.4 (2011/07/13)
+ * Better api, autodetected_encoding is no longer required to
+ explicitely set the encoding (fixes issue #23),
+ * Fixed issue #24 Support indented PO files (thanks to
+ François Poirotte).
+ From Version 0.6.3 (2011/02/19)
+ * Fixed issue #19 (Disappearing newline characters due to
+ textwrap module),
+ * ensure wrapping works as expected.
+ From Version 0.6.2 (2011/02/09)
+ * Backported textwrap.TextWrapper._wrap_chunks that has support
+ for the drop_whitespace parameter added in Python 2.6 (Fixes
+ #18: broken compatibility with python 2.5, thanks @jezdez).
+ From Version 0.6.1 (2011/02/09)
+ * fixed regression that prevented POFile initialization from
+ data to work (issue #17).
+ From Version 0.6.0 (2011/02/07)
+ * polib is now fully documented,
+ * switched from doctests to unit tests to keep the polib.py
+ file clean,
+ * fixed issue #7 (wrapping issues, thanks @jezdez),
+ * added a __eq__ method to _BaseFile (thanks @kost BebiX),
+ * handle msgctxt correctly when compiling mo files,
+ * compiled mo files are now exactly the same as those compiled
+ by msgfmt without using hash tables.
+ From Version 0.5.5 (2010/10/30)
+ * Removed multiline handling code, it was a mess and was the
+ source of potential bugs like issue #11,
+ * Fixed typo in README and CHANGELOG, fixes issue #13.
+ From Version 0.5.4 (2010/10/02)
+ * fixed an issue with detect_encoding(), in some cases it could
+ return an invalid charset.
+ From Version 0.5.3 (2010/08/29)
+ * correctly unescape lines containing both \\n and \n
+ (thanks to Martin Geisler),
+ * fixed issue #6: __str__() methods are returning unicode instead
+ of str,
+ * fixed issue #8: POFile.merge error when an entry is obsolete in
+ a .po, that this entry reappears in the .pot and that we merge
+ the two,
+ * added support to instanciate POFile objects using data instead
+ of file path (thanks to Diego Búrigo Zacarão),
+ * fixed issue #9: POFile.merge drop fuzzy attributes from
+ translations (thanks to Tim Gerundt),
+ * fixed issue #10: Finding entries with the same msgid and
+ different context (msgctxt).
+ From Version 0.5.2 (2010/06/09)
+ * fixed issue #1: untranslated_entries() also show fuzzy message,
+ * write back the fuzzy header if present in the pofile,
+ * added support for previous msgctxt, previous msgid and previous
+ msgid_plural comments (fixes issue #5),
+ * better handling of lines wrapping.
+
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index 22039ec..d52ac71 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-0e4e5b8c408eaf981e8b6f6820fd569c polib-0.5.1.tar.gz
+958f8f81ade7d2484edc25b3989fe247 polib-0.7.0.tar.gz
More information about the scm-commits
mailing list