15
0

Accepting request 298726 from home:Nijel:branches:devel:languages:python

- Update to 3.9.0:
  - Creating timezone objects from VTIMEZONE components.
  - Make ``python-dateutil`` a dependency.
  - Made RRULE tolerant of trailing semicolons.
  - Documentation fixes.
- Use .tar.gz as Source
- Add missing dependency on pytz, dateutil
- Run testsuite in %check and adjust build requires

OBS-URL: https://build.opensuse.org/request/show/298726
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-icalendar?expand=0&rev=29
This commit is contained in:
Michal Čihař
2015-04-23 07:07:07 +00:00
committed by Git OBS Bridge
parent c014e8e56b
commit 582343ced7
4 changed files with 25 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7034e184ef3f9010f074410cea11b68fa93ef847f3fb185be41d6bd261c9cbb8
size 91925

3
icalendar-3.9.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93d0b94eab23d08f62962542309916a9681f16de3d5eca1c75497f30f1b07792
size 62627

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Apr 23 06:57:19 UTC 2015 - mcihar@suse.cz
- Update to 3.9.0:
- Creating timezone objects from VTIMEZONE components.
- Make ``python-dateutil`` a dependency.
- Made RRULE tolerant of trailing semicolons.
- Documentation fixes.
- Use .tar.gz as Source
- Add missing dependency on pytz, dateutil
- Run testsuite in %check and adjust build requires
-------------------------------------------------------------------
Wed Nov 5 10:14:04 UTC 2014 - seiler@b1-systems.de

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-icalendar
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 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>
#
@@ -20,20 +20,23 @@
%define modname icalendar
Name: python-%{modname}
Version: 3.8.4
Version: 3.9.0
Release: 0
Summary: Python parser/generator of iCalendar files package
License: BSD-2-Clause
Group: Development/Languages/Python
# please see https://github.com/collective/icalendar/issues/2 for re-licensing discussion
Url: http://icalendar.readthedocs.org
Source0: https://pypi.python.org/packages/source/i/icalendar/%{modname}-%{version}.zip
Source0: https://pypi.python.org/packages/source/i/icalendar/%{modname}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: python-dateutil
BuildRequires: python-devel
BuildRequires: python-pytest
BuildRequires: python-pytz
BuildRequires: python-setuptools
BuildRequires: unzip
Requires: python-dateutil
Requires: python-pytz
%{py_requires}
%if 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
@@ -57,6 +60,9 @@ python setup.py build
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