Name: python-icalendar Version: 4.0.9 Release: 5%{?dist} Summary: Parser/generator of iCalendar files following the RFC 2445 License: BSD URL: http://pypi.python.org/pypi/icalendar Source0: https://github.com/collective/icalendar/archive/%{version}.tar.gz Patch0: 330.patch BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pytz BuildRequires: python3-dateutil BuildRequires: python3-hypothesis BuildRequires: python3-pytest %global _description\ iCalendar specification (RFC 2445) defines calendaring format used\ by many applications (Zimbra, Thunderbird and others). This\ module is a parser/generator of iCalendar files for use with\ Python. It follows the RFC 2445 (iCalendar) specification.\ The aim is to make a package that is fully compliant with RFC 2445,\ well designed, simple to use and well documented.\ %description %_description %package -n python3-icalendar Summary: Parser/generator of iCalendar files following the RFC 2445 for Python 3 Requires: python3-pytz Requires: python3-dateutil %description -n python3-icalendar Setuptools is a collection of enhancements to the Python 3 distutils that allow you to more easily build and distribute Python 3 packages, especially ones that have dependencies on other packages. This package contains the runtime components of setuptools, necessary to execute the software that requires pkg_resources.py. %prep %setup -q -n icalendar-%{version}%{?veradd} %patch0 -p1 # we have only 2.7 and 3.3 sed -i 's/py26,//' tox.ini rm -rf %{py3dir} cp -a . %{py3dir} %build pushd %{py3dir} %{__python3} setup.py build popd %install pushd %{py3dir} %{__python3} setup.py install --skip-build --root $RPM_BUILD_ROOT popd %check pushd %{py3dir} %{__python3} -m pytest src/icalendar/tests popd %files -n python3-icalendar %doc README.rst CHANGES.rst LICENSE.rst %{python3_sitelib}/icalendar %{python3_sitelib}/*.egg-info %{_bindir}/icalendar %changelog * Fri Jul 22 2022 Fedora Release Engineering - 4.0.9-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 4.0.9-4 - Rebuilt for Python 3.11 * Wed Jan 26 2022 Gwyn Ciesla - 4.0.9-3 - Patch for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 4.0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Oct 18 2021 Gwyn Ciesla - 4.0.9-1 - 4.0.9 * Fri Oct 08 2021 Gwyn Ciesla - 4.0.8-1 - 4.0.8 * Fri Jul 23 2021 Fedora Release Engineering - 4.0.7-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 4.0.7-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 4.0.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Sep 08 2020 Gwyn Ciesla - 4.0.7-1 - 4.0.7 * Wed Jul 29 2020 Fedora Release Engineering - 4.0.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 4.0.6-2 - Rebuilt for Python 3.9 * Thu May 07 2020 Gwyn Ciesla - 4.0.6-1 - 4.0.6 * Sat Mar 21 2020 Gwyn Ciesla - 4.0.5-1 - 4.0.5 * Thu Jan 30 2020 Fedora Release Engineering - 4.0.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Mon Nov 25 2019 Gwyn Ciesla - 4.0.4-1 - 4.0.4 * Thu Oct 03 2019 Miro Hrončok - 4.0.3-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 4.0.3-5 - Rebuilt for Python 3.8 * Tue Aug 13 2019 Gwyn Ciesla - 4.0.3-4 - Drop Python 2. * Fri Jul 26 2019 Fedora Release Engineering - 4.0.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Wed Mar 06 2019 Yatin Karel - 4.0.3-2 - Drop unnecessary BR on python-pip - Enable python3 build on RHEL > 7 - Include icalendar binary in py2 package when py3 disabled * Thu Jan 31 2019 Gwyn Ciesla 4.0.3-1 - 4.0.3 * Wed Jul 25 2018 Gwyn Ciesla - 3.11.5-9 - Fix FTBFS. * Sat Jul 14 2018 Fedora Release Engineering - 3.11.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Jun 19 2018 Miro Hrončok - 3.11.5-7 - Rebuilt for Python 3.7 * Mon May 07 2018 Miro Hrončok - 3.11.5-6 - Drop tox dependency, use pytest directly - Use python2 instead of python * Fri Feb 09 2018 Fedora Release Engineering - 3.11.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 25 2018 Iryna Shcherbina - 3.11.5-4 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 3.11.5-3 - Python 2 binary package renamed to python2-icalendar See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Jul 27 2017 Fedora Release Engineering - 3.11.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Jul 17 2017 Haïkel Guémar - 3.11.5-1 - Upstream 3.11.5 (multiple bugfixes) * Sat Feb 11 2017 Fedora Release Engineering - 3.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 3.11-2 - Rebuild for Python 3.6 * Fri Dec 09 2016 Jon Ciesla - 3.11-1 - 3.11 * Tue Jul 19 2016 Fedora Release Engineering - 3.9.0-5 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Thu Feb 04 2016 Fedora Release Engineering - 3.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 3.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Thu Jun 18 2015 Fedora Release Engineering - 3.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Mar 28 2015 Jon Ciesla - 3.9.0-1 - Latest upstream, BZ 1206758. * Tue Jan 20 2015 Jon Ciesla - 3.8.4-1 - Latest upstream. * Sat Jun 07 2014 Fedora Release Engineering - 3.6.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Wed May 14 2014 Bohuslav Kabrda - 3.6.2-2 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Thu Apr 24 2014 Jon Ciesla - 3.6.2-1 - Latest upstream. * Tue Jan 07 2014 Stanislav Ochotnicky - 3.6.1-1 - Update to latest upstream - Add python3 subpackage * Sun Aug 04 2013 Fedora Release Engineering - 3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu May 30 2013 Stanislav Ochotnicky - 3.4-2 - Install LICENSE file as well * Thu May 30 2013 Stanislav Ochotnicky - 3.4-1 - Update to latest upstream version (#824323) * Thu Feb 14 2013 Fedora Release Engineering - 3.0.1-0.3.b2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Sat Jul 21 2012 Fedora Release Engineering - 3.0.1-0.2.b2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Wed May 30 2012 Stanislav Ochotnicky - 3.0.1-0.1.b2 - Update to 3.0b2 - Change license to BSD (see https://github.com/collective/icalendar/issues/2) * Sat Jan 14 2012 Fedora Release Engineering - 2.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Feb 08 2011 Fedora Release Engineering - 2.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Thu Aug 5 2010 Stanislav Ochotnicky - 2.1-3 - Install examples - Fix tests for Python 2.7 and run them - Add GPLv2 for parser.py to licenses * Wed Aug 4 2010 Stanislav Ochotnicky - 2.1-2 - State correct licenses * Tue Aug 3 2010 Stanislav Ochotnicky - 2.1-1 - Initial package version