forked from pool/python-Babel
- Update to version 0.9.6:
* Backport r493-494: documentation typo fixes. * Make the CLDR import script work with Python 2.7. * Fix various typos. * Fixed Python 2.3 compatibility (ticket #146, #233). * Sort output of list-locales. * Make the POT-Creation-Date of the catalog being updated equal to POT-Creation-Date of the template used to update (ticket #148). * Use a more explicit error message if no option or argument (command) is passed to pybabel (ticket #81). * Keep the PO-Revision-Date if it is not the default value (ticket #148). * Make --no-wrap work by reworking --width's default and mimic xgettext's behaviour of always wrapping comments (ticket #145). * Fixed negative offset handling of Catalog._set_mime_headers (ticket #165). * Add --project and --version options for commandline (ticket #173). * Add a __ne__() method to the Local class. * Explicitly sort instead of using sorted() and don't assume ordering (Python 2.3 and Jython compatibility). * Removed ValueError raising for string formatting message checkers if the string does not contain any string formattings (ticket #150). * Fix Serbian plural forms (ticket #213). * Small speed improvement in format_date() (ticket #216). * Fix number formatting for locales where CLDR specifies alt or draft items (ticket #217) * Fix bad check in format_time (ticket #257, reported with patch and tests by jomae) * Fix so frontend.CommandLineInterface.run does not accumulate logging handlers (#227, reported with initial patch by dfraser) * Fix exception if environment contains an invalid locale setting (#200) - Renamed to python-Babel (from python-babel) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Babel?expand=0&rev=1
This commit is contained in:
commit
d7d586e56e
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
Babel-0.9.6.tar.gz
Normal file
3
Babel-0.9.6.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:4a3a085ecf1fcd2736573538ffa114f1f4331b3bbbdd69381e6e172c49c9750f
|
||||
size 1820835
|
68
python-Babel.changes
Normal file
68
python-Babel.changes
Normal file
@ -0,0 +1,68 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 1 14:17:39 UTC 2011 - saschpe@suse.de
|
||||
|
||||
- Update to version 0.9.6:
|
||||
* Backport r493-494: documentation typo fixes.
|
||||
* Make the CLDR import script work with Python 2.7.
|
||||
* Fix various typos.
|
||||
* Fixed Python 2.3 compatibility (ticket #146, #233).
|
||||
* Sort output of list-locales.
|
||||
* Make the POT-Creation-Date of the catalog being updated equal to
|
||||
POT-Creation-Date of the template used to update (ticket #148).
|
||||
* Use a more explicit error message if no option or argument (command) is
|
||||
passed to pybabel (ticket #81).
|
||||
* Keep the PO-Revision-Date if it is not the default value (ticket #148).
|
||||
* Make --no-wrap work by reworking --width's default and mimic xgettext's
|
||||
behaviour of always wrapping comments (ticket #145).
|
||||
* Fixed negative offset handling of Catalog._set_mime_headers (ticket #165).
|
||||
* Add --project and --version options for commandline (ticket #173).
|
||||
* Add a __ne__() method to the Local class.
|
||||
* Explicitly sort instead of using sorted() and don't assume ordering
|
||||
(Python 2.3 and Jython compatibility).
|
||||
* Removed ValueError raising for string formatting message checkers if the
|
||||
string does not contain any string formattings (ticket #150).
|
||||
* Fix Serbian plural forms (ticket #213).
|
||||
* Small speed improvement in format_date() (ticket #216).
|
||||
* Fix number formatting for locales where CLDR specifies alt or draft
|
||||
items (ticket #217)
|
||||
* Fix bad check in format_time (ticket #257, reported with patch and tests by
|
||||
jomae)
|
||||
* Fix so frontend.CommandLineInterface.run does not accumulate logging
|
||||
handlers (#227, reported with initial patch by dfraser)
|
||||
* Fix exception if environment contains an invalid locale setting (#200)
|
||||
- Renamed to python-Babel (from python-babel)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 20 15:23:47 UTC 2010 - saschpe@suse.de
|
||||
|
||||
- re-added dependency to python-setuptools
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 15 14:29:04 UTC 2010 - saschpe@suse.de
|
||||
|
||||
- added documentation:
|
||||
* files: COPYING ChangeLog INSTALL.txt README.txt
|
||||
* HTML documentation
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 11 20:59:55 UTC 2010 - saschpe@gmx.de
|
||||
|
||||
- re-generated spec file with py2pack:
|
||||
* now builds for Fedora and Mandriva
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 1 16:43:56 UTC 2010 - jmatejek@novell.com
|
||||
|
||||
- added python-devel to buildrequires, to fix build on new python
|
||||
(because the package requires doctest, which requires unittest,
|
||||
which should probably both go into python-devel. (but this is
|
||||
subject to change))
|
||||
- dropped check for obsolete SUSE version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Apr 25 18:18:39 UTC 2010 - bitdealer@gmail.com
|
||||
|
||||
- Update to 0.9.5.
|
||||
- Switch to noarch.
|
||||
- Clean up spec.
|
||||
|
65
python-Babel.spec
Normal file
65
python-Babel.spec
Normal file
@ -0,0 +1,65 @@
|
||||
#
|
||||
# spec file for package python-Babel
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
Name: python-Babel
|
||||
Version: 0.9.6
|
||||
Release: 0
|
||||
Url: http://babel.edgewall.org/
|
||||
Summary: Internationalization utilities
|
||||
License: BSD
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/B/Babel/Babel-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1010
|
||||
BuildRequires: fdupes
|
||||
%endif
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
Provides: python-babel = %{version}
|
||||
Obsoletes: python-babel < %{version}
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
|
||||
%description
|
||||
A collection of tools for internationalizing Python applications.
|
||||
|
||||
%prep
|
||||
%setup -q -n Babel-%{version}
|
||||
mv doc html
|
||||
sed -i "1d" babel/messages/frontend.py # Fix non-executable script
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%if 0%{?suse_version} > 1010
|
||||
%fdupes %{buildroot}%{_prefix}
|
||||
%endif
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING ChangeLog INSTALL.txt README.txt html
|
||||
%{_bindir}/pybabel
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user