From bb2443681b436d3d1c11a36d4f142f835b055d3c1dad70a24068974b45d431b6 Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 13 Jun 2012 06:04:31 +0000 Subject: [PATCH] Accepting request 124765 from home:poorboywilly:branches:devel:languages:python Update to 1.0.0, add unit tests OBS-URL: https://build.opensuse.org/request/show/124765 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-polib?expand=0&rev=10 --- polib-0.7.0.tar.bz2 | 3 --- polib-1.0.0.tar.bz2 | 3 +++ python-polib.changes | 13 +++++++++++++ python-polib.spec | 6 +++++- 4 files changed, 21 insertions(+), 4 deletions(-) delete mode 100644 polib-0.7.0.tar.bz2 create mode 100644 polib-1.0.0.tar.bz2 diff --git a/polib-0.7.0.tar.bz2 b/polib-0.7.0.tar.bz2 deleted file mode 100644 index 4bcff35..0000000 --- a/polib-0.7.0.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:35b0cdd16d9ec29bedd8625f7674433db68e69541b1a0d42632c4f0c4c8b5a3f -size 120501 diff --git a/polib-1.0.0.tar.bz2 b/polib-1.0.0.tar.bz2 new file mode 100644 index 0000000..3836f3e --- /dev/null +++ b/polib-1.0.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4ed2de4689b17de673da3a9b2d8e9c8e4489ad8a4f172fe8efb82b731c7306e +size 122163 diff --git a/python-polib.changes b/python-polib.changes index 4df9210..424b20b 100644 --- a/python-polib.changes +++ b/python-polib.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Wed Jun 13 00:41:24 UTC 2012 - os-dev@jacraig.com + +- Update to 1.0.0: + * polib.pofile and polib.mofile functions can now return a custom class + (thanks Craig Blaszczyk) + * polib now can find the metadata entry no matter where it is located (thanks + François Poirotte) + * fixed issue #28 (IOError on reading obsolete "previous msgid" entries) + (thanks James Ni) + * Dropped python 2.4 support +- Add %check section to run unit tests + ------------------------------------------------------------------- Tue Jan 31 10:59:13 UTC 2012 - saschpe@suse.de diff --git a/python-polib.spec b/python-polib.spec index 15fdbd6..0780901 100644 --- a/python-polib.spec +++ b/python-polib.spec @@ -16,8 +16,9 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-polib -Version: 0.7.0 +Version: 1.0.0 Release: 0 Url: http://bitbucket.org/izi/polib/ Summary: A library to manipulate gettext files @@ -73,6 +74,9 @@ popd python setup.py install --prefix=%{_prefix} --root=%{buildroot} %fdupes -s %{buildroot}/%{_prefix} +%check +./runtests.sh + %files %defattr(-,root,root) %doc LICENSE CHANGELOG README.rst