forked from pool/python-icalendar
- update to version 3.11.2 (2017-01-12)
- Run tests with python 3.5 and 3.6. [geier]
- Allow tests failing with pypy3 on travis.ci. [geier]
- update to version 3.11.1 (2016-12-19)
- Encode error message before adding it to the stack of collected error
messages.
- update to version 3.11 (2016-11-18)
- Successfully test with pypy and pypy3. [gforcada]
- Minor documentation update. [tpltnt]
- update to version 3.10 (2016-05-26)
- Updated components description to better comply with RFC 5545. Refs #183.
[stlaz]
- Added PERIOD value type to date types. Also fixes incompatibilities
described in #184. Refs #189. [stlaz]
- Fix testsuite for use with dateutil>=2.5. Refs #195. [untitaker]
- Reintroduce cal.Component.is_broken that was removed with 3.9.2. Refs #185.
[geier]
- update to version 3.9.2 (2016-02-05)
- Defined test_suite in setup.py. Now tests can be run via python setup.py
test. [geier]
- Fixed cal.Component.from_ical() representing an unknown component as one of
the known. [stlaz]
- Fixed possible IndexError exception during parsing of an ical string. [stlaz]
- When doing a boolean test on icalendar.cal.Component, always return True.
Before it was returning False due to CaselessDict, if it didn’t contain any
items. [stlaz]
- Fixed date-time being recognized as date or time during parsing. Added
better error handling to parsing from ical strings. [stlaz]
- Added __version__ attribute to init.py. [TomTry]
- Documentation fixes. [TomTry]
OBS-URL: https://build.opensuse.org/request/show/450348
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=40
76 lines
2.5 KiB
RPMSpec
76 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package python-icalendar
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
# Copyright (c) 7/2011 - now open-slx GmbH <Sascha.Manns@open-slx.de>
|
|
# Copyright (c) 2009 - 7/2011 Sascha Manns <saigkill@opensuse.org>
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
|
|
%define modname icalendar
|
|
Name: python-%{modname}
|
|
Version: 3.11.2
|
|
Release: 0
|
|
Summary: Python parser/generator of iCalendar files package
|
|
# please see https://github.com/collective/icalendar/issues/2 for re-licensing discussion
|
|
License: BSD-2-Clause
|
|
Group: Development/Languages/Python
|
|
Url: http://icalendar.readthedocs.org
|
|
Source0: https://pypi.python.org/packages/source/i/icalendar/%{modname}-%{version}.tar.gz
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: fdupes
|
|
BuildRequires: python-devel
|
|
BuildRequires: python-pytest
|
|
BuildRequires: python-python-dateutil
|
|
BuildRequires: python-pytz
|
|
BuildRequires: python-setuptools
|
|
Requires: python-python-dateutil
|
|
Requires: python-pytz
|
|
%{py_requires}
|
|
%if 0%{?suse_version} <= 1110
|
|
BuildRequires: python-ordereddict
|
|
Requires: python-ordereddict
|
|
BuildRequires: python-unittest2
|
|
%{!?python_sitelib: %global python_sitelib %(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.
|
|
|
|
%prep
|
|
%setup -q -n %{modname}-%{version}
|
|
|
|
%build
|
|
python setup.py build
|
|
|
|
%install
|
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
|
%fdupes -s %{buildroot}
|
|
|
|
%check
|
|
py.test src
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README.rst LICENSE.rst CHANGES.rst
|
|
%{python_sitelib}/%{modname}/
|
|
%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info/
|
|
|
|
%changelog
|