Accepting request 142569 from devel:languages:python

- Update to version 0.4.9:
  + support pickling FixedOffset instances
  + make sure parsed fractional seconds are in microseconds
  + add leading zeros when formattig microseconds (Jarom Loveridge)
- Spec file cleanup

OBS-URL: https://build.opensuse.org/request/show/142569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-isodate?expand=0&rev=3
This commit is contained in:
Stephan Kulow 2012-11-25 12:40:53 +00:00 committed by Git OBS Bridge
commit ac09a659c6
4 changed files with 23 additions and 16 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:45b84949e4d1ef4c9e55e4516bf7c33707e8007b80bf62fc887d3c7320ab400b
size 24325

3
isodate-0.4.9.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e13c0b5824e9af40d99ad1d3969c880e49b6b09e4de138aa08db3d571b2190d
size 24820

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Fri Nov 23 11:07:12 UTC 2012 - saschpe@suse.de
- Update to version 0.4.9:
+ support pickling FixedOffset instances
+ make sure parsed fractional seconds are in microseconds
+ add leading zeros when formattig microseconds (Jarom Loveridge)
- Spec file cleanup
-------------------------------------------------------------------
Fri May 18 00:22:57 UTC 2012 - jfunk@funktronics.ca

View File

@ -11,12 +11,13 @@
# 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-isodate
Version: 0.4.8
Version: 0.4.9
Release: 0
Url: http://cheeseshop.python.org/pypi/isodate
Summary: An ISO 8601 Date/Time/Duration Parser and Formatter
@ -26,14 +27,11 @@ Source: http://pypi.python.org/packages/source/i/isodate/isodate-%{versi
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-devel
BuildRequires: python-distribute
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%endif
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
%description
This module implements ISO 8601 date, time and duration parsing.
@ -46,14 +44,14 @@ option.
%setup -q -n isodate-%{version}
%build
CFLAGS="%{optflags}" python setup.py build
%check
python setup.py test
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%check
python setup.py test
%files
%defattr(-,root,root,-)
%doc CHANGES.txt README.txt TODO.txt