forked from pool/python-holidays
- Update to 0.20:
* Add localization support, #827 (@arkid15r, @bkthomps, @dragoon) * Introduce `HolidayBase::_is_leap_year()`, #886 (@arkid15r) * Introduce `HolidayBase::_is_monday` - `HolidayBase::_is_sunday` helper methods, #841 (@arkid15r) * Change holiday name separator from ", " to "; ", #922 (@arkid15r) * Fix Hong Kong, #928 (@KJhellico) * Fix Islamic holidays calculation, #914 (@KJhellico) * Fix Thailand related changes coverage decrease, #942 (@arkid15r, @PPsyrius) * Improve Thailand holidays, #929 (@PPsyrius, @arkid15r, @KJhellico) * Update Australia holidays: fix 2020 QLD holidays, #923 (@arkid15r) * Update Bolivia holidays, #910 (@KJhellico) * Update Bosnia and Herzegovina holidays, #909 (@KJhellico) * Update Jamaica holidays, #913 (@KJhellico) * Update PR template, #960 (@arkid15r) * Update Poland holidays, add uk localization, #947 (@KJhellico) * Add International Women's Day for DE-MV, #936 (@alexanderschulze) * Add Marshall Islands (ISO-3666-1 code MH), #937 (@mborsetti) * Add Northern Mariana Islands (ISO-3666-2 code US-MP), #939 (@mborsetti) * ISO 3166-1 for US subdivisions, #941 (@mborsetti, @dr-prodigy) * Add Albania initial support #895 (@arkid15r) * Add Andorra initial support #896 (@arkid15r) * Add Bahrain initial support #888 (@arkid15r) * Add Montenegro initial support #897 (@arkid15r) * Add San Marino initial support #898 (@arkid15r) * Add Vatican City initial support #904 (@arkid15r) * Add Monaco holidays #877 (@KJhellico) * Migrate prophet.hdays countries #887 (@arkid15r) * Singapore holidays update #880 (@KJhellico) * PyMeeus for equinox and solstice calculation #828, #863 (Nalguedo) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?expand=0&rev=26
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-holidays
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,17 +16,15 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-holidays
|
||||
Version: 0.16
|
||||
Version: 0.20
|
||||
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
|
||||
Source: https://github.com/dr-prodigy/python-holidays/archive/refs/tags/v.%{version}.tar.gz#/holidays-%{version}.tar.gz
|
||||
BuildRequires: %{python_module convertdate}
|
||||
BuildRequires: %{python_module hijri-converter}
|
||||
BuildRequires: %{python_module hijri-converter >= 2.2}
|
||||
BuildRequires: %{python_module korean-lunar-calendar}
|
||||
BuildRequires: %{python_module pytest}
|
||||
#BuildRequires: %%{python_module lag_baomer}
|
||||
@@ -36,7 +34,7 @@ BuildRequires: %{python_module testsuite}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-convertdate
|
||||
Requires: python-hijri-converter
|
||||
Requires: python-hijri-converter >= 2.2
|
||||
Requires: python-korean-lunar-calendar
|
||||
#Requires: python-lag_baomer
|
||||
Requires: python-python-dateutil
|
||||
@@ -48,7 +46,7 @@ A Python library for generating country, province and state specific sets of hol
|
||||
It makes determining whether a specific date is a holiday possible.
|
||||
|
||||
%prep
|
||||
%setup -q -n holidays-%{version}
|
||||
%setup -q -n python-holidays-v.%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
||||
Reference in New Issue
Block a user