Hello community,

here is the log from the commit of package python-icalendar for 
openSUSE:Factory checked in at 2012-07-02 21:33:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-icalendar (Old)
 and      /work/SRC/openSUSE:Factory/.python-icalendar.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-icalendar", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-icalendar/python-icalendar.changes        
2012-02-27 18:35:57.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-icalendar.new/python-icalendar.changes   
2012-07-02 21:33:25.000000000 +0200
@@ -1,0 +2,33 @@
+Tue Jun 26 12:54:58 UTC 2012 - [email protected]
+
+- Fix building on SLE 11
+- updated license to BSD-2-Clause
+- Note 1: The fork has taken over maintainership and is now the 
+  official version
+- Note 2: The previous package was a git version from what was the 
+  fork.  The git tarball had version number 3.0, but for 
+  completeness this changes entry includes changes since the last
+  official release, 2.2  
+- Update to 3.0.1b2
+  * For all TZID parameters in DATE-TIME properties, use timezone
+    identifiers (e.g. Europe/Vienna) instead of timezone names 
+    (e.g. CET), as required by RFC5545. Timezone names are used 
+    together with timezone identifiers in the Timezone components
+  * Timezone parsing, issues and test fixes.
+  * Since we use pytz for timezones, also use UTC tzinfo object 
+    from the pytz  library instead of own implementation.
+- Update to 3.0.1b1
+  * Update Release information.
+- Update to 3.0
+  * Add API for proper Timezone support. Allow creating ical 
+    DATE-TIME strings with timezone information from Python 
+    datetimes with pytz based timezone information and vice versa
+  * Unify API to only use to_ical and from_ical and remove string 
+    casting as a requirement for Python 3 compatibility:
+    * New: to_ical.
+    * Old: ical, string, as_string and string casting via __str__
+           and str.
+    * New: from_ical.
+    * Old: from_string.
+
+-------------------------------------------------------------------

Old:
----
  collective-icalendar-4d52777.tar.bz2

New:
----
  icalendar-3.0.1b2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-icalendar.spec ++++++
--- /var/tmp/diff_new_pack.qvz7TR/_old  2012-07-02 21:33:26.000000000 +0200
+++ /var/tmp/diff_new_pack.qvz7TR/_new  2012-07-02 21:33:26.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-icalendar
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 7/2011 - now  open-slx GmbH <[email protected]>
 # Copyright (c) 2009 - 7/2011 Sascha Manns <[email protected]> 
 #
@@ -17,75 +17,53 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# # norootforbuild
-%define        module  icalendar
-%define        gitid   4d52777
-%define        tarname collective-%{module}-%{gitid}
-
-Name:           python-%{module}
-Version:        2.2
+%define        modname icalendar
+Name:           python-%{modname}
+Version:        3.0.1b2
 Release:        0
 Summary:        Python parser/generator of iCalendar files package
-License:        LGPL-2.1+ and GPL-2.0+
+# please see https://github.com/collective/icalendar/issues/2 for re-licensing 
discussion
+License:        BSD-2-Clause
 Group:          Development/Languages/Python
-Url:            https://github.com/collective/icalendar
-Source0:        %{tarname}.tar.bz2
+Url:            http://icalendar.readthedocs.org/en/latest/index.html
+Source0:        
http://pypi.python.org/packages/source/i/%{modname}/%{modname}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  fdupes
 BuildRequires:  python-Sphinx
 BuildRequires:  python-distribute
+BuildRequires:  python-pytz
 %{py_requires}
-%if 0%{?suse_version} >= 1120
+%if 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitearch %(python -c "from 
distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%else
 BuildArch:      noarch
 %endif
+Provides:      %{name}-doc = %{version}
+Obsoletes:     %{name}-doc < %{version}
 
 %description
 The iCalendar package is a parser/generator of iCalendar files for use
 with Python. It follows the RFC 2445 (iCalendar) specification.
 
-%package doc
-Summary:        Python parser/generator of iCalendar files package
-Requires:       %{name} = %{version}
-
-%description doc
-Documentation for package {name}, a python parser/generator of iCalendar files
-package.
-
 %prep
-%setup -q -n %{tarname}
+%setup -q -n %{modname}-%{version}
 
 %build
 python setup.py build
-pushd docs
-make html
-rm -rf _build/html/.buildinfo
-mv _build/html ../
-popd
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot} 
--record-rpm=INSTALLED_FILES
-mkdir -p %{buildroot}/%{_defaultdocdir}/%{name}
-install -m644 *.txt README.rst %{buildroot}/%{_defaultdocdir}/%{name}/
-cp -r html %{buildroot}/%{_defaultdocdir}/%{name}/
-%fdupes -s %{buildroot}/%{_defaultdocdir}/%{name}
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+rm %{buildroot}%{python_sitelib}/%{modname}/.caselessdict.py.swp
+rm %{buildroot}%{python_sitelib}/%{modname}/tests/.groupscheduled2.ics.swp
 %fdupes -s %{buildroot}
 
 %clean
 rm -rf %{buildroot}
 
-%files -f INSTALLED_FILES
+%files
 %defattr(-,root,root)
-%defattr(-, root, root)
-%dir %{_defaultdocdir}/%{name}
-%{_defaultdocdir}/%{name}/CREDITS.txt
-%{_defaultdocdir}/%{name}/README.rst
-
-%files doc
-%defattr(-, root, root)
-%{_defaultdocdir}/%{name}/CHANGES.txt
-%{_defaultdocdir}/%{name}/HISTORY.txt
-%{_defaultdocdir}/%{name}/INSTALL.txt
-%{_defaultdocdir}/%{name}/TODO.txt
-%{_defaultdocdir}/%{name}/html
+%doc README.rst docs/changelog.rst
+%{python_sitelib}/%{modname}/
+%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info/
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to