15
0
Files
python-holidays/python-holidays.spec

69 lines
2.2 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-holidays
#
Accepting request 1006799 from home:yarunachalam:branches:devel:languages:python - Update Version 0.16 Released September 16, 2022 This release is dedicated to Queen Elizabeth II (21 April 1926 – 8 September 2022), who lived her long life as a monarch through 2 centuries, in both happy and difficult moments, with grace, dignity and an always inspiring strong sense of duty and warm heart. Goodbye "Lilibet", you have symbolically been a queen, a mother and a grandmother to a lot of us, and will be dearly missed. - Financial market support review, new method financial_holidays(..) #694 (dr-p) - Support for Moldova #695 (Thedand) - Support for Bolivia #679, #698 (kasya) - UK updates #702 (JPunter, violuke) - Australia updates #699 (Ryan-McCrory, dr-p) - Canada updates #710 (bkthomps) - New Zealand updates #708, #709 (dr-p, markhoneth) - NYSE updates #693, #696 (kasya) - Update Version 0.15 Released August 21, 2022 - Added support for Python3.11 (dr-p) - Updated README - improved badges area (dr-p) - Support for Cuba #678 (bthompson, dr-p) - Typechecking implementation, first release (HolidayBase, utils, some sample countries) #661 (dimbleby) - Test coverage improvement #633 (akosfurton, dr-p) - Drop support for UK subdivisions as countries (England, Scotland..) (dr-p) - Drop support for IsleOfMan as UK subdivision (dr-p) - Drop support for PortugalExt (ie: extended Portugal) (dr-p) - US fixes #675 (arkid15r) - Colombia fixes & test improvements #676 (bkthomps) - Venezuela fixes & test improvements #677 (bkthomps) - Canada fixes #579 (dr-p, scubaandre) - Ukraine refactoring #681 (kasya) OBS-URL: https://build.opensuse.org/request/show/1006799 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?expand=0&rev=22
2022-09-29 09:25:12 +00:00
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-holidays
Version: 0.16
Release: 0
Summary: Python library for generating holidays on the fly
License: MIT
Group: Development/Languages/Python
URL: https://github.com/dr-prodigy/python-holidays
Source: https://files.pythonhosted.org/packages/source/h/holidays/holidays-%{version}.tar.gz
BuildRequires: %{python_module convertdate}
2021-02-08 15:24:17 +00:00
BuildRequires: %{python_module hijri-converter}
BuildRequires: %{python_module korean-lunar-calendar}
BuildRequires: %{python_module pytest}
#BuildRequires: %%{python_module lag_baomer}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testsuite}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-convertdate
2021-02-08 15:24:17 +00:00
Requires: python-hijri-converter
Requires: python-korean-lunar-calendar
2021-02-08 15:24:17 +00:00
#Requires: python-lag_baomer
Requires: python-python-dateutil
BuildArch: noarch
%python_subpackages
%description
A Python library for generating country, province and state specific sets of holidays on the fly.
It makes determining whether a specific date is a holiday possible.
%prep
%setup -q -n holidays-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%license LICENSE
%doc CHANGES README.rst
%{python_sitelib}/*
%changelog