From 81987556a55b9265b4f3c5f82941aea12db200b3529d85baffe3c64256381eb4 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Fri, 3 Mar 2023 06:57:45 +0000 Subject: [PATCH] - 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 --- holidays-0.16.tar.gz | 3 -- holidays-0.20.tar.gz | 3 ++ python-holidays.changes | 65 +++++++++++++++++++++++++++++++++++++++++ python-holidays.spec | 14 ++++----- 4 files changed, 74 insertions(+), 11 deletions(-) delete mode 100644 holidays-0.16.tar.gz create mode 100644 holidays-0.20.tar.gz diff --git a/holidays-0.16.tar.gz b/holidays-0.16.tar.gz deleted file mode 100644 index b23e179..0000000 --- a/holidays-0.16.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1d7f4fd6b1980298fbbb3316b0d57fa6f15b5313074cdacc12a3ab93bf3ca5cd -size 123527 diff --git a/holidays-0.20.tar.gz b/holidays-0.20.tar.gz new file mode 100644 index 0000000..cd77272 --- /dev/null +++ b/holidays-0.20.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8c5e4ef7c117aa57e0e91eb96cbc6d5b3376c5e5dcf5f4d3d744a0e05c8fbfeb +size 278862 diff --git a/python-holidays.changes b/python-holidays.changes index 2aee7d0..24fac37 100644 --- a/python-holidays.changes +++ b/python-holidays.changes @@ -1,3 +1,68 @@ +------------------------------------------------------------------- +Fri Mar 3 06:56:02 UTC 2023 - Steve Kowalik + +- 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) + * Easter holidays refactoring and unification #803 (KJhellico) + * Observed holidays calc optimizations #824 (KJhellico) + * Special holidays refactoring for 13 countries #796 (arkid15r, KJhellico) + * Support for Indonesia #787 (KJhellico) + * Support for Pakistan #847 (KJhellico) + * Support for Armenia #875 (KJhellico) + * Korea renamed to South Korea #797 (arkid15r) + * Azerbaijan: refactoring #859 (KJhellico) + * Hong Kong: optimizations #786 (KJhellico) + * Zambia: optimizations and refactoring #798 (KJhellico) + * Vietnam: optimizations and refactoring #799 (KJhellico) + * Malaysia: optimizations, refactoring and fixes #802, #858 (KJhellico) + * New Zealand: optimizations and refactoring #836 (KJhellico) + * Chile: optimizations #834 (KJhellico) + fixes #828 (Nalguedo) + * Uruguay updates #809 (KJhellico) + * Kazakhstan updates #829, #867 (KJhellico) + * Canada fixes #811 (jasonjensen) + * Nigeria updates #823 (KJhellico) + * NY Stock Exchange updates #817, #853 (SnowX65, KJHellico) + * New Zealand optimizazions #872 (KJhellico) + * Madagascar updates #818 (KJhellico) + * Paraguay updates #819 (KJhellico) + * United Kingdom updates #840 (KJhellico) + * South Africa: optimizations and updates #820, #848 (KJhellico) + * US updates #857 (KJhellico) + * Switzerland: optimizations, fix #821 (KJhellico) + * Angola: optimizations, fix #822, #835 (KJhellico) + * India updates #825 (KJhellico) + * NY Stock Exchange updates #833 (SnowX65, KJhellico) + * Hungary fixes #826 (KJhellico) +- Switch to GitHub source so the testsuite is included. + ------------------------------------------------------------------- Tue Oct 11 09:51:34 UTC 2022 - pgajdos@suse.com diff --git a/python-holidays.spec b/python-holidays.spec index a952064..4d53da6 100644 --- a/python-holidays.spec +++ b/python-holidays.spec @@ -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