2019-03-12 09:07:33 +00:00
|
|
|
#
|
2019-03-15 13:20:55 +00:00
|
|
|
# spec file for package python-holidays
|
2019-03-12 09:07:33 +00:00
|
|
|
#
|
- 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
2023-03-03 06:57:45 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2019-03-12 09:07:33 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2019-03-15 13:20:55 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2019-03-12 09:07:33 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: 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
2023-03-03 06:57:45 +00:00
|
|
|
Version: 0.20
|
2019-03-12 09:07:33 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Python library for generating holidays on the fly
|
|
|
|
|
License: MIT
|
2019-03-15 13:20:55 +00:00
|
|
|
URL: https://github.com/dr-prodigy/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
2023-03-03 06:57:45 +00:00
|
|
|
Source: https://github.com/dr-prodigy/python-holidays/archive/refs/tags/v.%{version}.tar.gz#/holidays-%{version}.tar.gz
|
2020-04-09 10:38:23 +00:00
|
|
|
BuildRequires: %{python_module convertdate}
|
- 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
2023-03-03 06:57:45 +00:00
|
|
|
BuildRequires: %{python_module hijri-converter >= 2.2}
|
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
|
|
|
BuildRequires: %{python_module korean-lunar-calendar}
|
2021-05-03 13:21:57 +00:00
|
|
|
BuildRequires: %{python_module pytest}
|
|
|
|
|
#BuildRequires: %%{python_module lag_baomer}
|
2019-03-15 13:20:55 +00:00
|
|
|
BuildRequires: %{python_module python-dateutil}
|
2019-03-12 09:07:33 +00:00
|
|
|
BuildRequires: %{python_module setuptools}
|
2021-05-03 13:18:24 +00:00
|
|
|
BuildRequires: %{python_module testsuite}
|
2019-03-12 09:07:33 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
|
BuildRequires: python-rpm-macros
|
2020-04-09 10:38:23 +00:00
|
|
|
Requires: python-convertdate
|
- 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
2023-03-03 06:57:45 +00:00
|
|
|
Requires: python-hijri-converter >= 2.2
|
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
|
|
|
Requires: python-korean-lunar-calendar
|
Accepting request 870207 from system:homeautomation:home-assistant
- update to version 0.10.5.2
* Dropped support for Python 2 (dr-p)
* Removed convertdate<=2.2.0 constraint (dr-p)
* Travis CI integration review (dr-p)
* Support for Mozambique (jusce17)
* Angola fixes (jusce17)
* Portugal localized holidays (jusce17)
* Disable year expansion on name search #411 (giladmaya)
* Israel fixes (new convertdate version) #407 (giladmaya)
* Ireland fixes (ISO-2 code, partial split from UK) #417 (javicalle)
* Honduras fix (ISO-2 code) #405 (dr-p, agorajek)
- had to disable lag-boamer support due lack of official resource for it
via disable-lag-baomer.patch
- update to version 0.10.4
* Dropped support for Python 3.5
* Support for Djibouti (Abdisamade)
* Support for United Arab Emirates (marcomasulli, mborsetti)
* Support for Chile (mborsetti, dr-p)
* Support for Angola (jusce17, pietervdw115, dr-p)
* Support for Malawi (pietervdw115)
* Support for Bangladesh (dr-p, tasnimislam)
* Korea fixes (MYUNGJE, dr-p, hiddentrap)
* Australia 2020 fix (bencollerson, trauty-is-me)
* Croatia fixes and updates (jangrg, mborsetti, dr-p)
* United States fixes (raffg, bgmiles, dr-p)
* UK fixes/improvements (dr-p, richard-kunert, emreay-)
* Russia fixes (tserekh)
* Ireland fixes (chiuczek)
* Spain observed holidays fix (sermayoral)
OBS-URL: https://build.opensuse.org/request/show/870207
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-holidays?expand=0&rev=16
2021-02-08 15:24:17 +00:00
|
|
|
#Requires: python-lag_baomer
|
2019-03-15 13:20:55 +00:00
|
|
|
Requires: python-python-dateutil
|
2019-03-12 09:07:33 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
%python_subpackages
|
|
|
|
|
|
|
|
|
|
%description
|
2019-03-17 15:31:46 +00:00
|
|
|
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.
|
2019-03-12 09:07:33 +00:00
|
|
|
|
|
|
|
|
%prep
|
- 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
2023-03-03 06:57:45 +00:00
|
|
|
%setup -q -n python-holidays-v.%{version}
|
2019-03-12 09:07:33 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%python_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%python_install
|
2019-03-15 13:20:55 +00:00
|
|
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
|
|
|
|
|
|
|
|
|
%check
|
2021-05-03 13:21:57 +00:00
|
|
|
%pytest
|
2019-03-12 09:07:33 +00:00
|
|
|
|
|
|
|
|
%files %{python_files}
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc CHANGES README.rst
|
|
|
|
|
%{python_sitelib}/*
|
|
|
|
|
|
|
|
|
|
%changelog
|