15
0
Files
python-holidays/python-holidays.spec
Matej Cepl 1fd5fcbbff Accepting request 822929 from system:homeautomation:home-assistant:unstable
- Update to version 0.10.3
Released July 15, 2020
- Added get_named(substring) method to retrieve holidays by name (dr-p)
- Added pop_named(substring) method to pop specific holiday/s by name (samtregar, dr-p)
- Support for Burundi (bmwachajr)
- Support for Latvia (rolandinsh)
- Support for Romania (dorianm)
- Spain fix (dr-p)
- Netherlands fix (RooieRakkert)
- Switzerland fixes (cgrigis)
- Germany fix (MikeTsenatek)
- Added korean_cal attribute to Korea and Vietnam (seriousran, pelennor)
- United States fixes (patrick-nicholson, dr-p)
- Singapore fixes + 2021 holidays (mborsetti)
Version 0.10.2
==============
Released April 13, 2020
- Support for Spain (piliamaurizio, jbroudou, dr-p, gerardo15)
- Support for Turkey (cemkaragozlu)
- Support for Korea (1kko, dr-p)
- Support for Vietnam (1kko, dr-p)
- Support for Morocco (abensrhir, dr-p)
- Mexico fix (Rosi2143, dr-p)
- Croatia fix (sebojanko, dr-p)
- US Georgia fix (jbroudou, dr-p)
- Austria province ISO3166-2 adoption (jbroudou, dr-p)
- Portugal typos & name fixes (reinaldoramosarxi)
- US MLK renamed (snoopyjc, dr-p)
- ISO-3 codes export fix (dr-p)

OBS-URL: https://build.opensuse.org/request/show/822929
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?expand=0&rev=14
2020-07-29 10:47:07 +00:00

67 lines
2.1 KiB
RPMSpec

#
# spec file for package python-holidays
#
# Copyright (c) 2020 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.10.3
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}
BuildRequires: %{python_module korean-lunar-calendar}
#BuildRequires: %{python_module hijri-converter}
BuildRequires: %{python_module python-dateutil}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-convertdate
Requires: python-korean-lunar-calendar
#Requires: python-hijri-converter
Requires: python-python-dateutil
Requires: python-six
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
%python_expand $python -m unittest discover
%files %{python_files}
%license LICENSE
%doc CHANGES README.rst
%{python_sitelib}/*
%changelog