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:
commit
ac09a659c6
@ -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
3
isodate-0.4.9.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4e13c0b5824e9af40d99ad1d3969c880e49b6b09e4de138aa08db3d571b2190d
|
||||||
|
size 24820
|
@ -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
|
Fri May 18 00:22:57 UTC 2012 - jfunk@funktronics.ca
|
||||||
|
|
||||||
|
@ -11,12 +11,13 @@
|
|||||||
# case the license is the MIT License). An "Open Source License" is a
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
#
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
Name: python-isodate
|
Name: python-isodate
|
||||||
Version: 0.4.8
|
Version: 0.4.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://cheeseshop.python.org/pypi/isodate
|
Url: http://cheeseshop.python.org/pypi/isodate
|
||||||
Summary: An ISO 8601 Date/Time/Duration Parser and Formatter
|
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
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-distribute
|
BuildRequires: python-distribute
|
||||||
%if 0%{?suse_version}
|
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
|
||||||
%py_requires
|
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||||
%if 0%{?suse_version} > 1110
|
%else
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%endif
|
%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
|
%description
|
||||||
This module implements ISO 8601 date, time and duration parsing.
|
This module implements ISO 8601 date, time and duration parsing.
|
||||||
@ -46,14 +44,14 @@ option.
|
|||||||
%setup -q -n isodate-%{version}
|
%setup -q -n isodate-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%check
|
|
||||||
python setup.py test
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
python setup.py test
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc CHANGES.txt README.txt TODO.txt
|
%doc CHANGES.txt README.txt TODO.txt
|
||||||
|
Loading…
x
Reference in New Issue
Block a user