From 3d33af8439d1ea9394e1aa42c29668477006951b38855ab2621a7e1720986f6b Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Fri, 23 Nov 2012 11:09:10 +0000 Subject: [PATCH] - 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/package/show/devel:languages:python/python-isodate?expand=0&rev=3 --- isodate-0.4.8.tar.gz | 3 --- isodate-0.4.9.tar.gz | 3 +++ python-isodate.changes | 9 +++++++++ python-isodate.spec | 24 +++++++++++------------- 4 files changed, 23 insertions(+), 16 deletions(-) delete mode 100644 isodate-0.4.8.tar.gz create mode 100644 isodate-0.4.9.tar.gz diff --git a/isodate-0.4.8.tar.gz b/isodate-0.4.8.tar.gz deleted file mode 100644 index de9f290..0000000 --- a/isodate-0.4.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:45b84949e4d1ef4c9e55e4516bf7c33707e8007b80bf62fc887d3c7320ab400b -size 24325 diff --git a/isodate-0.4.9.tar.gz b/isodate-0.4.9.tar.gz new file mode 100644 index 0000000..19901d3 --- /dev/null +++ b/isodate-0.4.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e13c0b5824e9af40d99ad1d3969c880e49b6b09e4de138aa08db3d571b2190d +size 24820 diff --git a/python-isodate.changes b/python-isodate.changes index 92b8734..5defb5a 100644 --- a/python-isodate.changes +++ b/python-isodate.changes @@ -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 diff --git a/python-isodate.spec b/python-isodate.spec index d0c8fad..fe34517 100644 --- a/python-isodate.spec +++ b/python-isodate.spec @@ -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,17 +44,17 @@ 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 %{python_sitelib}/* -%changelog \ No newline at end of file +%changelog